php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12940 php.net "default language"
Submitted: 2001-08-24 03:28 UTC Modified: 2001-08-24 13:29 UTC
From: toni dot viemero at iki dot fi Assigned:
Status: Closed Package: Website problem
PHP Version: 4.0.6 OS: Windows 2000
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
38 - 38 = ?
Subscribe to this entry?

 
 [2001-08-24 03:28 UTC] toni dot viemero at iki dot 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 :)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-08-24 13:29 UTC] jimw@php.net
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.)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 18:01:34 2024 UTC