Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

image upload error


zsero

Recommended Posts

My shop has been running flawlessly for a year, but last week it started producing error every time I upload a image. It doesn't say anything useful, just image upload failed. Is there any way I can get some verbose information regarding the error? Or, if it's a know issue, what patches/updates shell I apply to fix the problem?

Link to comment
Share on other sites

Hi Zsolt, any chance that the harddrive is full or quota exceeded? I'd check the logfiles for more information. Your host should be able to help you also.

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

How could I get some info in the log, and how can I enable the log?

Do you mean settings/log/enable Store Page Parse Time and enable Store Database Queries?

 

The quota isn't full, since I can easily upload files via FTP.

Link to comment
Share on other sites

  • 2 weeks later...

Finally I managed to enable the sql log. That's everything what I get, when I just delete the file before uploading an image.

 

01/11/2006 23:25:14 [QUERY] select value from sessions where sesskey = 'e799fee06969f3568ea16a453beb7135' and expiry > '1162419914'
01/11/2006 23:25:14 [QUERY] select code, title, symbol_left, symbol_right, decimal_point, thousands_point, decimal_places, value from currencies
01/11/2006 23:25:14 [QUERY] select languages_id, name, code, image, directory from languages order by sort_order
01/11/2006 23:25:14 [QUERY] select languages_id, name, code, image, directory from languages order by sort_order
01/11/2006 23:25:14 [0.070s] /admin/categories.php?cPath=104&pID=1507&action=new_product_preview
01/11/2006 23:25:14 [QUERY] select count(*) as total from sessions where sesskey = 'e799fee06969f3568ea16a453beb7135'
01/11/2006 23:25:14 [QUERY] update sessions set expiry = '1162421354', value = 'language|s:9:\"hungarian\";languages_id|s:1:\"4\";selected_box|s:7:\"catalog\";' where sesskey = 'e799fee06969f3568ea16a453beb7135'

 

And something else: if I upload a file manually (by FTP) and then I upload just as I should, it deletes my already uploaded image and says "error writing ...".

Link to comment
Share on other sites

I would like to upload images using the product page's upload image feature, which doesn't work, just says: "ERROR_FILE_NOT_SAVED"

 

What I tried, was just a plain FTP upload for one image to check whether it accepts already uploaded images, and the answer was no, it deletes already uploaded images by the same name.

 

The folder is set to 777 as it always was.

Link to comment
Share on other sites

Ok so when your adding a product you use the upload feature

do you use the browse button to get a new image from your PC documents or are you typing the path to the image thats already on the server. So say you have myimage.gif on the server already when you enter a product that requires that image you would just use

 

/images/myimage.gif

typed into the box.

If your using the browse function to upload an image because the image is not already on the server is this when your having the file not uploaded error.

 

Also if you FTP a file that already exists on the server the new one will overwrite the old one so a new image with the same name as another will replace the already existing image.

Link to comment
Share on other sites

If your using the browse function to upload an image because the image is not already on the server is this when your having the file not uploaded error.

 

Yes, that's exactly. I browse to a file and click OK and then on preview, and then it says upload error.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...