Images show up as question marks in PrestaShop

Category: Prestashop 15

southsidevacuum
Asked:
2014-03-24 10:51 am EST

Hits: 469
I am having problem when I up dated my shop from 1.5.6.2 to 1.6.0.5 the images come up as Question marks
http://southsidevacuum.com/upright-vacuums/994-sebo-9501am-x-4-vacuum-black.html#.UzBD6_ldW80

southsidevacuum.com

I also went and installed a fresh copy in a separate folder and have same results

http://southsidevacuum.com/test2/index.php?id_product=1&controller=product

I have posted this question to the presta shop Forum with no response

You must login before you can ask a follow up question.

You must login before you can submit an answer.

OTHER ANSWERS

0

johnpaulb-imhs1
Staff
7,266 Points
2014-03-24 11:50 am EST
Hello,

Thank you for your question. As a test, I created a new installation of PrestaShop on your server, and the images display successfully.

Also, in the default installation, there is no images that displays where you are getting the question mark.

Are you using a custom theme/plugin or addon?

If you have any further questions, feel free to post them below.
Thank you,

-John-Paul

You must login before you can post a comment about this answer.

I thought it had to do with my theme to but if you look at the URL below

http://southsidevacuum.com/test2/index.php?id_product=1&controller=product

This is a new instalion if presta shop with no custom themes and it shows a a question mark

If you install a presta shop and then go to product page or cms page and add a image and the preview page
southsidevacuum
19 Points
2014-03-24 12:23 pm EST
Hello,

I took a closer look at your image requests, and it looks like if you tried to call up an image directly it was throwing this error on the server:

.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration


Because we run suPHP on our servers to securely execute PHP scripts, the following rule that you had placed in your /img/cms/.htaccess file was causing this error:

php_flag engine off


I went ahead and commented this line out for you in both your PrestaShop installations, and replaced it with this bit of code which should effectively do the same thing that rule was trying to do (turn off PHP execution on your image directory):

RemoveHandler .php
RemoveType .php


Your images should now display properly. Please let us know if you're still having any issues at all.

- Jacob
JacobIMH
9,521 Points
Staff
2014-03-24 1:56 pm EST
Like this Question?

News / Announcements

WordPress wp-login.php brute force attack
Updated 2014-07-17 06:43 pm EST
Hits: 201645

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!