Jump to content

[SOLVED] Nice Guys Really Do Finish Last... Help- I want my weekend back


Chezshire

Recommended Posts

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!

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.

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!)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.