state error.

  • Posts: 38
  • Thank you received: 0
12 years 5 months 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: 81563
  • Thank you received: 13071
  • MODERATOR
12 years 5 months 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
12 years 5 months 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.062 seconds
Powered by Kunena Forum