simon551 Posted June 14, 2007 Share Posted June 14, 2007 Not sure why this is happening. Warning: require_once(../../Connections/conn_org.php) [function.require-once]: failed to open stream: No such file or directory in C:\Program Files\xampp\htdocs\org\Scripts\Timesheets\currentTimesheet.php on line 1 I am opening a different file, that includes 'currentTimesheet.php' when I get this error. If I open 'currentTimesheet.php' there is no error. Any idea how to troubleshoot this further? thanks in advance Quote Link to comment https://forums.phpfreaks.com/topic/55606-solved-strange-include-error/ Share on other sites More sharing options...
Nhoj Posted June 14, 2007 Share Posted June 14, 2007 Try using non relative url locations, such as: require_once('C:/Program Files/xampp/htdocs/org/Scripts/Connections/conn_org.php'); and require_once('C:/Program Files/xampp/htdocs/org/Scripts/Timesheets/currentTimesheet.php'); Quote Link to comment https://forums.phpfreaks.com/topic/55606-solved-strange-include-error/#findComment-274742 Share on other sites More sharing options...
simon551 Posted June 14, 2007 Author Share Posted June 14, 2007 Thank you, sir! Quote Link to comment https://forums.phpfreaks.com/topic/55606-solved-strange-include-error/#findComment-274767 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.