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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: toni dot viemero at iki dot fi
New email:
PHP Version: OS:

 

 [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

Pull Requests

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: Sun Dec 22 01:01:30 2024 UTC