PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

getting error - 'Notice: Undefined variable'

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

  • Ray
    replied
    This is a different bug to the previous one. It'll be fixed for the next build (V6.0 build 1010).

    E_NOTICES is generally disabled on most PHP installations (as noted in PHP documentation, it does not always point out errors, and can sometimes be triggered by intentional code). Nonetheless, we've enabled this on our test machine so hopefully we'll catch more of these notices in the future, so we can prevent them.

    Leave a comment:


  • cscotech
    started a topic getting error - 'Notice: Undefined variable'

    getting error - 'Notice: Undefined variable'

    i thought i read in a previous thread that this was fixed in 1008 (i have 1009 installed).

    i can generate the following error when searching:

    Notice: Undefined variable: Highlighting in C:\wamp\www\search.php on line 788

    Notice: Undefined variable: UseWildCards in C:\wamp\www\search.php on line 788

    if i search for "eyes in field" i get the above error. if i search for "eyes field" i get no error. if i search for "eyes in the field" i get the above lines twice.

    line 788 in search.php reads:

    " if ($Highlighting == 1 || $UseWildCards[$sw] == 1)"

    what am i missing?
Working...
X