buynotebookscheap Posted April 13, 2007 Share Posted April 13, 2007 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 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 Buy Notebooks Cheap Link to comment Share on other sites More sharing options...
buynotebookscheap Posted April 13, 2007 Author Share Posted April 13, 2007 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 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'); Buy Notebooks Cheap Link to comment Share on other sites More sharing options...
bkellum Posted April 13, 2007 Share Posted April 13, 2007 Line 13: require('shop/includes/application_top.php');Check your files to be sure they have permissions set at 644, except for the admin/includes/configure.php and includes/configure.php files, which should be set at 644.Check that your folders have permissions set at 755. Bill Kellum Sounds Good Productions STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE Link to comment Share on other sites More sharing options...
buynotebookscheap Posted April 13, 2007 Author Share Posted April 13, 2007 Check your files to be sure they have permissions set at 644, except for the admin/includes/configure.php and includes/configure.php files, which should be set at 644.Check that your folders have permissions set at 755. Shop folder has 000 what is that? Which file control this? Buy Notebooks Cheap Link to comment Share on other sites More sharing options...
bkellum Posted April 13, 2007 Share Posted April 13, 2007 Shop folder has 000 what is that?Don, that is OK. Which file control this? 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. Bill Kellum Sounds Good Productions STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE Link to comment Share on other sites More sharing options...
buynotebookscheap Posted April 13, 2007 Author Share Posted April 13, 2007 Don, that is OK. 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. I am on UNIX, I tried through ftp permission denied. Buy Notebooks Cheap Link to comment Share on other sites More sharing options...
buynotebookscheap Posted April 13, 2007 Author Share Posted April 13, 2007 I am on UNIX, I tried through ftp permission denied. Do the permissions change on there own? Buy Notebooks Cheap Link to comment Share on other sites More sharing options...
lawandorder Posted April 13, 2007 Share Posted April 13, 2007 Hope you don't mind me jumping in here but I am having the same problem. I changed the permissions using ftp but since I left the configure files as they were when I was developing the site on my windows localhost I'm afraid the paths may be wrong. Do you know what I should change in the configure files to suit the web server. Link to comment Share on other sites More sharing options...
buynotebookscheap Posted April 14, 2007 Author Share Posted April 14, 2007 Hope you don't mind me jumping in here but I am having the same problem. I changed the permissions using ftp but since I left the configure files as they were when I was developing the site on my windows localhost I'm afraid the paths may be wrong. Do you know what I should change in the configure files to suit the web server. I am trying to change the permission on this folder access denied, are there other ways to edit the folder properties? Buy Notebooks Cheap Link to comment Share on other sites More sharing options...
bkellum Posted April 14, 2007 Share Posted April 14, 2007 Do the permissions change on there own?No, they will not. However, depending upon the practises of your host, they may change them inadvertantly (not a good host). 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. Bill Kellum Sounds Good Productions STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE Link to comment Share on other sites More sharing options...
bkellum Posted April 14, 2007 Share Posted April 14, 2007 Hope you don't mind me jumping in here but I am having the same problem. I changed the permissions using ftp but since I left the configure files as they were when I was developing the site on my windows localhost I'm afraid the paths may be wrong. Do you know what I should change in the configure files to suit the web server. Brian, you will need to check the server and database paths in both the admin/includes/configure.php and includes/configure.php files. Here is a good guide to help you out with this: http://www.oscommerce.com/forums/index.php?showtopic=193738 Bill Kellum Sounds Good Productions STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE Link to comment Share on other sites More sharing options...
buynotebookscheap Posted April 14, 2007 Author Share Posted April 14, 2007 Brian, you will need to check the server and database paths in both the admin/includes/configure.php and includes/configure.php files. Here is a good guide to help you out with this: http://www.oscommerce.com/forums/index.php?showtopic=193738 I was able to change the permissions inside cpanel >>File Manager>>Folder>>change permission and we are all good for now. Buy Notebooks Cheap Link to comment Share on other sites More sharing options...
bbg Posted April 16, 2007 Share Posted April 16, 2007 Check your files to be sure they have permissions set at 644, except for the admin/includes/configure.php and includes/configure.php files, which should be set at 644.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 Link to comment Share on other sites More sharing options...
bkellum Posted April 16, 2007 Share Posted April 16, 2007 How do you change the permission of a file? I am having the same problem. Thanks, bbg Most will use a FTP client software program such as SmartFTP to change the permissions and it usually works like this: 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, Bill Kellum Sounds Good Productions STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.