php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #812 require() rejects to include file with "fatal error"
Submitted: 1998-10-03 19:17 UTC Modified: 1998-10-04 09:00 UTC
From: peter dot lermer at bayreuth dot baynet dot de Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 3.0.4 OS: Linux 2.0.35
Private report: No CVE-ID: None
 [1998-10-03 19:17 UTC] peter dot lermer at bayreuth dot baynet dot de
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 work with phplib5, but that is IMHO not related to the
bug.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-10-04 09:00 UTC] zeev
There has to be more to it than that...

Please check the latest CVS and see if the problem persists.
It should be fixed.


---
Fixed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 29 08:01:32 2024 UTC