#21674 [Opn->Fbk]: Warning: main(lang.php) [function.main]: failed to create stream: No such file
From: wez@php.net Date: Wed, 22 Jan 2003 11:00:56 +0000 Subject: #21674 [Opn->Fbk]: Warning: main(lang.php) [function.main]: failed to create stream: No such file References: 1 Groups: php.bugs Request: Send a blank email to php-bugs+get-30912@lists.php.net to get a copy of this message
ID: 21674
Updated by: wez@php.net
Reported By: moderator@blackpeeps.com
-Status: Open
+Status: Feedback
Bug Type: *URL Functions
Operating System: Cobalt RAQ4 Apache/Linux
PHP Version: 4.3.0
New Comment:
Just to be extra sure:
in config.php, do lines 97 and 98 look like this:
var_dump(ini_get('include_path'));
include ('extras.php');
If not, please make sure they do and report back.
If they do, then something really strange is going on.
Previous Comments:
------------------------------------------------------------------------
[2003-01-21 22:52:29] moderator@blackpeeps.com
Hello PHP.NET:
So is this bug a stream related 4.3.0 bug or not?
------------------------------------------------------------------------
[2003-01-18 02:31:51] remi.collet@univ-reims.fr
Did you try ? :
chown o+r / /home /home/sites \
/home/sites/site2 \
/home/sites/site2/web \
/home/sites/site2/web/IV
Up to 4.2.3 "x" permission is need on ALL directories to the include.
Since 4.3.0 "rx" permissions are required.
Don't know why.
Cordialy.
------------------------------------------------------------------------
[2003-01-17 15:59:32] moderator@blackpeeps.com
You did not ask me to place above line that include fails. You asked me
to place above require_once in the config.php file. That I can confirm.
------------------------------------------------------------------------
[2003-01-17 14:23:11] wez@php.net
and can you confirm that the var_dump(ini_get('include_path')) is on
the line immediately above the include that fails?
I'm asking because the line numbers in the report don't seem to have
changed, and I would have expected them to at least have increased by
1.
------------------------------------------------------------------------
[2003-01-17 14:11:08] moderator@blackpeeps.com
OK. At your request, here are my results.
string(14) ".:/usr/lib/php" string(14) ".:/usr/lib/php"
Warning: main(lang.php) [function.main]: failed to create stream: No
such file or directory in /home/sites/site2/web/IV/config.php on line
97
Warning: main() [function.main]: Failed opening 'lang.php' for
inclusion (include_path='') in /home/sites/site2/web/IV/config.php on
line 97
Warning: main(extras.php) [function.main]: failed to create stream: No
such file or directory in /home/sites/site2/web/IV/config.php on line
98
Warning: main() [function.main]: Failed opening 'extras.php' for
inclusion (include_path='') in /home/sites/site2/web/IV/config.php on
line 98
Hello - Testing PHP 4.3.0 bug# 21674// End - Copy and Save this code as
phpbug21674.php
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/21674
--
Edit this bug report at http://bugs.php.net/?id=21674&edit=1
Thread (35 messages)
- #21674 [Opn->Fbk]: Warning: main(lang.php) [function.main]: failed to create stream: No such file
- #21674 [Fbk]: Warning: main(lang.php) [function.main]: failed to create stream: No such file
- #21674 [Fbk]: Warning: main(lang.php) [function.main]: failed to create stream: No such file
- #21674 [Fbk->Opn]: Warning: main(lang.php) [function.main]: failed to create stream: No such file
- #21674 [Opn]: Warning: main(lang.php) [function.main]: failed to create stream: No such file
- #21674 [Opn]: Warning: main(lang.php) [function.main]: failed to create stream: No such file
- #21674 [Opn->Bgs]: Warning: main(lang.php) [function.main]: failed to create stream: No such file
- #21674 [Bgs]: Warning: main(lang.php) [function.main]: failed to create stream: No such file
- #21674 [Bgs->Fbk]: Warning: main(lang.php) [function.main]: failed to create stream: No such file
- #21674 [Fbk->Opn]: Warning: main(lang.php) [function.main]: failed to create stream: No such file
- #21674 [Opn->Fbk]: Warning: main(lang.php) [function.main]: failed to create stream: No such file
- #21674 [Fbk->Opn]: Warning: main(lang.php) [function.main]: failed to create stream: No such file
- #21674 [Opn]: Warning: main(lang.php) [function.main]: failed to create stream: No such file
- #21674 [Opn]: Warning: main(lang.php) [function.main]: failed to create stream: No such file
- #21674 [Opn]: Warning: main(lang.php) [function.main]: failed to create stream: No such file
- #21674 [Opn->Fbk]: Warning: main(lang.php) [function.main]: failed to create stream: No such file
- #21674 [Fbk->Opn]: Warning: main(lang.php) [function.main]: failed to create stream: No such file
- #21674 [Opn->Fbk]: Warning: main(lang.php) [function.main]: failed to create stream: No such file
- #21674 [Fbk->Opn]: Warning: main(lang.php) [function.main]: failed to create stream: No such file
- #21674 [Opn]: Warning: main(lang.php) [function.main]: failed to create stream: No such file
- #21674 [Opn->Fbk]: Warning: main(lang.php) [function.main]: failed to create stream: No such file
- #21674 [Fbk->Opn]: Warning: main(lang.php) [function.main]: failed to create stream: No such file
- #21674 [Com]: Warning: main(lang.php) [function.main]: failed to create stream: No such file
- #21674 [Opn]: Warning: main(lang.php) [function.main]: failed to create stream: No such file
- #21674 [Opn->Fbk]: Warning: main(lang.php) [function.main]: failed to create stream: No such file
- #21674 [Fbk->Opn]: Warning: main(lang.php) [function.main]: failed to create stream: No such file
- #21674 [Opn->Fbk]: Warning: main(lang.php) [function.main]: failed to create stream: No such file
- #21674 [Fbk->NoF]: Warning: main(lang.php) [function.main]: failed to create stream: No such file
- #21674 [Com]: Warning: main(lang.php) [function.main]: failed to create stream: No such file
- #21674 [Com]: Warning: main(lang.php) [function.main]: failed to create stream: No such file
- #21674 [Com]: Warning: main(lang.php) [function.main]: failed to create stream: No such file
- #21674 [Com]: Warning: main(lang.php) [function.main]: failed to create stream: No such file
- #21674 [NoF->Csd]: Warning: main(lang.php) [function.main]: failed to create stream: No such file
- #21674 [Com]: Warning: main(lang.php) [function.main]: failed to create stream: No such file
| « previous | php.bugs (#30912) | next » |
|---|