j2designstudios Posted June 27, 2011 Share Posted June 27, 2011 I've been working on an upgrade to 1.4.2.5 for a week now and have everything mostly working EXCEPT the product images aren't showing up. I've checked everything I know to check and have looked through the forums but have not found anything with a clear (or even close) answer to the problem.Here's what's been done so far.- Upgraded from 1.2.5 to 1.4.2.5 on a testing server - Product images are not showing up- Regenerated all the thumbnails- Recreated the .htaccess file through the backoffice- Set permissions of /img/ to 777 (no luck, not allowed by host) and 644 (no luck, allowed by host)- Originally uploaded through FileZilla, tried to upload through cpanel file manager- Thought it was a theme issue, so used the OFFICIAL Prestashop theme that came with 1.4.2.5None of these things worked at all. Now, here are some ODD THINGS that I've noticed:- Product images show up in the back office but point to files that do not exist on the server- These files don't exist on the old server- Switching to Smarty 3 completely breaks the site, so it's using Smarty 2- Using Friendly URLs breaks it even worse, no images on either setting (on or off)I've already seen the posts that say "set your status to [sOLVED] when it's fixed", so I don't need any posts about that. Has anyone else had this problem? Any idea on how it can be fixed? Were you able to even fix it??We CAN'T proceed with the upgrade on the live site until this is resolved because the live site works, even though it's still using 1.2.5 and I don't want to screw that up. We've looked at possibly hosting the site with Prestashop. Has anyone had any experiences with that, good/bad/ugly?All in all, I am amazed that Prestashop doesn't have an auto-update feature like many other Open Source platforms out there. Link to comment Share on other sites More sharing options...
Thomas Didierjean Posted June 27, 2011 Share Posted June 27, 2011 Hi,Could you please create a bug report in the forge (see my signature for URL)?Regards,Thomas Link to comment Share on other sites More sharing options...
j2designstudios Posted June 27, 2011 Author Share Posted June 27, 2011 Thomas,Thanks for the quick reply. I have created a bug at http://forge.prestashop.com/browse/PSCFI-2459 Link to comment Share on other sites More sharing options...
fyreflyX Posted June 28, 2011 Share Posted June 28, 2011 Same issue here, watching the thread closely for a fixOnly affects new products being added w/images. Link to comment Share on other sites More sharing options...
j2designstudios Posted June 28, 2011 Author Share Posted June 28, 2011 fyreflyX - I'm having this problem with all of my images, even the old ones from my previous install. Let me know if you find a solution. Link to comment Share on other sites More sharing options...
fyreflyX Posted June 28, 2011 Share Posted June 28, 2011 I just installed PrestaCart a couple weeks ago, my install was only an update to 1.4 final from the last version. I was in the middle of building the site when I saw the notice to update to 1.4 Final. I was really disappointed to find out that the images no longer worked. The only other differences I may have to your install is I'm using Smarty 3.0 & using friendly urls. I'm not a php [spam-filter], and it may be unrelated, but the only difference I see unique between old image locations and new is the url structure:old structure uses: http://domain.com/products/##-##-home/image.jpgnew structure uses http://domain.com/products/###-home/image.jpgI have to dig deeper and will post a fix if I can sort it out. Link to comment Share on other sites More sharing options...
j2designstudios Posted June 28, 2011 Author Share Posted June 28, 2011 That might have something to do with it. I honestly don't know what Smarty 2 and 3 are, haven't looked into it yet. All I know is when I switched to the other version of Smarty, the whole thing broke. Link to comment Share on other sites More sharing options...
fyreflyX Posted June 28, 2011 Share Posted June 28, 2011 For the Smarty 2 to 3 issue, the site template would need to be Smarty 3 compatible. Did you try with the default theme? Link to comment Share on other sites More sharing options...
j2designstudios Posted June 28, 2011 Author Share Posted June 28, 2011 I've not tried that option yet. It's worth a shot. I'll try that and post my results back here. Link to comment Share on other sites More sharing options...
j2designstudios Posted June 28, 2011 Author Share Posted June 28, 2011 That didn't seem to work. Here's all I got when I switched back to Smarty 3. Same thing showed up with our custom template and the default template for the current version of prestashop (1.4.2.5 in this case). Link to comment Share on other sites More sharing options...
fyreflyX Posted June 28, 2011 Share Posted June 28, 2011 When you changed to the default template for 1.4 did you turn force compile on? If not, it may still be showing the old templateForce Compile is in the Performance tab Link to comment Share on other sites More sharing options...
j2designstudios Posted June 28, 2011 Author Share Posted June 28, 2011 Sure didn't. Didn't even know about that one.Force Compile was already turned on. I'm starting to think that this installation of PS is possessed. Link to comment Share on other sites More sharing options...
fyreflyX Posted June 28, 2011 Share Posted June 28, 2011 That's really odd. I'm only first using prestacart, I'm not really familiar with version issues and upgrades along the way.Probably a stupid question, but are you sure when you did the upgrade that you followed the steps here: Update PrestaCarthttp://www.prestashop.com/wiki/Installing_and_Updating_PrestaShop_software/(I had a problem until I copied the old htaccess file over, not with just the image issue that hopefully they will resolve soon)It may be worth starting fresh if each step if its still not working. Link to comment Share on other sites More sharing options...
j2designstudios Posted June 29, 2011 Author Share Posted June 29, 2011 I did. Not a stupid question. The only issue I ran into when I was upgrading was the installer said that the database version was not 1.2.5, like the config file said. It was supposedly somewhere between 1.0 and 2.1, based on its structure. I couldn't find anything that would tell me how to figure out which version of the database I had, so I just changed it to the highest version value in the config file and it went through.I did find out that not all of the images were transferred over in the test. For some reason, I'm only able to see a certain number of files via FTP but there are tons more on the server when I go through the cpanel and use File Manager. Why I didn't think of this the first time I have no idea. I'm going to try to get our host to copy everything over for us and see if that fixes it. If for some reason it doesn't I'll let you know. Link to comment Share on other sites More sharing options...
fyreflyX Posted June 29, 2011 Share Posted June 29, 2011 Hope it goes well Link to comment Share on other sites More sharing options...
fyreflyX Posted June 29, 2011 Share Posted June 29, 2011 FYIFixing the error I was getting where new images being added after the upgrade were failing to display was fixed by regenerating the htaccess file via Preferences > SEO & URLs. Link to comment Share on other sites More sharing options...
j2designstudios Posted June 29, 2011 Author Share Posted June 29, 2011 We did that. Will do it again once the files are transferred over in case they aren't showing. My biggest fear in this has been running the upgrade on the live site and breaking something. Link to comment Share on other sites More sharing options...
fancydressqueen Posted July 1, 2011 Share Posted July 1, 2011 Any luck in solving your issue?My images don't show when I have friendly urls on but do show when it is turned off. Link to comment Share on other sites More sharing options...
fyreflyX Posted July 1, 2011 Share Posted July 1, 2011 Was it an upgrade or new install?My upgrade failed, but regenerating the htaccess fixed the issue Link to comment Share on other sites More sharing options...
j2designstudios Posted July 1, 2011 Author Share Posted July 1, 2011 No luck yet, still waiting on our host to move images over. I'm ASSUMING that by having all the images moved over we can rebuilt the thumbnails and the htaccess file and it should be ok. If that's the case, I'll let you guys know as soon as I find out.Needless to say this has not been a smooth upgrade at all. Lots of variables, and we're coming from an extremely old version (1.2.5) but still, not smooth at all. Link to comment Share on other sites More sharing options...
fyreflyX Posted July 1, 2011 Share Posted July 1, 2011 Good luck j2designstudios. Hopefully moving over the images will help.! Link to comment Share on other sites More sharing options...
shiraz009 Posted July 5, 2011 Share Posted July 5, 2011 FYIFixing the error I was getting where new images being added after the upgrade were failing to display was fixed by regenerating the htaccess file via Preferences > SEO & URLs. This worked for me too Link to comment Share on other sites More sharing options...
theothersimon Posted July 10, 2011 Share Posted July 10, 2011 @j2design did you manage to resolve this problem? If so how? I have a similar issue. Link to comment Share on other sites More sharing options...
j2designstudios Posted July 12, 2011 Author Share Posted July 12, 2011 We got all of the images moved by our host and everything seemed to work. We had to rebuild the thumbnails and htaccess file for good measure. From what I can gather about this, make sure you are seeing all of your image files if you are using a testing server to upgrade your PS install. We were only able to see roughly 8,000 files but we had many many MANY more than that. The only way I could see all of the files was to use our cpanel file browser and look in /img/pIf you have all of your image files, and you've rebuilt your thumbnails and your htaccess file, and you're STILL not seeing your product images, then I honestly don't know what else you can do. I hope this helps. If not, please post back here with some more details about your problem and maybe I or another forum user/mod will catch something.Best of luck! Link to comment Share on other sites More sharing options...
cyfaworld Posted July 12, 2011 Share Posted July 12, 2011 I went thru it and finally all my photos showed up. I went into the preferences and said no to use smarty 2 instead of 3... they are all back.. whoo hoo Link to comment Share on other sites More sharing options...
j2designstudios Posted July 12, 2011 Author Share Posted July 12, 2011 That's great! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now