Results 1 to 6 of 6

Thread: Undefined Variable STR_RECOMMENDED

  1. #1
    Join Date
    Jan 2009
    Posts
    8

    Default Undefined Variable STR_RECOMMENDED

    My search results is displaying this message on pages with Recommended Links:

    Notice: Undefined variable: STR_RECOMMENDED in C:\Inetpub\wwwroot\search\search.php on line 1106
    Display_errors is turned on in my php.ini for troubleshooting.

    STR_RECOMMENDED is present in the English data file.

    The recommended links themselves are appearing correctly; however, the tag line "Recommended Links" is not being displayed in the recommend block as shown in the zoom manual.
    Last edited by sfgolfer; 01-21-2009 at 11:45 PM.

  2. #2
    Join Date
    Dec 2004
    Location
    Sydney
    Posts
    4,313

    Default

    Have you manually edited the search.php file or the settings.php file or any of the Zoom language files?
    What language selection have you made in the Zoom configuration window?

  3. #3
    Join Date
    Jan 2009
    Posts
    8

    Default

    I am starting from a clean install with no manual editing of any file. I am using zoom on a firm intranet using http://servername as the url.

    I could not find a recommended link on your file to see how your install works.

  4. #4
    Join Date
    Dec 2004
    Location
    Sydney
    Posts
    4,313

    Default

    This variable should be in the settings.php file. Here is an extract from the file.

    $STR_DIDYOUMEAN = "Did you mean:";
    $STR_OR = "or";
    $STR_RECOMMENDED = "Recommended links";
    $STR_SORTEDBY_RELEVANCE = "Sorted by relevance";
    $STR_SORTBY_RELEVANCE = "Sort by relevance";

    Can you check the content of the file on your system. But don't manually edit the file or add to the file.

  5. #5
    Join Date
    Jan 2009
    Posts
    8

    Default

    Yes, the variable exists in both settings.php and English.zlang.

  6. #6
    Join Date
    Dec 2004
    Location
    Sydney, Australia
    Posts
    3,845

    Default

    We have confirmed that this is a bug in the current release. It will be fixed for the next release (V6.0 build 100. Thanks for bringing it to our attention.
    --Ray
    Wrensoft Web Software
    Sydney, Australia
    Zoom Search Engine

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •