Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

No images showing


Karlin

Recommended Posts

Posted

I am having the exact same problem, and am also running MS2.2. Did you ever get this problem resolved? If so, please explain how. I sure could use the help!

 

Thanks,

Karlin

Posted
I am having the exact same problem
? what problem exactly? and maybe a url so we can check

 

The_Bear

Posted

The URL is http://www.karlin.com/scripts/OS_Commerce_...script/catalog/

 

But the problem I am having is in the Admin panel. I can't get the images to load when adding a New Product. I have uploaded all images to the /catalog/images directory via FTP, and file permissions are set to 777, so I am don't think I am having a permissions problem.

 

When adding the product through the Admin panel, I try to put the name of the image in the box. But it only wants my local computer name, not the name of the image on the server.

 

I don't know if this is related or not, but when I go into File Manager, I see this:

File Manager

.../OS_Commerce_Shopping_script/catalog//images

 

What file should I modify to fix the // problem? I have poured over my configure.php files, but can't seem to find any misconfiguration. I am really frustrated! Any help would be greatly appreciated.

 

Regards,

Karlin

Posted

in your configure.php do have it like this

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

or like this

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

?

 

The_Bear

Posted

When you insert product, in Products Image: do you write> images/your image.jpg ?

 

The_Bear

Posted

I tried that, but when I click Preview, I receive a message at the top of the page saying:

 

Warning: No file uploaded.

 

The image still shows the red X.

Posted

The

Warning: No file uploaded.
is just a notice to say that you did not upload a file from your computer to your server

Are your images on your computer in the same folder as where you want them on your server (when you use the browse button) ?

 

The_Bear

Posted

The images on my local computer are in this directory:

C:Karlin EnterprisesPHP ScriptsOS Commerce Shopping Cartimages

 

On the server, they are located at:

.../OS_Commerce_Shopping_script/catalog/images

Posted

I moved the images folder on my local directory to correspond with the server directory structure, and voila! Now it works. I had no idea the folders had to be in the same places between server and local machine.

 

Thank you, now I can get on with business! Yeah!

 

Regards,

Karlin

Posted

Well, I still have the problem with the // in the path in File Manager:

File Manager

.../OS_Commerce_Shopping_script/catalog//images

 

Anyone know how to resolve this?

Posted

I was having problems similar to what you reported. I tried to upload an image as part of creating a new product and I got the "File not uploaded" message and a broken image.

 

What I ended up discovering after way too many hours was that osCommerce appears to depend on the presence of a directory named "tmp" in the document root directory. I did not have one there but once I added it, the product creation and image upload worked fine.

 

Hope this helps.

Archived

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

×
×
  • Create New...