PDA

View Full Version : Warning: Unknown: failed to open stream:


Birdwalker
11-12-2007, 12:22 PM
I checked the Help threads and couldn't find anything related to this problem. I use v1.5. I added a new image without problem. When I tried to open my blog in the browser I received the following:

Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
Warning: Unknown: Failed opening '/var/www/vhosts/birdwalking.ca/httpdocs/pblog/index.php' for inclusion (include_path='.:/usr/share/pear/') in Unknown on line 0

When I tried to upload the index.php file, I was denied permission. I deleted the index file on the server and was able to upload a new index file, but still receive the same warning messages. <http://www.birdwalking.ca/pblog/>

Thanks in advance for help.

austriaka
11-12-2007, 01:12 PM
Please verify that there is no index.html or similar in the root directory of your blog (/pblog)
If there is, delete it

Birdwalker
11-12-2007, 01:33 PM
I just checked. There is no index.html.

Lazlo
11-12-2007, 01:41 PM
What have you set as siteurl in your adminpanel at options?

Birdwalker
11-12-2007, 02:22 PM
The site url is http://www.birdwalking.ca/pblog/

I can open all of the Admin pages in my browser but not the index.php. I'm using IE6.

Lazlo
11-12-2007, 02:28 PM
What are the permissions given to the folders/files? (CHMOD)

Are you sure index.php is correctly uploaded?

Birdwalker
11-12-2007, 02:41 PM
Lazlo: Sorry. I am not versed in php. I basically understand what CHMOD is, but don't know where to find the information you asked. Can you enlighten me? As for the index.php, the file has been up and running fine since January. When the problem happened, I deleted the index.php and uploaded the archived file from my hard drive, but the problem persited.

Lazlo
11-12-2007, 02:48 PM
Do you have an admin panel, Direct Admin or Cpanel? You can view the chmod settings behind every file in their file managers.

Have you made any changes to index.php? You can try uploading the original index.php.

Birdwalker
11-12-2007, 02:53 PM
Lazlo: By Cpanel do you mean a Cpanel on the host server? As you can gather, I am new at this. I made not changes to the index.php, but I did delete the file in the /pblog/ folder on the server and uploaded the archived file from my hard drive. I will try again.

Birdwalker
11-12-2007, 03:00 PM
Laszlo: Thanks for everything. I tried to upload the index.php from my HD but I was denied permission. I again deleted the server file and uploaded my HD file. The results were the same. I again deleted the server file. Logged off. Re-logged on. Uploaded the file from my HD and lo and behold. Everything works fine now. Thank you so much for you assistance.