Syourt Posted May 11, 2015 Share Posted May 11, 2015 Hi everyone, I've build a shop for one of my clients using prestashop. The shop is working fine and I have launched the shop a couple of months ago. Now a couple of days ago the images uploaded through the CMS panel suddenly stopped working. When I go via a direct link to the img/cms/.../.../filename.jpg then I get to see an internal server error. I have activated the dev mode and the following is showing up. ----- Notice: Undefined index: scenes in /home/bodyfas/domains/bodyfashionminerva.nl/public_html/cache/smarty/compile/dd/71/83/dd718363fdb089835f5fa074ba646cc9ec3f0fa0.file.header.tpl.php on line 191Notice: Trying to get property of non-object in /home/bodyfas/domains/bodyfashionminerva.nl/public_html/cache/smarty/compile/dd/71/83/dd718363fdb089835f5fa074ba646cc9ec3f0fa0.file.header.tpl.php on line 191Notice: Undefined index: category in /home/bodyfas/domains/bodyfashionminerva.nl/public_html/cache/smarty/compile/dd/71/83/dd718363fdb089835f5fa074ba646cc9ec3f0fa0.file.header.tpl.php on line 191Notice: Trying to get property of non-object in /home/bodyfas/domains/bodyfashionminerva.nl/public_html/cache/smarty/compile/dd/71/83/dd718363fdb089835f5fa074ba646cc9ec3f0fa0.file.header.tpl.php on line 191Notice: Trying to get property of non-object in /home/bodyfas/domains/bodyfashionminerva.nl/public_html/cache/smarty/compile/dd/71/83/dd718363fdb089835f5fa074ba646cc9ec3f0fa0.file.header.tpl.php on line 191Notice: Undefined index: category in /home/bodyfas/domains/bodyfashionminerva.nl/public_html/cache/smarty/compile/dd/71/83/dd718363fdb089835f5fa074ba646cc9ec3f0fa0.file.header.tpl.php on line 191Notice: Trying to get property of non-object in /home/bodyfas/domains/bodyfashionminerva.nl/public_html/cache/smarty/compile/dd/71/83/dd718363fdb089835f5fa074ba646cc9ec3f0fa0.file.header.tpl.php on line 191Notice: Trying to get property of non-object in /home/bodyfas/domains/bodyfashionminerva.nl/public_html/cache/smarty/compile/dd/71/83/dd718363fdb089835f5fa074ba646cc9ec3f0fa0.file.header.tpl.php on line 191 ----- I don't believe the above is causing the trouble because this already was there from the beginning. The thing is, the exact same images were working perfectly fine before. And now it suddenly stopped working. I'm using 1.6.0.14 with a custom build theme. You can see the error via this link. I hope you can help me, thanks in advance! Link to comment Share on other sites More sharing options...
Syourt Posted May 11, 2015 Author Share Posted May 11, 2015 I have found the solution via a post on http://www.inmotionhosting.com/support/community-support/prestashop-15/images-show-up-as-question-marks I've commented the 'php_flag engine off' out and added the RemoveHandler and RemoveType lines. The specific file I needed was /img/cms/.htaccess --- #php_flag engine offRemoveHandler .phpRemoveType .php --- Hope the above can help someone else! 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