|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-11-14 12:21 UTC] ct at gocept dot com
[2000-11-21 08:47 UTC] stas@php.net
[2000-12-30 19:58 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Mon Jul 06 14:00:01 2026 UTC |
Some includes in the php-code do fail with following message: Warning: Unable to access ./test.php in /home/ctheune/public_html/minicept/handlers/passthrough/handler.class on line 8 Fatal error: Failed opening required './test.php' (include_path='') in /home/ctheune/public_html/minicept/handlers/passthrough/handler.class on line 8 1. They file is world-readable 2. The same thing is happening when using absolute paths 3. The same file is accessible from another file which included the file that is failing to include. Sample: Case A: File A: <? include("./handlers/test.php"); ?> - Works Case B: File A: <? include("./handlers/test1.php"); ?> - Works File B ( aka: ./handlers/test1.php ): <? include("./test.php") ?> - Doesnt work My Oppinion: Is it possible that nested includes / requires sometimes won't work? Best regards Christian Theune www.gocept.com