Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

Categories

In this Discussion

Who's Online 10

CurtisOdenericgillette +8 guests

Saved Searches

This discussion is related to the Saved Searches addon.
Saved Searches

Comments

  • Posts: 1,880
    Line 55:if (!AppendToConfigurationFile($Configuration['APPLICATION_PATH'].'conf/database.php', $Structure)) $Errors = 1; should be replace withif (!AppendToConfigurationFile($Configuration['DATABASE_PATH'], $Structure)) $Errors = 1;

    Or the extension won't be able to save its settings if the conf/database.php have been moved.
  • Posts: 5,574
    Bump for Marks sake incase he missed this...seems like a valid point?
  • Posts: 177
    Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/xxx/public_html/extensions/SavedSearches/default.php on line 33

    Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/xxx/public_html/extensions/SavedSearches/default.php on line 43
  • Posts: 2
    hi, I make a little fix to that ext

    add
    $DatabasePrefix = $Context->Configuration['DATABASE_TABLE_PREFIX'];
    somewhere in the beginning of default.php

    and replace
    $UserSearchDrop = "drop table if exists `LUM_UserSearch`";to
    $UserSearchDrop = "drop table if exists `".$DatabasePrefix."UserSearch`";and
    $UserSearchCreate = "CREATE TABLE `LUM_UserSearch` (to
    $UserSearchCreate = "CREATE TABLE `".$DatabasePrefix."UserSearch` (
    is only for the forum with diferent prefix

    sorry for my english
This discussion has been closed.