Jump to content
Sign in to follow this  

[Решено] поменял в модуле "категории" на "каталог" и теперь выскакивает ошибка на странице товара "Cannot modify header information"

Recommended Posts

Подскажите что делать?




Warning: Cannot modify header information - headers already sent by (output started at /home/timefres/public_html/catalog/language/russian/module/category_accordion.php:1) in/home/timefres/public_html/catalog/controller/module/viewed.php on line 21


поменял по первому адресу в "category_accordion.php - категории на каталог, после стала выскакивать эта ошибка на странице товара.


По адресу - home/timefres/public_html/catalog/controller/module/viewed.php on line 21

Если верно подсчитал строчку то на 21 вот что:


setcookie('viewed', implode(',',$viewed_products), time() + 60 * 60 * 24 * 30, '/', $this->request->server['HTTP_HOST']);

Edited by Timefresh

Share this post

Link to post
Share on other sites
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.


Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.