DesertCoder Posted March 10, 2013 Posted March 10, 2013 Hello All, I'm doing my third installation of osCommerce. Each of the three have been on different servers, the first two went pretty smooth, but this new one is not so smooth. In the Admin panel, I'm getting a LOT of file/folder permission errors. I have researched this most of the day, but I'm just not finding solutions to my problem, so I'm going to list the errors below. What I want to know is what permission value to assign to each one to remove the errors. To make matters more difficult, I am having to go through the client, who then relays my resuests to their host. It's frustrating, but I'm stuck with this arrangement for now. Version 2.3.3 The errors: Configuration > Administrators "Additional Protection With htaccess/htpasswd This osCommerce Online Merchant Administration Tool installation is not additionally secured through htaccess/htpasswd means. The following files need to be writable by the web server to enable the htaccess/htpasswd security layer: /path/to/the/www.website.com/store/admin/.htaccess /path/to/the/www.website.com/store/admin/.htpasswd_oscommerce Reload this page to confirm if the correct file permissions have been set." Please note, with this installation, and with the two previous, I call the folder /store/ and not /catalog/. Configuration > Store Logo "Error: The images directory cannot be uploaded to. (click here to review the directory permissions)" Catalog> Categories / Products "Error: Catalog images directory is not writeable: /path/to/the/www.website.com/store/images/" Tools > Database Backup "Error: Backup directory is not writeable." Tools > Banner Manager "Error: Graphs directory is not writeable." Tools > Cache Coltrol "Error: Cache directory is not writeable." Tools > Define Languages The huge list of files this shows me all have a red X in the 'Writable' column. Tools > Security Directory Permissions The huge list of files this shows me all have a red X in the 'Writable' column. Again, what I need are the actual permissions values to clear these all. Or perhaps there are one or two folders whose permissions need to be changed and with that the subfolders would be writable. I'm completely stuck for now, any help will be absolutely appreciated. Thanks in advance! Sincerely, DesertCoder
Jack_mcs Posted March 11, 2013 Posted March 11, 2013 The permissions are server-dependent but, in general, directories should be 755 and files 644, though there are exceptions. The first message you mention, "Additional Protection With htaccess/htpasswd" is not an error. It is just letting you know additional protection is available. If you ignore it, the shop will still work. The others, like the images, have to be writeable. The host should know what that is for their server. Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
DesertCoder Posted March 11, 2013 Author Posted March 11, 2013 Jack, Thank you so much. I'll pass this along to the client. I appreciate it! Sincerely, DesertCoder
MrPhil Posted March 12, 2013 Posted March 12, 2013 It's possible that you're set up with 755 permissions on this server, but that's not writable for PHP (osC) if PHP is not running as "owner". You might have to go with 775 (PHP is running under your group) or even 777 (PHP is running as "other"/"world" user). If 777 is needed, use extreme caution, as your site may be vulnerable to hackers. More information: http://www.catskilltech.com/freeSW/SMF/faqs/index.html > Proper Permissions.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.