SourceForge has been redesigned. Learn more.

error on searchlog

  • Chris

    Chris - 2013-01-12

    When I submit a search in PHPGedView, this error shows:
    ERROR 8: Undefined variable: SEARCHLOG_CREATE
    0 Error occurred on line 360 of file authentication.php in function AddToSearchLog
    1 called from line 396 of file search_ctrl.php in function GeneralSearch
    and more lines like that.

    What can cause this error?
    - can it be an unwritable file?
    - where is the log stored anyway?
    - can I just turn of the logging of searches?

    thank you,
              Chris Stegeman

  • Gerry Kroll

    Gerry Kroll - 2013-01-13

    Line 344 and 345 of "includes/authentication.php" should be this:

    function AddToSearchLog($LogString, $allgeds) {
        global $INDEX_DIRECTORY;

    Change line 345 to:


    My copy of authentication.php is different, so I'm basing the line numbers on where the error occurred. 

    Please let me know whether this fixes your problem.


Log in to post a comment.