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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

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: Thu Mar 28 16:01:29 2024 UTC