ID: 20616 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Scripting Engine problem Operating System: Win 2k server PHP Version: 4.3.0RC1 New Comment:
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. Previous Comments: ------------------------------------------------------------------------ [2002-12-09 02:10:12] [EMAIL PROTECTED] Nope. application.php is in the parent directory, or: C:\Xitami\webpages\Commerce\mymarket1\application.php ------------------------------------------------------------------------ [2002-12-08 22:37:24] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] Pardon me, that syntax should be 'include ("../foobar.inc");' ... I just woke up. :0 ------------------------------------------------------------------------ [2002-12-08 18:19:09] [EMAIL PROTECTED] 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 ------------------------------------------------------------------------ [2002-12-08 11:00:12] [EMAIL PROTECTED] So the problem is that 'require("/foobar.php");' does not find foobar under the current working dir?? If so, this really is not a bug but the correct behaviour. ------------------------------------------------------------------------ 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