PDA

View Full Version : Undefined Offset in phpdig_functions.php


clobdell
12-17-2004, 01:41 PM
When retrieving a page that references the phpdig_functions.php in version 1.8.3, whether I'm performing a search or simply retrieving that page, my webserver logs note that there's an Undefined Offset error on lines 200 and 2001. The exact error messages are as follows:

[Fri Dec 17 16:37:03 2004] [error] PHP Notice: Undefined offset: 1 in /usr/home/user/htdocs/phpdig/libs/phpdig_functions.php on line 200
[Fri Dec 17 16:37:03 2004] [error] PHP Notice: Undefined offset: 1 in /usr/home/user/htdocs/phpdig/libs/phpdig_functions.php on line 201

While these errors do not prevent the search from executing properly, they're kind of annoying since they're clogging up my log files. I've spent several hours trying to correct the offset but each time I make a modification, I inadvertantly break sometihng.

Did I perhaps misconfiguration something in the configuration files? Any help would be greatly appreciated.
Thanks,
Chris

Charter
12-17-2004, 04:02 PM
http://www.phpdig.net/forum/showthread.php?t=1381

BUT, you need to upgrade or face possible exploit!

clobdell
12-17-2004, 10:47 PM
Thanks for your help. That resolved the issue!