Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Closed Thread
PHP Errors: "Failed to Open Stream...No Such File or Directory"
Old 03-17-2005, 10:08 PM PHP Errors: "Failed to Open Stream...No Such File or Directory"
Junior Talker

Posts: 1
Trades: 0
I'm a PHP newbie. I just installed a trial version of ExpressionEngine 1.2 on Windows 2000 Server, IIS5, running PHP 4.3.9 and MySQL 4.0.13. PHP is installed as an ISAPI module.

I'm able to access the control panel in EE just fine, but when I click on any of the links on my live blog page I'm getting open stream errors like the following:

Quote:
Warning: Unknown(c:\inetpub\wwwroot\blogs\index.php\weblog\ first_entry\): failed to open stream: No such file or directory in Unknown on line 0

Warning: Unknown(c:\inetpub\wwwroot\blogs\index.php\weblog\ first_entry\): failed to open stream: No such file or directory in Unknown on line 0

Warning: (null)(): Failed opening 'c:\inetpub\wwwroot\blogs\index.php\weblog\first_e ntry\' for inclusion (include_path='.;C:\php\pear') in Unknown on line 0
I ran the go-pear install and my PEAR directory is located at c:\php\pear and it is listed in the PHP.ini file . The above error seems to be a very common error accross PHP sites, since I got the same error message appearing on many sites when I did a Google search. What am I missing? Should Pear be listed in my PHP_info?

Appreciate any help/suggestions...
bittersweetphp is offline
View Public Profile
 
 
Register now for full access!
Old 03-18-2005, 07:42 AM
amw_drizz's Avatar
Ultra Talker

Posts: 340
Name: Jon
Location: New York
Trades: 0
usally means either the file path is incorrect on the php line.

That or the file that you are trying to call from php is not in that directory or the permissions are not set for EVERYBODY to read it.
i had the same problem on my website. all the files were there and all the php include information was correct. me the security of the directory was set so only administrator could read/write/delete the files doh. see if it wset to everybody read access.
__________________
AMW_Drizz
Dev Machine:: Apache 2.2.6 PHP 5.2.6 MySQL 5.1
amw_drizz is offline
View Public Profile Visit amw_drizz's homepage!
 
Old 03-19-2005, 06:09 PM
paid2surf's Avatar
Skilled Talker

Posts: 59
Location: WI
Trades: 0
is there a space before "first_entry"?
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
paid2surf is offline
View Public Profile Visit paid2surf's homepage!
 
Old 08-17-2009, 04:22 PM Re: PHP Errors: "Failed to Open Stream...No Such File or Directory"
Banned

Posts: 6
Trades: 0
Well I am having this problem right now with a site trying to install wordpress

Last edited by chrishirst; 08-17-2009 at 04:28 PM.. Reason: superfluous link removed
1CF3 is offline
View Public Profile
 
Old 08-18-2009, 07:13 AM Re: PHP Errors: "Failed to Open Stream...No Such File or Directory"
Super Talker

Posts: 102
Trades: 0
1CF3, wow what a grave digger.
Aaron™ is offline
View Public Profile
 
Old 08-18-2009, 08:17 AM Re: PHP Errors: "Failed to Open Stream...No Such File or Directory"
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
Sure he is...
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
View Public Profile Visit tripy's homepage!
 
Closed Thread     « Reply to PHP Errors: "Failed to Open Stream...No Such File or Directory"
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.16709 seconds with 12 queries