Jump to content

Upgrade from 1.5.0.17 to 1.5.4 - Product images don't load and new cannot be added, please help


Recommended Posts

Hello,

 

I am working on an upgrade from 1.5.0.17 to 1.5.4 on my MAMP local server.

 

My issue is that the product images show in FO only in the product list in a category (home images) and in the BO only in the list of products (small images). They do not load in FO in product page (large and thickbox images). They do not load in BO in product detail --> Images either.

(As for the naming, all the images now have no "_default" suffix.)

Furthermore, I cannot add new images to a product - I get an alert "Error while creating additional image".

 

I copied the product images from my previous version to the img/p/ folder and tried virtually all variations of solutions mentioned in other posts in the forum - I played with the "_default" suffix, I tried out moving the images to a new storage system, I changed Legacy option, I always regenerated the images - a hundred times. I spent almost the whole today with this issue without any success. I am desperate.

 

Anybody has a clue on this? Any suggestions most welcome... :)

Link to comment
Share on other sites

I've a similar problem. my prestashop don't show my images uploaded by .CSV files by FTP filezilla

 

I've two prestashop platform : a test platform (permission file 700) and a webstore platform ( all permission file are in 777).

but i've tried change permission but it's still no work

 

So, i've always uploaded my images correctly with csv files without problems.

 

But since 2 month, in my webstore my images don't show. i try one items, two, ten..etc...while in my test platform works

 

First, in the both platform my preference images are without small_default and large_default, same Advanced Parameters Posted Image Performance disable cache, same clear files in directory smarty/ cache and complile; both platform are setted as :

memory_limit now set to 128mb

max_execution_time = 30

max_input_time = 30

 

The image upload is white with question mark and this is the wrong link associated by Prestashop :

 

http://sexyshopmonch.../1859-small.jpg

 

 

while when it worked the correct link was (this happened for both platform) :

 

http://sexyshopmonch...-1379-small.jpg

 

 

 

If i upload manually it's works. I've tried somes solutions in this forum but it don't works

 

I post my .htaccess files so you can see some error if you find

 

# .htaccess automaticaly generated by PrestaShop e-commerce open-source solution

# WARNING: PLEASE DO NOT MODIFY THIS FILE MANUALLY. IF NECESSARY, ADD YOUR SPECIFIC CONFIGURATION WITH THE HTACCESS GENERATOR IN BACK OFFICE

# http://www.prestashop.com - http://www.prestashop.com/forums

 

 

# URL rewriting module activation

RewriteEngine on

# URL rewriting rules

RewriteRule ^api/?(.*)$ /webservice/dispatcher.php?url=$1 [QSA,L]

RewriteRule ^([a-z0-9]+)\-([a-z0-9]+)(\-[_a-zA-Z0-9-]*)/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1-$2$3.jpg [L]

RewriteRule ^([0-9]+)\-([0-9]+)/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1-$2.jpg [L]

RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1/$1$2.jpg [L]

RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1/$2/$1$2$3.jpg [L]

RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1/$2/$3/$1$2$3$4.jpg [L]

RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1/$2/$3/$4/$1$2$3$4$5.jpg [L]

RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6.jpg [L]

RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7.jpg [L]

RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8.jpg [L]

RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9.jpg [L]

RewriteRule ^c/([0-9]+)(\-[_a-zA-Z0-9-]*)/[_a-zA-Z0-9-]*\.jpg$ /img/c/$1$2.jpg [L]

RewriteRule ^c/([a-zA-Z-]+)/[a-zA-Z0-9-]+\.jpg$ /img/c/$1.jpg [L]

RewriteRule ^([a-z]{2})/[a-zA-Z0-9-]*/([0-9]+)\-[a-zA-Z0-9-]*\.html /product.php?id_product=$2&isolang=$1 [QSA,L]

RewriteRule ^([a-z]{2})/([0-9]+)\-[a-zA-Z0-9-]*\.html /product.php?id_product=$2&isolang=$1 [QSA,L]

