Latest News: (loading..)

Archived

This topic is now archived and is closed to further replies.

buynotebookscheap

Failed to open stream: Permission denied.

14 posts in this topic

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

Share this post


Link to post
Share on other sites
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');

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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://forums.oscommerce.com/index.php?showtopic=193738

Share this post


Link to post
Share on other sites
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://forums.oscommerce.com/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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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,

Share this post


Link to post
Share on other sites