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
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: peter dot lermer at bayreuth dot baynet dot de
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2026 The PHP Group
All rights reserved.
Last updated: Wed Jun 17 17:00:02 2026 UTC