#20616 [Com]: 4.3.0RC1-Win32 cannot find files found by 4.2.3
| From: | thanerd at skynet dot be | Date: | Fri, 14 Feb 2003 23:14:37 +0000 |
| Subject: | #20616 [Com]: 4.3.0RC1-Win32 cannot find files found by 4.2.3 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-33204@lists.php.net to get a copy of this message | ||
ID: 20616
Comment by: thanerd@skynet.be
Reported By: judd@ob-wan.com
Status: Closed
Bug Type: Scripting Engine problem
Operating System: Win 2k server
PHP Version: 4.3.0RC1
New Comment:
while testing a third party script that does:
require_once("db/foo.php");
i got an error reporting 'No such file or directory'.
Being under Win OS, i checked to see if
require_once("db\\foo.php");
would work. And it DOES!
Previous Comments:
------------------------------------------------------------------------
[2002-12-09 07:50:01] edink@php.net
I juste tested the latest stable snapshot
(http://snaps.php.net/win32/php4-win32-STABLE-latest.zip) and could not
reproduce the problem using CLI or Apache modules. If the problem
existed it was fixed since RC1.
------------------------------------------------------------------------
[2002-12-09 05:31:49] judd@ob-wan.com
Black,
I'm simply calling ../application.php from admin/index.php, there's
nothing else involved. This particular piece of code works fine in
4.2.3
------------------------------------------------------------------------
[2002-12-09 05:14:15] black@php.net
could you list the directory structure of "used" files..
im mainly interested in the main script, admin/index.php and
application.php.
if the main script is in the same dir as application.php and includes
admin/index.php, then the problem most probablly lies there, since the
include path doesnt change from the main script to its includes..
other than that try downgrading to 4.2.3 just to see if the problem
remains - if yes, then its a script error in your code and not in
php4.3RC2 itself.
------------------------------------------------------------------------
[2002-12-09 02:10:12] judd@ob-wan.com
Nope. application.php is in the parent directory, or:
C:\Xitami\webpages\Commerce\mymarket1\application.php
------------------------------------------------------------------------
[2002-12-08 22:37:24] sniper@php.net
Some clarification needed..the error you got:
"No such file or directory in
C:\Xitami\webpages\Commerce\mymarket1\admin\index.php on line 8
Warning: Failed opening '../application.php' for inclusion"
In index.php you have 'include("../application.php");' ?
Is the path to "application.php":
C:\Xitami\webpages\Commerce\mymarket1\admin\application.php ???
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/20616
--
Edit this bug report at http://bugs.php.net/?id=20616&edit=1