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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
Line 344 and 345 of "includes/authentication.php" should be this:
Change line 345 to:
Note:
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.