Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

oScommerce can't upload images


biawak

Recommended Posts

Dear

 

I have promblem when, uploaded images to oscommerce catalog.

when entered www.example.com/admin --> and then click catalog --> new product. after i fill in the blank, i want to add images.

But images not shown.

i got the message like WARNING: NO FILE UPLOADED

 

where is the mistakes..?

 

You can see the sample. please open this URL

http://img91.imageshack.us/img91/862/untitledmt3.jpg

 

please help me,

thank you berfore for all the help

Link to comment
Share on other sites

I assume you are using the Browse box to locate the image on your computer and then getting the error when you click to 'Preview' the new product?

 

If this is the case then the cause is usually one of three things:

 

1. The 'images' folder does not have permissions of 755 set to allow the upload.

 

2. File Upload is not allowed by the installation of PHP your host is providing.

 

3. The file pathway to the images folder is incorrect. This is usually caused by an incorrect includes/configure.php file.

 

Vger

Link to comment
Share on other sites

In the chapter 1 and 2 was done by me correctly.

But in the chapter 3 I did not know his procedure.

Could you help me ?

 

When adding images, I never used the www.example.com/admin.

I just browsed to the file locally, and it automatically uploaded it to the "images" directory.

 

If you're trying to point to an image somewhere else, I would download the image locally and let

oscommerce upload it to :image",

At least that's how I would do it.

 

Wally

Link to comment
Share on other sites

Same Problem here...Manually changing the mySQL entry works fine, but when I try to upload a picture either nothing happens at all (and the picture path points to /catalog/images/) or it says "No file uploaded".

Permissions on the image folder are 777,

configure.php:

 

  define('DIR_WS_IMAGES', 'images/');

 

File Upload isn't switched of as well, as other php applications can upload files and everything works there.

 

Any ideas?

Link to comment
Share on other sites

Same Problem here...Manually changing the mySQL entry works fine, but when I try to upload a picture either nothing happens at all (and the picture path points to /catalog/images/) or it says "No file uploaded".

Permissions on the image folder are 777,

configure.php:

 

  define('DIR_WS_IMAGES', 'images/');

 

File Upload isn't switched of as well, as other php applications can upload files and everything works there.

 

Any ideas?

 

ooo so there is a way to manually add/point to the photos until someoen finds an answer to this weird ass prob?

Link to comment
Share on other sites

Sure..

Just upload the pictures you like into /images (or elsewhere), then take mysqlcc or phpmyadmin (whatever you like), select your database, then find the table "products". You can edit the "products_image" to the file you like, relative to images/

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...