state error.

  • Posts: 38
  • Thank you received: 0
13 years 6 days ago #30429

Hello,

In the checkout page, an error appear:
Warning: Cannot modify header information - headers already sent by (output started at /.../components/com_hikashop/router.php:21) in /.../components/com_hikashop/views/checkout/view.html.php on line 270

It has relation with state but I don't what happens because the state seems to be ok.

Thanks for your help.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 6 days ago #30434

Hi,

in the file /components/com_hikashop/views/checkout/view.html.php you can change the line:
header('Content-Type:text/html; charset=utf-8');

by:

if(!headers_sent()) header('Content-Type:text/html; charset=utf-8');

and that will remove the warning message.

Please Log in or Create an account to join the conversation.

  • Posts: 38
  • Thank you received: 0
13 years 6 days ago #30463

Hi nicolas,

Thanks you for all your support.

Please Log in or Create an account to join the conversation.

Time to create page: 0.036 seconds
Powered by Kunena Forum