Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

permission


neuron

Recommended Posts

How do i access this file : application_bottom.php, so i can view it on web. What permisson number do i need to change?

Mine is set to 0644.

 

Forbidden

 

You don't have permission to access /shop/includes/application_bottom.php on this server.

 

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

 

 

Thanks for the help. :rolleyes:

Link to comment
Share on other sites

How do i access this file : application_bottom.php, so i can view it on web. What permisson number do i need to change?

Mine is set to 0644.

 

Forbidden

 

You don't have permission to access /shop/includes/application_bottom.php on this server.

 

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Thanks for the help. :rolleyes:

 

do you mean you want to point your browser to http://yoursite.com/catalog/includes/application_bottom.php and see what's in the file?

 

that's not exactly how you want to go about this. first off, you won't see what's in the file. you'll see what the php code generates. because you're going through the web server, the web server is going to execute the code and send you the results. you're more than likely just going to see error message. also, this particular file is not meant to be used on its own. it's included by all the top level files, like index.php. you shouldn't need access to any of the files in the includes/ directory. so being told that access to the file is forbidden is probably a good thing.

 

if you want to see the contents of a file, you're better off using an ftp client and downloading the file to your computer and then viewing it in a text editor.

Link to comment
Share on other sites

Yupe.. i just want to see what's in it. How do i need to do so i can see all the files? Is there any permission I need to change, so i don't see error message?

 

Thanks.

Link to comment
Share on other sites

Yupe.. i just want to see what's in it. How do i need to do so i can see all the files? Is there any permission I need to change, so i don't see error message?

 

Thanks.

 

You need to set 0777. Through "chmod 0777".

it will make executable to that file...

When I was born, I was cryed and everyone around me was smiling.

Live our life so at the end,

I am the one who is smiling and everyone around me is crying.

Link to comment
Share on other sites

No the restriction actually lies in .htaccess file you need to edit it to allow access to the includes directory. Also as everyone else mentioned please get an FTP client and don't mess around with it unless you know what you are doing.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...