Hej czy ktos też tak ma w najnowszej wersji 3.6 że po dodaniu produktu i zdjęć do niego, następnie po usunięciu tego produktu wraz z plikami wywala w adminie błędy:
Warning: Invalid argument supplied for foreach() in /home/euphoria/domains/xxxl/public_html/test/core/files-admin.php on line 209
Warning: Cannot modify header information - headers already sent by (output started at /home/euphoria/domains/xxxl/public_html/test/core/files-admin.php:209) in /home/euphoria/domains/xxxl/public_html/test/actions_admin/products.php on line 72 Produkty bez zdjęć są normalnie usuwane, nie wyświetlają się żadne błędy W wersji 3.5 nie mam tego problemu
Niestety u mnie nie zadziałało, po zmianie w 204 linijce posypały się inne błedy, nie działa wcale panel admina sprawdzałem kilka krotnie zmian dokonałem według instrukcji
Parse error: syntax error, unexpected ';', expecting T_FUNCTION in /home/euphoria/domains/obrazygaleria.pl/public_html/test/core/files-admin.php on line 562
@beholder: We have noticed that on some servers one bug appears in Quick.Cart 3.6. When You haven't add any picture to one of pages and You try to delete product with pictures there is error which is mentioned in first post: Warning: Invalid argument supplied for foreach() in .../files-admin.php on line 209 So we have small solution for that. You should edit file core/files-admin.php and add one if statement in deleteFilesFromDirs() function so whole function should look like this: