CGIFTER Posted February 23, 2020 Posted February 23, 2020 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.
♥JcMagpie Posted February 23, 2020 Posted February 23, 2020 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.
CGIFTER Posted February 23, 2020 Author Posted February 23, 2020 Thank you very much my friend, I will do so and report my findings. Thank you.
♥JcMagpie Posted February 23, 2020 Posted February 23, 2020 This can also happen if the image has a bad file name, ie invalid characters or long names. Here is an example
CGIFTER Posted February 23, 2020 Author Posted February 23, 2020 OK, I will double check this also. This has brought so much frustration within the last 24 hours. Thanks JcMagpie
CGIFTER Posted February 24, 2020 Author Posted February 24, 2020 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.
♥ecartz Posted February 24, 2020 Posted February 24, 2020 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.
♥JcMagpie Posted February 24, 2020 Posted February 24, 2020 1 hour ago, CGIFTER said: Product images look Ok. Try to access the image directly in your browser, this will check if existing images can be seen on the site or not. https://www.yourwebsite/images/tomatoes-1.jpg
Recommended Posts
Archived
This topic is now archived and is closed to further replies.