PDA

View Full Version : Web Server Error Log


msbc
22nd of September 2004 (Wed), 02:50
I just checked my servers Error Log and noticed LOTS of these messages:
[Wed Sep 22 03:46:05 2004] [error] PHP Notice: Undefined index: photos_in_total_plural in /home/mconnell/public_html/gallery/fetchsettings.php on line 1992
[Wed Sep 22 03:46:05 2004] [error] PHP Notice: Undefined index: photos_in_total_single in /home/mconnell/public_html/gallery/fetchsettings.php on line 1991

Repeated, hundreds of times.

Pekka
22nd of September 2004 (Wed), 03:45
Check that /languages/xxx/index.php contains lines

$translated["photos_in_total_single"] = "photo";
$translated["photos_in_total_plural"] = "photos";

("xxx" = language code e.g. "eng")

msbc
22nd of September 2004 (Wed), 04:01
Hi Pekka,

Yes, index.php does have those lines (pasted here):
$translated["photos_in_total_single"] = "photo";
$translated["photos_in_total_plural"] = "photos";

wkitty42
22nd of September 2004 (Wed), 18:41
Check that /languages/xxx/index.php contains lines

close reading will show that "xxx" in the above means to check this for every language in languages directory... just in case you only looked at one ;)

Pekka
23rd of September 2004 (Thu), 06:51
I have fixed few language bugs for 1.5 final, and I checked it does not make any such errors any more (RC4 did this with list.php). Those errors are only notices which mean they are not "real errors" so no worries.