Failed to open stream: Permission denied.
#1
Posted 13 April 2007 - 09:49 PM
Warning: main(shop/includes/application_top.php) [function.main]: failed to open stream: Permission denied in /home/datpcst/public_html/index.php on line 13
Warning: main(shop/includes/application_top.php) [function.main]: failed to open stream: Permission denied in /home/datpcst/public_html/index.php on line 13
Fatal error: main() [function.require]: Failed opening required 'shop/includes/application_top.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/datpcst/public_html/index.php on line 13
#2
Posted 13 April 2007 - 09:53 PM
buynotebookscheap, on Apr 13 2007, 02:49 PM, said:
Warning: main(shop/includes/application_top.php) [function.main]: failed to open stream: Permission denied in /home/datpcst/public_html/index.php on line 13
Warning: main(shop/includes/application_top.php) [function.main]: failed to open stream: Permission denied in /home/datpcst/public_html/index.php on line 13
Fatal error: main() [function.require]: Failed opening required 'shop/includes/application_top.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/datpcst/public_html/index.php on line 13
Line 13: require('shop/includes/application_top.php');
#3
Posted 13 April 2007 - 10:00 PM
buynotebookscheap, on Apr 13 2007, 04:53 PM, said:
Check that your folders have permissions set at 755.
Sounds Good Productions
STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE
#4
Posted 13 April 2007 - 10:09 PM
bkellum, on Apr 13 2007, 03:00 PM, said:
Check that your folders have permissions set at 755.
Which file control this?
#5
Posted 13 April 2007 - 10:17 PM
buynotebookscheap, on Apr 13 2007, 05:09 PM, said:
Quote
If you are on a Windows server, simply navigate to the file in windows, right click on it, select properties, and change the settings from there.
Sounds Good Productions
STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE
#6
Posted 13 April 2007 - 10:38 PM
bkellum, on Apr 13 2007, 03:17 PM, said:
If you are hosted on a Unix server, then you can easily change permissions using your FTP Client.
If you are on a Windows server, simply navigate to the file in windows, right click on it, select properties, and change the settings from there.
#8
Posted 13 April 2007 - 11:46 PM
#9
Posted 14 April 2007 - 12:06 AM
lawandorder, on Apr 13 2007, 04:46 PM, said:
#10
Posted 14 April 2007 - 01:28 AM
buynotebookscheap, on Apr 13 2007, 05:50 PM, said:
By the way, what host do you use? I recently had to contact Network Solutions for a client since the host had changed the permissions and then the client could no longer change the permissions via FTP. You may have to do the same.
Sounds Good Productions
STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE
#11
Posted 14 April 2007 - 01:41 AM
lawandorder, on Apr 13 2007, 06:46 PM, said:
Here is a good guide to help you out with this:
http://forums.oscommerce.com/index.php?showtopic=193738
Sounds Good Productions
STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE
#12
Posted 14 April 2007 - 02:25 AM
bkellum, on Apr 13 2007, 06:41 PM, said:
Here is a good guide to help you out with this:
http://forums.oscommerce.com/index.php?showtopic=193738
#13
Posted 16 April 2007 - 03:44 AM
bkellum, on Apr 13 2007, 02:00 PM, said:
Check that your folders have permissions set at 755.
How do you change the permission of a file? I am having the same problem.
Thanks,
bbg
#14
Posted 16 April 2007 - 04:09 AM
bbg, on Apr 15 2007, 10:44 PM, said:
Thanks,
bbg
Open your store files in a FTP client software. Once you can visually view the folders and file names, you should be able to right click on any particular folder/file and select CHMOD/Properties.
Depending upon the FTP client software that you are using, it should display some options to allow you to enter a number such as 644, 755, 777, etc.
Enter the correct permission settings and away you go.
Note: You will need to know what type of server your host is using since it will have direct implications upon how you will be able to change file/folder permissions. Hopefully you are hosted on a Unix server which allows you to change permissions as described above.
Hope this has helped you out,
Sounds Good Productions
STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE









