Vallo92 Posted June 20, 2011 Share Posted June 20, 2011 (Excuse the English but I am translating with google)Hello guys,I just upgraded my PS to the latest version 1.4.3. Only now I found a problem with visualizzazionene images. Virtually product images are displayed correctly, while the categories of images are not appearing and they appear are the red X error display .. If the Control Panel Administrative rpesenti pictures in the categories are properly ...How can I do? Link to comment Share on other sites More sharing options...
Thomas Didierjean Posted June 20, 2011 Share Posted June 20, 2011 Hi,Did you regenerate the .htacess file after updating? If it doesn't help, you can send me you back office and FTP access by private message and I'll have a look.Regards, Link to comment Share on other sites More sharing options...
Vallo92 Posted June 20, 2011 Author Share Posted June 20, 2011 Thanks! That was the problem and now solved! Link to comment Share on other sites More sharing options...
asenik Posted June 28, 2011 Share Posted June 28, 2011 I try to regenerate the .htacess, but display only few pictures. Any ideas? site - http://sharm.lviv.ua/3-women.htacess file: # .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 activationRewriteEngine on# URL rewriting rulesRewriteRule ^api/?(.*)$ /webservice/dispatcher.php?url=$1 [QSA,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 ^([0-9]+)\-[a-zA-Z0-9-]*\.html /product.php?id_product=$1 [QSA,L]RewriteRule ^([0-9]+)\-[a-zA-Z0-9-]* /category.php?id_category=$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-]*) /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 ^([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/c/$1$2.jpg [L]RewriteRule ^page-not-found$ /404.php [QSA,L]RewriteRule ^address$ /address.php [QSA,L]RewriteRule ^addresses$ /addresses.php [QSA,L]RewriteRule ^authentication$ /authentication.php [QSA,L]RewriteRule ^best-sales$ /best-sales.php [QSA,L]RewriteRule ^cart$ /cart.php [QSA,L]RewriteRule ^contact-us$ /contact-form.php [QSA,L]RewriteRule ^discount$ /discount.php [QSA,L]RewriteRule ^guest-tracking$ /guest-tracking.php [QSA,L]RewriteRule ^order-history$ /history.php [QSA,L]RewriteRule ^identity$ /identity.php [QSA,L]RewriteRule ^manufacturers$ /manufacturer.php [QSA,L]RewriteRule ^my-account$ /my-account.php [QSA,L]RewriteRule ^new-products$ /new-products.php [QSA,L]RewriteRule ^order$ /order.php [QSA,L]RewriteRule ^order-follow$ /order-follow.php [QSA,L]RewriteRule ^quick-order$ /order-opc.php [QSA,L]RewriteRule ^order-slip$ /order-slip.php [QSA,L]RewriteRule ^password-recovery$ /password.php [QSA,L]RewriteRule ^prices-drop$ /prices-drop.php [QSA,L]RewriteRule ^search$ /search.php [QSA,L]RewriteRule ^sitemap$ /sitemap.php [QSA,L]RewriteRule ^stores$ /stores.php [QSA,L]RewriteRule ^supplier$ /supplier.php [QSA,L]# Catch 404 errorsErrorDocument 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 More sharing options...
Thomas Didierjean Posted June 29, 2011 Share Posted June 29, 2011 Hi,In tab Preferences > Products, is compatibility with the legacy image system activated? Is it only old products that do not display images, or new products too?Regards, Link to comment Share on other sites More sharing options...
asenik Posted June 29, 2011 Share Posted June 29, 2011 In tab "Preferences - Images" i move images to the new storage system. After that i set to NO "Activate legacy images compatibility".I try to regenerate pictures, but system send me error: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2304 bytes) in /home/tlab/public_html/sharm.lviv.ua/images.inc.php on line 302 New added products don't display too. But in admin catalog - all pictures are available. Link to comment Share on other sites More sharing options...
Thomas Didierjean Posted June 29, 2011 Share Posted June 29, 2011 You can try to allow more memory by adding init_set('memory_limit', '128M') at the beginning of the file images.inc.php (just after the php tag). Link to comment Share on other sites More sharing options...
asenik Posted June 29, 2011 Share Posted June 29, 2011 maybe ini_set('memory_limit', '128M') ???But don't work again. I must tell to hoster to enlarge my memory limit? Link to comment Share on other sites More sharing options...
Thomas Didierjean Posted June 30, 2011 Share Posted June 30, 2011 Yes, if possible. Link to comment Share on other sites More sharing options...
manie Posted June 30, 2011 Share Posted June 30, 2011 ok, thanks. That is the problem and now it is solved! :s Link to comment Share on other sites More sharing options...
asenik Posted June 30, 2011 Share Posted June 30, 2011 thnx. problem solved Link to comment Share on other sites More sharing options...
Recommended Posts