Yafay Posted February 18, 2013 Share Posted February 18, 2013 Hi, I don't understand why my product image in front office cannot show, but back office and image folder uploaded success. Yesterday I was uploaded products by csv and images can display FO, but now it give me this trouble, a huge trouble.. Please tell me what to do? Thanks. See attached screenshot below: The backoffice product image was there, but.. Front office not showing image I went to check image folder, it was all there, then why it refuse to show up in FO? Link to comment Share on other sites More sharing options...
Yafay Posted February 18, 2013 Author Share Posted February 18, 2013 I using 1.5.2 of presta Link to comment Share on other sites More sharing options...
Dh42 Posted February 18, 2013 Share Posted February 18, 2013 I am shooting from my hip with out a link to your site, but I would suggest going to the image tab in the back office and regenerating all of the product images. Can you provide a link to your site also? Link to comment Share on other sites More sharing options...
Yafay Posted February 19, 2013 Author Share Posted February 19, 2013 Thanks for the suggestion, the regenerate product images doesn't solved. My store not yet open, I just doing local test, I appreciated for helping but my another possible idea is to re-create a new store and upload products again. good luck to me, anything I'll report here. Link to comment Share on other sites More sharing options...
wlongdonstudio Posted February 19, 2013 Share Posted February 19, 2013 how to fix this problem recently when i try to upload images in the product category it pops up saying undefined but when i press save and stay i see the images there but when i go to view the product of the front end there's suddently no image please help http://laloptical.com/Shop/en/metal/49-krista.html Link to comment Share on other sites More sharing options...
guest* Posted February 19, 2013 Share Posted February 19, 2013 Your server has magic_quotes_gpc set to OFF ? You regenerated a new .htaccess ? .htacces has CHMOD 0750 at least ? Your Folder /img and sub-folders and also all images contained in it have CHMOD 0750 at least ? Server is very slow for me... Which memory_limit do you have ? Which max_input_time and max_execution_time. It seems that some parts cannot be loaded. memrory_limit should not under 128M and max_execution_time and max_input_time not under 300 for both. Link to comment Share on other sites More sharing options...
wlongdonstudio Posted February 20, 2013 Share Posted February 20, 2013 memory_limit now set to 128mb max_execution_time = 30 max_input_time = 60 still having the same error Link to comment Share on other sites More sharing options...
Yafay Posted February 20, 2013 Author Share Posted February 20, 2013 Agree to wlongdonstudio. 8500 Pictures took large memory. It needed 7-hours of processing time to import my products. Some of product image were goes to a blank image, when I delete it and uploaded again it gives warning "undefined". Image cannot change still, front office also not shown for defined images. Is my config setting correct? /* Debug only */ @ini_set('display_errors', 'on'); define('_PS_DEBUG_SQL_', true); @ini_set('memory_limit', '300000M'); $start_time = microtime(true); /* Compatibility warning */ define('_PS_DISPLAY_COMPATIBILITY_WARNING_', false);/* SSL configuration */ define('_PS_SSL_PORT_', 443); Link to comment Share on other sites More sharing options...
wlongdonstudio Posted February 20, 2013 Share Posted February 20, 2013 i try this and it still don't work.. https://github.com/PrestaShop/PrestaShop/commit/3d1663279af813dafd19f128569c7c8fa4b34dea#commitcomment-2654899 i have 1.5.3.1 i'm still getting this undefined error this has already been done still having the error.. how to fix this? how to fix this problem recently when i try to upload images in the product category it pops up saying undefined but when i press save and stay i see the images there but when i go to view the product of the front end there's suddently no image please help http://laloptical.co.../49-krista.html Link to comment Share on other sites More sharing options...
wlongdonstudio Posted February 20, 2013 Share Posted February 20, 2013 ok this allowed my images to show up again try this Advanced Parameters Performance disable cache Link to comment Share on other sites More sharing options...
wlongdonstudio Posted February 20, 2013 Share Posted February 20, 2013 well got this error after so not sure but at least the images are showing up now on fo Warning : Wrong parameter count for clearstatcache() in /home/toproadl/public_html/laloptical.com/Shop/classes/ImageManager.php on line 122 Link to comment Share on other sites More sharing options...
bozor2 Posted March 15, 2013 Share Posted March 15, 2013 Hi, please help me it's urgent . Prestashop Version: 1.4.6.2 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 More sharing options...
Recommended Posts