Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.



Recommended Posts

i have installed osCommerce in my server well and i can login to admin panel, but when i try to browse frontend panel i get an error message.


You don't have permission to access /catalog/ on this server.

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


what would be the problem and how can i resolve it?

Link to comment
Share on other sites

Next time, such questions should go in Installation and Configuration.

  1. Confirm that you in fact installed into /catalog/, rather than someplace else. Sometimes using "one button" canned installers can put your application in an unexpected place. http://yoursite.com/catalog/ should be where osC is living.
  2. Confirm that the installation process gave you ownership of the directories and files, and not someone else. If you can change permissions successfully, most likely you have ownership. If not, your host will have to change ownership (chown/chgrp) for you.
  3. Check how to change permissions. Many systems will not allow FTP clients to change permissions, and you will need to use your hosting control panel to do so.
  4. Confirm that the permissions are reasonable for your server. Usually this means 755 for directories (folders) -- R/W for owner, R/O for everyone else, and 644 for files -- R/W for owner, R/O for everyone else. The two configure.php files, once you have them configured the way you want, need to be R/O for all -- usually 444 permissions.It is possible with these permissions that osC will complain that it can't write to certain directories -- you can chmod those directories to 775 and try it again, or 777 as a last resort.
  5. Ignore the "404 not found". That's a brain fart by the Apache server. You can get rid of it by defining your own "error document" set (/400.shtml, /401.shtml, /403.shtml, /404.shtml, and /500.shtml at a minimum). Ask your host how to do it. Their control panel may even have a button to create the core of these files.

Link to comment
Share on other sites


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

  • Create New...