php Include Errors: Failed to open stream

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
waitwhat
Forum Newbie
Posts: 2
Joined: Sat Feb 28, 2009 6:27 pm

php Include Errors: Failed to open stream

Post by waitwhat »

I created some php files and just uploaded them to my server. When I type in the address,

http://www.mattboehlerresume.com/backend/index.php

into my web browser, I see this error message:
Warning: include(menu.php) [function.include]: failed to open stream: No such file or directory in /home/content/l/i/n/lindaslater/html/studentformula/backdoor/index.php on line 16

Warning: include() [function.include]: Failed opening 'menu.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/content/l/i/n/lindaslater/html/studentformula/backdoor/index.php on line 16
This seems like a problem with an obvious solution. Do I need to install some php files on my server? By the way, I'm using GoDaddy.

Thanks for any help!
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: php Include Errors: Failed to open stream

Post by requinix »

Not the errors I'm getting. These make more sense too.
Warning: include(menu.php) [function.include]: failed to open stream: No such file or directory in /home/content/m/b/o/mboehler3/html/backend/index.php on line 16

Warning: include() [function.include]: Failed opening 'menu.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/content/m/b/o/mboehler3/html/backend/index.php on line 16
It says pretty clearly in there "no such file or directory." Think about it.
waitwhat
Forum Newbie
Posts: 2
Joined: Sat Feb 28, 2009 6:27 pm

Re: php Include Errors: Failed to open stream

Post by waitwhat »

yeah I dont get it, the file does exist, I used my ftp program to upload it.

Its not like I'm typing http://www.mattboehlerresume.com/home/c ... /index.php.

Do I need to adjust some server settings?
semlar
Forum Commoner
Posts: 61
Joined: Fri Feb 20, 2009 10:45 pm

Re: php Include Errors: Failed to open stream

Post by semlar »

http://www.mattboehlerresume.com/backend/menu.php
Doesn't look like it exists to me.
Post Reply