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 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'); 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! Link to comment https://forums.phpfreaks.com/topic/55606-solved-strange-include-error/#findComment-274767 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.