srhino Posted February 1, 2012 Share Posted February 1, 2012 I keep getting the following error....I am new to this and I am trying to learn where I am making this error. Can anyone help my figure this out? Warning: main(editproducts.inc.php) [function.main]: failed to open stream: No such file or directory in /home/content/s/r/h/srhino/html/softball/store/admin/admin.php on line 40 Warning: main(editproducts.inc.php) [function.main]: failed to open stream: No such file or directory in /home/content/s/r/h/srhino/html/softball/store/admin/admin.php on line 40 Warning: main() [function.include]: Failed opening 'editproducts.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/content/s/r/h/srhino/html/softball/store/admin/admin.php on line 40 Quote Link to comment https://forums.phpfreaks.com/topic/256177-please-help-with-this-error/ Share on other sites More sharing options...
srhino Posted February 1, 2012 Author Share Posted February 1, 2012 OK I am stupid I should have checked my remote server first before I posted this...for some reason no matter how many times I 'put' this it is not showing up on the remote server. Quote Link to comment https://forums.phpfreaks.com/topic/256177-please-help-with-this-error/#findComment-1313261 Share on other sites More sharing options...
spiderwell Posted February 1, 2012 Share Posted February 1, 2012 its not finding a file with an include/require path, can you show the code where it is including the file? have you checked the paths, relative or absolute? Quote Link to comment https://forums.phpfreaks.com/topic/256177-please-help-with-this-error/#findComment-1313270 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.