RewriteRule ^([a-z]{2})/([0-9]+)\-[a-zA-Z0-9-]*(/[a-zA-Z0-9-]*)+ /category.php?id_category=$2&isolang=$1&noredirect=1 [QSA,L]

RewriteRule ^([a-z]{2})/([0-9]+)\-[a-zA-Z0-9-]* /category.php?id_category=$2&isolang=$1 [QSA,L]

RewriteRule ^([a-z]{2})/content/([0-9]+)\-[a-zA-Z0-9-]* /cms.php?isolang=$1&id_cms=$2 [QSA,L]

RewriteRule ^([a-z]{2})/content/category/([0-9]+)\-[a-zA-Z0-9-]* /cms.php?isolang=$1&id_cms_category=$2 [QSA,L]

RewriteRule ^([a-z]{2})/([0-9]+)__[a-zA-Z0-9-]* /supplier.php?isolang=$1&id_supplier=$2 [QSA,L]

RewriteRule ^([a-z]{2})/([0-9]+)_[a-zA-Z0-9-]* /manufacturer.php?isolang=$1&id_manufacturer=$2 [QSA,L]

RewriteRule ^([0-9]+)(\-[_a-zA-Z0-9-]*)/[_a-zA-Z0-9-]*\.jpg$ /img/c/$1$2.jpg [L]

RewriteRule ^([0-9]+)\-[a-zA-Z0-9-]*\.html /product.php?id_product=$1 [QSA,L]

RewriteRule ^[a-zA-Z0-9-]*/([0-9]+)\-[a-zA-Z0-9-]*\.html /product.php?id_product=$1 [QSA,L]

RewriteRule ^([0-9]+)\-[a-zA-Z0-9-]*(/[a-zA-Z0-9-]*)+ /category.php?id_category=$1&noredirect=1 [QSA,L]

RewriteRule ^([0-9]+)\-[a-zA-Z0-9-]* /category.php?id_category=$1 [QSA,L]

RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*) /supplier.php?id_supplier=$1 [QSA,L]

RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*) /manufacturer.php?id_manufacturer=$1 [QSA,L]

RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*) /cms.php?id_cms=$1 [QSA,L]

RewriteRule ^content/category/([0-9]+)\-([a-zA-Z0-9-]*) /cms.php?id_cms_category=$1 [QSA,L]

RewriteRule ^en/page-not-found$ /404.php?isolang=en [QSA,L]

RewriteRule ^en/address$ /address.php?isolang=en [QSA,L]

RewriteRule ^en/addresses$ /addresses.php?isolang=en [QSA,L]

RewriteRule ^en/authentication$ /authentication.php?isolang=en [QSA,L]

RewriteRule ^en/best-sales$ /best-sales.php?isolang=en [QSA,L]

RewriteRule ^en/cart$ /cart.php?isolang=en [QSA,L]

RewriteRule ^en/contact-us$ /contact-form.php?isolang=en [QSA,L]

RewriteRule ^en/discount$ /discount.php?isolang=en [QSA,L]

RewriteRule ^en/guest-tracking$ /guest-tracking.php?isolang=en [QSA,L]

RewriteRule ^en/order-history$ /history.php?isolang=en [QSA,L]

RewriteRule ^en/identity$ /identity.php?isolang=en [QSA,L]

RewriteRule ^en/manufacturers$ /manufacturer.php?isolang=en [QSA,L]

RewriteRule ^en/my-account$ /my-account.php?isolang=en [QSA,L]

RewriteRule ^en/new-products$ /new-products.php?isolang=en [QSA,L]

RewriteRule ^en/order$ /order.php?isolang=en [QSA,L]

RewriteRule ^en/order-follow$ /order-follow.php?isolang=en [QSA,L]

RewriteRule ^en/quick-order$ /order-opc.php?isolang=en [QSA,L]

