ariopp Posted June 7, 2009 Share Posted June 7, 2009 When uploading an image for a category, it does not upload correctly. It should make an image called "xx-category.jpg" (where xx is the ID of the product)Instead, it just creates xx.jpg, and thus the category picture will not show on the front page Link to comment Share on other sites More sharing options...
Patric Posted June 7, 2009 Share Posted June 7, 2009 PS version ? Link to comment Share on other sites More sharing options...
ariopp Posted June 7, 2009 Author Share Posted June 7, 2009 1.2.0.2 Link to comment Share on other sites More sharing options...
Luckybar Posted June 9, 2009 Share Posted June 9, 2009 I have the same problem, version: 1.2.0.2 Link to comment Share on other sites More sharing options...
Patric Posted June 9, 2009 Share Posted June 9, 2009 What is your PHP version ? Link to comment Share on other sites More sharing options...
Luckybar Posted June 9, 2009 Share Posted June 9, 2009 PHP :5.2.9Mysql 4.1.2Windows 2003 IIS.I have try 1.1 version, everything are working good.So far, on 1.2.0.2, ONLY uploading category images have problem. other than that. everythings are fine. it do not create xx-catergory.jpg file on c folder, only created xx.jpg for somehow.Also, i just try create a subCategory, it have same problem, it do not create xx-medium.jpg too. Link to comment Share on other sites More sharing options...
Patric Posted June 9, 2009 Share Posted June 9, 2009 So, that may be the reason.On http://www.prestashop.com/en/downloads/ we can read : * Some PHP 5 versions are bugged and prevent PrestaShop from working correctly:- PHP 5.2.1 (authentication is impossible)- PHP 5.2.6 (authentication is impossible under 64bits servers)- PHP 5.2.9 (image management/upload broken)- PHP < 5.2 (invalid date timezone) This is a PHP bug. Link to comment Share on other sites More sharing options...
Luckybar Posted June 9, 2009 Share Posted June 9, 2009 So...anyone know which PHP version i better use?However i am still don't get it. howcome it can create file and also rename name for the images, but only not for category and subcategory images rename. it does create file in tem folder. Link to comment Share on other sites More sharing options...
ariopp Posted June 9, 2009 Author Share Posted June 9, 2009 nah, its got nothing to do with the PHP version.There is a bug in version 1.2.0.2. Just download the SVN, and everything will work fine!Good luck! Link to comment Share on other sites More sharing options...
natngnear Posted June 19, 2009 Share Posted June 19, 2009 I got the same problem too (in 1.2.0.2) but after sometime (hours or days) the images just came up. Meanwhile I was adding products to the categories in problem so I guess something have triggered it. Link to comment Share on other sites More sharing options...
diamond204 Posted July 19, 2009 Share Posted July 19, 2009 Note if you want to remove this category image from displaying (I think it is unnecessary - only the subcategory pictures are needed) - just edit category.tpl (in your theme folder) and comment out this line as below: <!-- getCatImageLink($category->link_rewrite, $category->id_image, 'category')}" alt="{$category->name|escape:'htmlall':'UTF-8'}" title="{$category->name|escape:'htmlall':'UTF-8'}" id="categoryImage" /> --> Link to comment Share on other sites More sharing options...
Recommended Posts