php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #28516 main(include/adodb.inc.php): failed to open stream
Submitted: 2004-05-25 11:49 UTC Modified: 2004-12-17 21:21 UTC
Votes:3
Avg. Score:3.3 ± 1.7
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: info at ubernissen dot dk Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: 4CVS-2004-05-25 (stable) OS: Suse 9 Pro AMD64
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: info at ubernissen dot dk
New email:
PHP Version: OS:

 

 [2004-05-25 11:49 UTC] info at ubernissen dot dk
Description:
------------
I have a page called server.php, which contains only this "<? include( "index.php"); ?>". In the index.php file this is the the first event: include_once( "include/sitevalues.inc");
In sitevalues.inc the first event is: include("include/adodb.inc.php");
This is where it fails with this: "Warning: main(include/adodb.inc.php): failed to open stream: No such file or directory in /home/kms/htdocs/include/sitevalues.inc on line 6"
The page is loaded in a frameset, where the other frames loads okay.
I have checked include_path and tried changing the last include, but that generates the same error, except that none of the other frames are loaded.

My compile string: CFLAGS='-O2 -fPIC -Wall -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' LDFLAGS='-L/usr/lib64' ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-pear --with-mysql --enable-shared --with-curl --enable-ftp --enable-sockets --with-dom --with-xmlrpc --with-zlib-dir=/usr/lib --enable-xslt  --with-xslt-sablot --enable-debug



Reproduce code:
---------------
I had to implement the in the description.

Expected result:
----------------
I expected that the file adodb.inc.php would be loaded!

Actual result:
--------------
Not sure what to write here!

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-05-25 11:51 UTC] nis at ubernissen dot dk
You can see the error here: http://kms.phd.dk/server.php?pageaction=server&contentaction=serverlist
 [2004-12-17 21:21 UTC] nlopess@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jul 07 15:01:36 2025 UTC