Images show up as question marks in PrestaShop

Category: Prestashop 15

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

Hits: 1,650
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.

I could use assistance with this same problem. I had the images working but I had to have in motion reinstall prestashop and the images are again showing question marks. Website is christianexpressions.com
christianexpressions
67 Points
2014-09-25 11:50 am EST
Hello christianexpressions,

Could you clarify where exactly you see this?
JeffMa
9,942 Points
2014-09-25 12:18 pm EST

OTHER ANSWERS

0

johnpaulb-imhs1
Staff
10,994 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,968 Points
Staff
2014-03-24 1:56 pm EST
it is actually 500 error message. I tried several browsers. One thing I just noticed, when I went to 'categories' in my admin, its not showing all my categories. Its just showing a few and a few are from the multishop that I had created and which is what caused all these problems. Modules are not letting me add categories links to the footer or left side bar. They only show in the header. The 500 error occurs when you go to modules-positions-run live edit
christianexpressions
67 Points
2014-09-25 3:42 pm EST
Could you clarify the specific steps that you are taking when you get the error?
JeffMa
9,942 Points
Staff
2014-09-25 3:51 pm EST
0

christianexpressions
2014-09-25 12:42 pm EST
Hi, its all the products. Here is a link for one category.
http://www.christianexpressions.com/paperweights/
I am pretty sure it has to do with the location . I have tried to regenerate images but I get error messages.

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

It looks like you were missing images within your site. I did notice you had another copy of your site there so I copied the images from there in which I see things are working well now.
JeffMa
9,942 Points
Staff
2014-09-25 2:00 pm EST
wow you are AWESOME! I never would have gotten that fixed. Now I have one more issue . The 'add to cart' is not showing in any products. I double checked the 'preferences' section to make sure the catalog mode was on and it is. I turned it off and back on and it still doesn't show. I read online that this could be a bug or a product code setting. Can you fix this? I don't dare go into the ftp again
christianexpressions
67 Points
2014-09-25 2:51 pm EST
It appears that your PrestaShop installation was set to Catalog Mode. I disabled it and your prices and Add to Cart buttons are now showing up.

For future reference, this setting can be located by clicking on Preferences, then Products.
JeffMa
9,942 Points
Staff
2014-09-25 3:06 pm EST
thank you for fixing that. I'm so sorry I need to ask you to fix something else. I went into modules position and clicked on 'run live edit' and it gave me a 505 error page. I want to remove modules on the homepage and left side bar. I am also trying to add categories in the footer and left side bar but its not working
christianexpressions
67 Points
2014-09-25 3:19 pm EST
I was unable to replicate this issue and a 505 error is typically related to the web browser you are using. Have you tried using another browser?
JeffMa
9,942 Points
Staff
2014-09-25 3:36 pm EST
Yes I went to modules then to positions then clicked the 'run live edit' button the right . This is the direct link that shows the 500 error
http://christianexpressions.com/?live_edit=1&ad=admin123&liveToken=3ab6ccc15f700e3f828214f008d8754a&id_employee=1&id_shop=6
christianexpressions
67 Points
2014-09-25 3:55 pm EST
It appears that you had a theme activated within your databaselabeled black-white but it was not actually installed and only parts were active. I have corrected the issue and made the default theme fully active that was displaying instead of the broken theme which resolved the issue.
JeffMa
9,942 Points
Staff
2014-09-25 4:27 pm EST
thank you for fixing that. If you can address the issue with the categories not showing in category admin I promise this will be my last request for today. If you go to the admin, click 'categories' its just showing a few of them and several are shown several times . This has to do with the multishop issue . That other shop is still in there and I think the categories are showing from that shop ; not christian expressions. I should have many categories and subcategories for christian expressions. I think this is why I am unable to add a block for them to the footer.
christianexpressions
67 Points
2014-09-25 5:08 pm EST
I was able to take every category that was stored in your database and place it within the root category structure so you should see them there. With that said, you will need to move any subcategories back into their parent categories, but everything should be displaying for you now.
JeffMa
9,942 Points
Staff
2014-09-25 5:56 pm EST
Thank you very much for all your help :)
christianexpressions
67 Points
2014-09-25 6:03 pm EST
so the problem is none of the products are associated with any categories. What I think happened was, in motion backed up the database from yesterday which had already been screwed up due to the issues with the multishop. Right now all products in the system have no assigned categories and the only option when you select one is the root 'clergy apparel' which is from the multishop. It won't allow me to add the correct category (the only category option is 'root clergy apparel) If you search products on the front end, most don't show up.

I think the only way to fix it is to reinstall the earlier database. I can get that from the migration company. Would someone be able to reinstall the products and categories from the database before the multishop problem?
christianexpressions
67 Points
2014-09-25 6:43 pm EST
Hello,

I was speaking with Jeff earlier, before he made last change to your database. He has a backup of it, but it's on his computer, so we would need to have him restore it tomorrow. I'll send him a note, since you've requested that the old database be restored.

Regards,
Arnel C.
Arncus-tester
18 Points
Staff
2014-09-25 6:48 pm EST
that would be great. Hopefully its a backup before the multishop problem (which was yesterday). I'll wait for your reply tomorrow . Thanks :)
christianexpressions
67 Points
2014-09-25 6:50 pm EST
Hi, I'm just following up with yesterdays conversation. Last we spoke, Jeff was going to reinstall the database. I still think the main website is somehow pointing to the multi shop. If you can delete the second site clergy-apparel.com I wonder if it would resolve
christianexpressions
67 Points
2014-09-26 12:35 pm EST
Hello,

Apologies for the delay. I'm waiting for Jeff to be available. As soon as he is, I'm sure he'll be able to restore your database quickly.

Regards,
Arnel C.
Arn
18,399 Points
Staff
2014-09-26 12:39 pm EST
I have restored your database from a backup that I created prior to making the changes for your last request regarding the product categories. Unfortunately, any issues you were having prior to this are still present. This includes the root cause of your issues which is a broken multistore installation. Your best solution in resolving this would be to either restore from any backups that you previously made, or reinstall PrestaShop and begin adding your content back to your site.
JeffMa
9,942 Points
Staff
2014-09-26 2:45 pm EST
Like this Question?

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!