Re: Bug #813: require() rejects to include file with "fatal error"
| From: | Zeev Suraski | Date: | Sun, 04 Oct 1998 01:23:51 +0000 |
| Subject: | Re: Bug #813: require() rejects to include file with "fatal error" | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-1619@lists.php.net to get a copy of this message | ||
At 23:17 03/10/98 -0000, peter.lerner@bayreuth.baynet.de wrote:
>From: peter.lerner@bayreuth.baynet.de
>Operating system: Linux 2.0.35
>PHP version: 3.0.4
>PHP Bug Type: Misbehaving function
>Bug description: require() rejects to include file with "fatal error"
>
>one out of a sequence of require()-statements
>might fail. the file to be required exists, has correct permissions
>and no syntax errors in it.
>
> require(..)
> require(..)
> require("sqldvdzeile.inc");
> require(..)
>
>such a sequence of requires() causes that bug:
>
>Fatal error: Failed opening required '136983144' in
> /usr/local/apache/htdocs/jakob/ergebnisliste.php3 on line 340
>
>when i rerrange the sequence of requires() sometimes
>the error disappears or another file causes a similar
>error.
I'm betting that such a sequence of require()'s doesn't cause this problem.
Does it happen to be nested within a switch() statement? Or within a
function that return()'s earlier?
Zeev
--
Zeev Suraski <zeev@php.net>
For a PGP public key, finger bourbon@netvision.net.il
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net