Knowledgebase
I'm receiving the error: Warning: Cannot modify header information - headers already sent by (output started at /home/www/public_html/modules/Checkout_One/checkout_one_init.php:50) in /home/www/public_html/include/check_useraccount.php on line 186
Posted by Nick Poindexter on 04 March 2010 05:20 PM
|
|
To prevent this error from occurring open /include/check_useraccount.php and find this code near line 162: if ($active_modules['Users_online'] && !defined('IS_ROBOT')) { include $xcart_dir."/modules/Users_online/registered_user.php"; include $xcart_dir."/modules/Users_online/users_online.php"; } Immediately after insert: // Checkout One :: www.alteredcart.com // global $ajax_headers; if ($ajax_headers) $remember_user = false; // End Checkout One // If the above code isn't found on your store, you may be running an older older 4.1 version, in this case use the code below: /include/check_useraccount.php near line 174: $remember_key = $XCART_SESSION_NAME.$current_area."_remember"; After Insert: // Checkout One :: www.alteredcart.com // global $ajax_headers; if ($ajax_headers) $remember_data = false; // End Checkout One // | |
|
Comments (0)