cogeanumarius Posted August 2, 2012 Share Posted August 2, 2012 Hello to all, I have been using a shared environment for my prestashop 1.4.8.2, all was and still is fine. I found a really interesting offer from amazon ec2, and I built a ubuntu 12 x64 instance. I have installed LAMP and I have configured the environment for a test install of prestashop. I can not see any of the images of the catalog. Please let me know what details you may need so you could give to me some advice of what can I change so the images would be displaied. I have tried all the available options in the BO: - Force compile to YES - Cache to NO - Regenerate the .httaccess - accessed the webpage from a portable version of the browser - so I would have no local cache - Back Office > Preferences > Images - Regenerate thumbnails I have also attached a file so you could see how a PS looks without images of the products Please advice Link to comment Share on other sites More sharing options...
bellini13 Posted August 2, 2012 Share Posted August 2, 2012 try turning off friendly URL and remove the .htaccess file located in the root folder. let us rule out if that is the issue or not. 1 Link to comment Share on other sites More sharing options...
cogeanumarius Posted August 3, 2012 Author Share Posted August 3, 2012 Salve bellini13, I have just disabled url friendly and regenerated the .httaccess file (I did not removed it) and the images are in. Great. My question is now, how can I have both, images and url friendly at the same time Thank you for your help. Link to comment Share on other sites More sharing options...
bellini13 Posted August 3, 2012 Share Posted August 3, 2012 ok, well now that we isolated the issue to .htaccess, that gives us a clue. I have never used amazon services, but apparently it does not like the redirect that is occurring. my suggestion would be to call amazon tech support, provide the .htaccess file and ask them why their server does not support that style of redirect. 2 Link to comment Share on other sites More sharing options...
cogeanumarius Posted August 3, 2012 Author Share Posted August 3, 2012 Hi there, I have posted the problem on Amazon Forum, here is the link In case I will get a solution I will let all of you how I have done it. I have attached there the content of .htaccess so maybe you could suggest something else. Thank you Link to comment Share on other sites More sharing options...
benjamin utterback Posted August 3, 2012 Share Posted August 3, 2012 Thank you bellini13 for the quick response. Everybody here appreciates your valuable input. cogeanumarius, I thank you for advance for posting a valid solution to the forumn once amazon has this sorted out. Thanks for using PrestaShop! Link to comment Share on other sites More sharing options...
cogeanumarius Posted August 3, 2012 Author Share Posted August 3, 2012 There is nothing so far, but I am not sure if they can help with something, that is because I have fullaccess to the Ubuntu instance and I can modify all the variables, so, if you could point me to what would you be interested, I think I can post it here for analize so we could modify it and re test. Thank you in advance Link to comment Share on other sites More sharing options...
cogeanumarius Posted August 4, 2012 Author Share Posted August 4, 2012 On Amazon I chose Ubuntu 12.04 64bit as OS, so please let me know what config should I paste to you so you could identify where the problem might be. Maibe this could help somehow: I have setup the server to host a single website in: cd /etc/apache2/sites-enabled/ vi 000-default and changed these lines: DocumentRoot /var/www <Directory /var/www/> with these ones: DocumentRoot /content/sites/mydomain.com <Directory /content/sites/mydomain.com/> So I will only have this website hosted, no virtual host is setup. I have also done this: cd /etc/apache2/ vi envvars and changed these lines: export APACHE_RUN_USER=www-data export APACHE_RUN_GROUP=www-data with these ones: export APACHE_RUN_USER=ubuntu export APACHE_RUN_GROUP=ubuntu so I will get no error related to file permissions during the install. Note: I have a system user: ubuntu Link to comment Share on other sites More sharing options...
cogeanumarius Posted August 4, 2012 Author Share Posted August 4, 2012 Hi to all, I have solved this using this link Link to comment Share on other sites More sharing options...
bellini13 Posted August 4, 2012 Share Posted August 4, 2012 ah interesting, mod_rewrite was not turned on. thanks for sharing how to fix the issue, hopefully it will help someone in the future 1 Link to comment Share on other sites More sharing options...
benjamin utterback Posted August 7, 2012 Share Posted August 7, 2012 Thanks everybody. I will go ahead and mark this thread as solved. Thanks for choosing PrestaShop! 1 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