Jump to content

Recommended Posts

Hello,

 

I have recently been getting this error.

 

Warning: Unknown(/home/account/public_html/page.php): failed to open stream: Permission denied in Unknown on line 0

Warning: Unknown(/home/account/public_html/page.php): failed to open stream: Permission denied in Unknown on line 0

Warning: (null)() [function.include]: Failed opening '/home/account/public_html/page.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php:/home') in Unknown on line 0

 

I have never got this before and have ran this page thousands of times over the last 4 months. All of a sudden im getting this?

 

Any ideas :)

 

Thanks in advance.

 

James

 

 

Link to comment
https://forums.phpfreaks.com/topic/89639-strange-error/
Share on other sites

Hey,

 

I have a include at the top line which is a config file.

 


include ('config.php');

 

The config file is in the same directory and is simply a connection to the database.

 

EDIT : About 50 other files are including that same file and they all return with no error?

 

Thanks.

 

James

Link to comment
https://forums.phpfreaks.com/topic/89639-strange-error/#findComment-459295
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.