RewriteRule ^en/order-slip$ /order-slip.php?isolang=en [QSA,L]

RewriteRule ^en/password-recovery$ /password.php?isolang=en [QSA,L]

RewriteRule ^en/prices-drop$ /prices-drop.php?isolang=en [QSA,L]

RewriteRule ^en/search$ /search.php?isolang=en [QSA,L]

RewriteRule ^en/sitemap$ /sitemap.php?isolang=en [QSA,L]

RewriteRule ^en/stores$ /stores.php?isolang=en [QSA,L]

RewriteRule ^en/supplier$ /supplier.php?isolang=en [QSA,L]

RewriteRule ^en$ /en/ [QSA,L]

RewriteRule ^en/([^?&]*)$ /$1?isolang=en [QSA,L]

RewriteRule ^it/page-not-found$ /404.php?isolang=it [QSA,L]

RewriteRule ^it/address$ /address.php?isolang=it [QSA,L]

RewriteRule ^it/addresses$ /addresses.php?isolang=it [QSA,L]

RewriteRule ^it/authentication$ /authentication.php?isolang=it [QSA,L]

RewriteRule ^it/best-sales$ /best-sales.php?isolang=it [QSA,L]

RewriteRule ^it/cart$ /cart.php?isolang=it [QSA,L]

RewriteRule ^it/contact-us$ /contact-form.php?isolang=it [QSA,L]

RewriteRule ^it/discount$ /discount.php?isolang=it [QSA,L]

RewriteRule ^it/guest-tracking$ /guest-tracking.php?isolang=it [QSA,L]

RewriteRule ^it/order-history$ /history.php?isolang=it [QSA,L]

RewriteRule ^it/identity$ /identity.php?isolang=it [QSA,L]

RewriteRule ^it/manufacturers$ /manufacturer.php?isolang=it [QSA,L]

RewriteRule ^it/my-account$ /my-account.php?isolang=it [QSA,L]

RewriteRule ^it/new-products$ /new-products.php?isolang=it [QSA,L]

RewriteRule ^it/order$ /order.php?isolang=it [QSA,L]

RewriteRule ^it/order-follow$ /order-follow.php?isolang=it [QSA,L]

RewriteRule ^it/quick-order$ /order-opc.php?isolang=it [QSA,L]

RewriteRule ^it/order-slip$ /order-slip.php?isolang=it [QSA,L]

RewriteRule ^it/password-recovery$ /password.php?isolang=it [QSA,L]

RewriteRule ^it/prices-drop$ /prices-drop.php?isolang=it [QSA,L]

RewriteRule ^it/search$ /search.php?isolang=it [QSA,L]

RewriteRule ^it/sitemap$ /sitemap.php?isolang=it [QSA,L]

RewriteRule ^it/stores$ /stores.php?isolang=it [QSA,L]

RewriteRule ^it/supplier$ /supplier.php?isolang=it [QSA,L]

RewriteRule ^it$ /it/ [QSA,L]

RewriteRule ^it/([^?&]*)$ /$1?isolang=it [QSA,L]

 

# Catch 404 errors

ErrorDocument 404 /404.php

 

ExpiresActive On

ExpiresByType image/gif "access plus 1 month"

ExpiresByType image/jpeg "access plus 1 month"

ExpiresByType image/png "access plus 1 month"

ExpiresByType text/css "access plus 1 week"

ExpiresByType text/javascript "access plus 1 week"

ExpiresByType application/javascript "access plus 1 week"

ExpiresByType application/x-javascript "access plus 1 week"

ExpiresByType image/x-icon "access plus 1 year"

 

FileETag INode MTime Size

 

AddOutputFilterByType DEFLATE text/html

AddOutputFilterByType DEFLATE text/css

AddOutputFilterByType DEFLATE text/javascript

AddOutputFilterByType DEFLATE application/javascript

AddOutputFilterByType DEFLATE application/x-javascript

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...