Saved Searches

MarkMark Vanilla Staff
edited March 2007 in Vanilla 1.0 Help
Saved Searches

Comments

  • 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.
  • Bump for Marks sake incase he missed this...seems like a valid point?
  • 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
  • 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.