Bug #12940 Updated: php.net "default language"
| From: | jimw@php.net | Date: | Fri, 24 Aug 2001 17:29:14 +0000 |
| Subject: | Bug #12940 Updated: php.net "default language" | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-6128@lists.php.net to get a copy of this message | ||
ID: 12940
Updated by: jimw
Reported By: toni.viemero@iki.fi
Old Status: Open
Status: Closed
Bug Type: Website problem
Operating System: Windows 2000
PHP Version: 4.0.6
New Comment:
well, that's exactly what the test on line 25 was trying to fix. i put an @-sign in front of
is_dir so no warning will be output and prevent the right thing from happening. (i'm little
confused as to why is_dir() outputs a warning message, but c'est la vie.)
Previous Comments:
------------------------------------------------------------------------
[2001-08-24 03:28:09] toni.viemero@iki.fi
Shouldn't the php.net website roll back into /manual/en in case the defined language manual for
the mirror doesn't exists?
This is what I'm getting for fi.php.net, which has "fi" as default language defined
somewhere on phpweb mirror-configurations.
Using http://fi.php.net/foo as URL.
Warning: stat failed for /z/home/toni/www/fi.php.net/manual/fi (errno=2 - No such file or directory)
in /z/home/toni/www/fi.php.net/error/index.php on line 25
Warning: Cannot add header information - headers already sent by (output started at
/z/home/toni/www/fi.php.net/error/index.php:25) in /z/home/toni/www/fi.php.net/error/index.php on
line 87
Warning: Cannot add header information - headers already sent by (output started at
/z/home/toni/www/fi.php.net/error/index.php:25) in /z/home/toni/www/fi.php.net/error/index.php on
line 88
Pardon my english :)
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=12940&edit=1