Home » Forum
  • If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

Undefined Variable STR_RECOMMENDED

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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, 11:45 PM.

  • #2
    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?

    Comment


    • #3
      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.

      Comment


      • #4
        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.

        Comment


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

          Comment


          • #6
            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

            Comment

            Working...
            X