PDA

View Full Version : offset errors from function phpdigCreateSubstArrays in phpdig_functions.php


oblio
08-30-2004, 11:51 AM
When loading http://hostname/search.php for the first time, this is the result:

----
Notice: Undefined offset: 1 in /webroot/phpdig-1.8.3/libs/phpdig_functions.php on line 200

Notice: Undefined offset: 1 in /webroot/phpdig-1.8.3/libs/phpdig_functions.php on line 201

Choose a template : phpdig.html black.html simple.html green.html grey.html yellow.html bluegrey.html terminal.html linear.html lightgreen.html newspaper.html corporate.html gaagle.html
PhpDig 1.8.3
Search
display results
and operator exact phrase or operator
Select a site to search: Restart
Please fill the search form field.

Powered by PhpDig
Powered by PhpDig
----

This is the function the error is occuring in function function phpdigCreateSubstArrays($subststrings) {^M

Any suggestions for getting rid of this error would be appreciated. Thanks!

Charter
09-27-2004, 09:07 PM
Find $phpdig_string_subst['iso-8859-7'] = 'á:Á¶Ü,â:Â,ã:Ã,ä:Ä,å:ŸÝ,æ:Æ,,ç:Þǹ,è:è,é:ßúɺ, :Ê,ë:Ë,ì:Ì,*:Í,î:Î,ï:ü¼Ï,ð:Ð,ñ:Ñ,ó:Óò,ô:Ô,õ:ýûÕ ,ö:Ö,÷:×,ø:Ø,ù:þÙ¿'; in the config file, and remove the duplicate comma.