Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can't upload images anymore?


discdesign

Recommended Posts

This error is coming up at the top of my admin page:

Error: Catalog images directory is not writeable: /home/sam/public_html/cart/images/

 

I am not able to upload new images, and even if I manually ftp them to the images folder, they wont show. This was also installed a few years ago. Should I, or is there a way to update OS Commerce without wiping out my current cart? Thank you!!!

Link to comment
Share on other sites

This error is coming up at the top of my admin page:

Error: Catalog images directory is not writeable: /home/sam/public_html/cart/images/

 

I am not able to upload new images, and even if I manually ftp them to the images folder, they wont show. This was also installed a few years ago. Should I, or is there a way to update OS Commerce without wiping out my current cart? Thank you!!!

You don't need to update oscommerce or wipe it, this is a problem in the filesystem... Either the directory is set as read-only, or else your host has quotas enabled for your disk usage, and you're out of hard drive space... See if you can make a backup from the admin console (Tools -> Database Backup)... If it gives an error about the backup directory not being writeable, chances are you're out of disk space... If this site has been active for a few years now, it could be that you've got an error log file in your home directory somewhere that's been filling up with little web errors for years, and has eaten up all of your available disk space... Either that or you finally uploaded the last image that broke the camel's back so to speak.

 

Richard.

Richard Lindsey

Link to comment
Share on other sites

You don't need to update oscommerce or wipe it, this is a problem in the filesystem... Either the directory is set as read-only, or else your host has quotas enabled for your disk usage, and you're out of hard drive space... See if you can make a backup from the admin console (Tools -> Database Backup)... If it gives an error about the backup directory not being writeable, chances are you're out of disk space... If this site has been active for a few years now, it could be that you've got an error log file in your home directory somewhere that's been filling up with little web errors for years, and has eaten up all of your available disk space... Either that or you finally uploaded the last image that broke the camel's back so to speak.

 

Richard.

 

Thanks Richard....I was hoping it was disk space, but I've only used 97 out of 150Mb??

 

When I tried to make a backup, it said 'Error: Backup directory is not writeable.'

Link to comment
Share on other sites

check your directories permissions on

 

admin/backup

and catalog/images

 

both the backup folder and image folder directories need to have permission as Chmod 777

if you have access to C-panel and File manager it is easy to click the folder images click change permissions and make sure it says 777 and click change - make sure you click change, then do this to your backups directory as well see if that solves your problem.

Link to comment
Share on other sites

check your directories permissions on

 

admin/backup

and catalog/images

 

both the backup folder and image folder directories need to have permission as Chmod 777

if you have access to C-panel and File manager it is easy to click the folder images click change permissions and make sure it says 777 and click change - make sure you click change, then do this to your backups directory as well see if that solves your problem.

 

Thaank you! That took away the error...however it is SO SLOW to update/upload images. Is there a way for me to update my 2003 version of OSCommerce to the newest one? I am running that on another site and it's so much better...

 

I also get this error when I click on the Manufacturer and Specials tab:

 

'1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-15, 15' at line 1

 

select manufacturers_id, manufacturers_name, manufacturers_image, date_added, last_modified from manufacturers order by manufacturers_name limit -15, 15

 

[TEP STOP]

Link to comment
Share on other sites

Thaank you! That took away the error...however it is SO SLOW to update/upload images. Is there a way for me to update my 2003 version of OSCommerce to the newest one? I am running that on another site and it's so much better...

 

I also get this error when I click on the Manufacturer and Specials tab:

 

'1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-15, 15' at line 1

 

select manufacturers_id, manufacturers_name, manufacturers_image, date_added, last_modified from manufacturers order by manufacturers_name limit -15, 15

 

[TEP STOP]

If you can manage to get that site updated, the above SQL error is fixed in the latest version available... If you can't, I think you can just pull the splitPageResults class file from the newest version and just overwrite your own to fix this problem, unless you've made changes to your own, but most people don't...

 

Richard.

Richard Lindsey

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...