Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Permissions and Images


Milligan

Recommended Posts

I installed OSCommerce and Ive got it somewhat working. Just a couple small fixes to be done.

 

First of all, a permission setting. When I access the customer index, it tells me:

 

Warning: I am able to write to the configuration file: /home/flekkfhk/public_html/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

 

I checked configure.php, and its CHMOD'ed to 744. I tried 704 and 700, all with the same result. Whats going on here?

 

Secondly, when I try to add an image to a product Im adding, it appends the wrong url to it. My admin panel, is located in http://my.host/catalog/myAdminPanel/ .. Images are located in http://my.host/catalog/images/ (Uploads work fine). OSCommerce is looking for the files in http://my.host/catalog/myAdminPanel/catalog/images/ . How do I fix that ? Ive been looking in the configuration.php, but I cant seem to crack it.

 

Thanks in advance,

 

Kris

Link to comment
Share on other sites

Also, my customerside is still telling me "Demoshop" at the very top of the browser. Is this because the config file is still writable? If not, which file do I edit to change the name ?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...