halo12 Posted October 28, 2012 Share Posted October 28, 2012 if I update a category the photo disappears in PS 1.5.1 Link to comment Share on other sites More sharing options...
vekia Posted October 30, 2012 Share Posted October 30, 2012 if I update a category the photo disappears in PS 1.5.1 try to regenerate thumbnails in prestashop back office. or give some link to your shop if exists, maybe it's not as simple as it seems Link to comment Share on other sites More sharing options...
Antakarana Posted November 15, 2012 Share Posted November 15, 2012 Same problem using PS 1.5.2 some times updating a category info or a category picture ends in loosing several category pictures even if they're not from the same category branch tree. I've still haven't tried regenerateing thumbnails... but I would prefer not to do it if its not necessary. Link to comment Share on other sites More sharing options...
vekia Posted November 15, 2012 Share Posted November 15, 2012 I've still haven't tried regenerateing thumbnails... but I would prefer not to do it if its not necessary. why? it's simple but not fast process. YOu afraid that something wrong will happen? Link to comment Share on other sites More sharing options...
Antakarana Posted November 15, 2012 Share Posted November 15, 2012 why? it's simple but not fast process. YOu afraid that something wrong will happen? Exact, last time I did it, pictures products at the homepage didn't appear... I had to ask the person who made the template of our website to fix it... Link to comment Share on other sites More sharing options...
Antakarana Posted November 15, 2012 Share Posted November 15, 2012 This is insane... I reupload some category pictures but simultanoulsy other ones dissapear! What should I do??? PLEASE HELP! Link to comment Share on other sites More sharing options...
patrickgs Posted November 20, 2012 Share Posted November 20, 2012 Exactly the same, when I update category content, I lost the media. Link to comment Share on other sites More sharing options...
Antakarana Posted December 1, 2012 Share Posted December 1, 2012 (edited) Hi everybody! I got an easy solution that worked for me until now... http://forge.prestashop.com/browse/PSCFV-5654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=64039#comment-64039 Edited December 7, 2012 by Antakarana (see edit history) Link to comment Share on other sites More sharing options...
Mr.Orange Posted December 7, 2012 Share Posted December 7, 2012 Hi everybody! I got an easy solution that worked for me until now... Same here. When I edit any category the image disappears. What is the solution? The Link doesnt work! Link to comment Share on other sites More sharing options...
Antakarana Posted December 7, 2012 Share Posted December 7, 2012 Same here. When I edit any category the image disappears. What is the solution? The Link doesnt work! Sorry, I posted the wrong link... now It's OK Anyway the solution is easy: File : controlers/admin/AdminCategoriesController.php Function : postProcess() line 512 This code: if (Tools::isSubmit('forcedeleteImage') || (isset($_FILES['image'])) Must be changed to : if (Tools::isSubmit('forcedeleteImage') || (isset($_FILES['image']) && !empty($_FILES['image']['name']))) 2 Link to comment Share on other sites More sharing options...
Mr.Orange Posted December 7, 2012 Share Posted December 7, 2012 Sorry, I posted the wrong link... now It's OK Anyway the solution is easy: File : controlers/admin/AdminCategoriesController.php Function : postProcess() line 512 This code: if (Tools::isSubmit('forcedeleteImage') || (isset($_FILES['image'])) Must be changed to : if (Tools::isSubmit('forcedeleteImage') || (isset($_FILES['image']) && !empty($_FILES['image']['name']))) Thank you very much! Working like a charm! Link to comment Share on other sites More sharing options...
SonnyBoyII Posted January 31, 2013 Share Posted January 31, 2013 Sorry, I posted the wrong link... now It's OK Anyway the solution is easy: File : controlers/admin/AdminCategoriesController.php Function : postProcess() line 512 This code: if (Tools::isSubmit('forcedeleteImage') || (isset($_FILES['image'])) Must be changed to : if (Tools::isSubmit('forcedeleteImage') || (isset($_FILES['image']) && !empty($_FILES['image']['name']))) It works. Thanks very much for this! Link to comment Share on other sites More sharing options...
Recommended Posts