Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

IMAGE DOES NOT EXIST


CGIFTER

Recommended Posts

Posted

Please someone help me with this problem. I installed the Phoenix 1.0.5.0 successfully But when I try  to add a product I will receive an ERROR message that says IMAGE DOES NOT EXIST with a broken image in the store front. I am not sure what I am doing wrong. I have searched the forums for solution. Please your help will be appreciated. Thank you in advance.

Posted
48 minutes ago, CGIFTER said:

IMAGE DOES NOT EXIST

This you get in the admin side yes? if so then the image has failed to load to the required dir.

1) check you have the images/ dir and that permissions are set corectly

2) Check your paths in your confg file to be sure they are set correctly.

3) to check just fpt over one of the images and see if it shows.....

If it's not a path issue in your config or a permisions issue ............. check with your host as to see if image upload is restricted?

check error logs to see if they point to anything.

 

Posted

Incredible, I have communicated with my hosting agency and they checked and could not  find why I am no longer able to upload images. Product images look Ok. I am considering migrating to another hosting company if I am not able to resolve this problem. I have checked my CONFIGURE.PHP and all links appear genuine. Any further suggestions will be appreciated.

Posted

Two things that can cause problems:

1.  If they changed the ownership of the web server.  For example, the web server might have been apache and then changed to www-data.  So if the permissions of the images/ directory were less than 777, it might stop working even if it had previously worked with 775. 

2.  If they changed the permissions on wherever the images are uploaded temporarily.  Because the way that PHP works is that uploads the image to some location on the web server, e.g. /tmp and then moves it wherever you want it.  If the permissions are wrong on that temporary location, it could block uploads.  The temporary location is configurable if they don't want to change the permissions. 

Either of those things can happen as part of general upgrade/security review and might not necessarily seem to have anything to do with uploading images. 

A workaround would be to use FTP to upload the image and use phpMyAdmin to adjust the database.  So you don't need to lose business over this, just time. 

But I agree that if they can't fix this, a better long term plan would be a host switch. 

Always back up before making changes.

Archived

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

×
×
  • Create New...