#20616 [Opn]: 4.3.0RC1-Win32 cannot find files found by 4.2.3
| From: | judd at ob-wan dot com | Date: | Mon, 09 Dec 2002 11:31:49 +0000 |
| Subject: | #20616 [Opn]: 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-27155@lists.php.net to get a copy of this message | ||
ID: 20616
User updated by: judd@ob-wan.com
Reported By: judd@ob-wan.com
Status: Open
Bug Type: Scripting Engine problem
Operating System: Win 2k server
PHP Version: 4.3.0RC1
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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 ???
------------------------------------------------------------------------
[2002-12-08 18:21:36] judd@ob-wan.com
Pardon me, that syntax should be 'include ("../foobar.inc");' ... I
just woke up. :0
------------------------------------------------------------------------
[2002-12-08 18:19:09] judd@ob-wan.com
Nope. The problem is that "include ../foobar.inc" does not find
foobar.inc in the parent directory, which is contrary behaviour to
4.2.3
------------------------------------------------------------------------
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