Chezshire Posted July 24, 2009 Share Posted July 24, 2009 Hey All, I'm a taking college classes in PHP, and in my current PHP, I'm having an error with the assignment. My teacher couldn't help me because our classes is the last class of the day and the computers literally turned off before he could get to me to help me deduce my error (While I waited I helped others who had simpler errors I could understand). We're setting up our servers basically, config files etc. I've uploaded everything and when I go to the urls listed below, i get the same series of errors for all the pages tested (see below) I don't understand, i need help. Can anyone help me to understand this - i thought it was a pathing error but i've checked and my paths seem correct (seem meaning they seem correct to me not that that they actually are correct): url #1: http://zephir.seattlecentral.edu/~jstein11/x280/index.php Warning: require_once(/home/classes/jstein11/inc_280/config_inc.php) [function.require-once]: failed to open stream: No such file or directory in /home/classes/jstein11/public_html/x280/index.php on line 35 Fatal error: require_once() [function.require]: Failed opening required '/home/classes/jstein11/inc_280/config_inc.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/classes/jstein11/public_html/x280/index.php on line 35 url #2: http://zephir.seattlecentral.edu/~jstein11/x280/first_data.php Warning: require_once(/home/classes/jstein11/inc_280/config_inc.php) [function.require-once]: failed to open stream: No such file or directory in /home/classes/jstein11/public_html/x280/first_data.php on line 37 Fatal error: require_once() [function.require]: Failed opening required '/home/classes/jstein11/inc_280/config_inc.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/classes/jstein11/public_html/x280/first_data.php on line 37 Url #3: http://zephir.seattlecentral.edu/~jstein11/x280/template.php Warning: require_once(/home/classes/jstein11/inc_280/config_inc.php) [function.require-once]: failed to open stream: No such file or directory in /home/classes/jstein11/public_html/x280/template.php on line 35 Fatal error: require_once() [function.require]: Failed opening required '/home/classes/jstein11/inc_280/config_inc.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/classes/jstein11/public_html/x280/template.php on line 35 Can anyone help this newb reclaim his weekend? Thanks! Link to comment https://forums.phpfreaks.com/topic/167239-solved-nice-guys-really-do-finish-last-help-i-want-my-weekend-back/ Share on other sites More sharing options...
mmarif4u Posted July 24, 2009 Share Posted July 24, 2009 All the errors represent that your path is wrong to the specified file in your scripts. LIKE: /home/classes/jstein11/inc_280/config_inc.php To above file path give in template.php etc is wrong. Give the correct path. Link to comment https://forums.phpfreaks.com/topic/167239-solved-nice-guys-really-do-finish-last-help-i-want-my-weekend-back/#findComment-881756 Share on other sites More sharing options...
Chezshire Posted July 24, 2009 Author Share Posted July 24, 2009 Thanks - i figured out the issue and it was as you said, a path. I wrote the paths as: require_once '/home/classes/jstein11/inc_280/config_inc.php'; And I should have written them as: require_once '/home/classes/jstein11/inc_itc280/config_inc.php'; Thank you very very very much (you guys rock!) Link to comment https://forums.phpfreaks.com/topic/167239-solved-nice-guys-really-do-finish-last-help-i-want-my-weekend-back/#findComment-881758 Share on other sites More sharing options...
mmarif4u Posted July 24, 2009 Share Posted July 24, 2009 You are most welcome... Link to comment https://forums.phpfreaks.com/topic/167239-solved-nice-guys-really-do-finish-last-help-i-want-my-weekend-back/#findComment-881760 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.