Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Altered Cart One page checkout error

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #1  
Old 01-23-2011, 11:32 AM
 
ajitsnehra ajitsnehra is offline
 

Newbie
  
Join Date: Nov 2007
Posts: 5
 

Default Altered Cart One page checkout error

I am using x-cart 4.1.12 version. I found following error log. How to fix this error. I will highly appreciate any help.

<?php die(); ?>
[23-Jan-2011 13:21:42] Warning: Cannot modify header information - headers already sent by (output started at /home/em/public_html/store/modules/Checkout_One/checkout_one_init.php:50) in /home/em/public_html/store/include/func/func.core.php on line 1596

Ajit
__________________
Ajit Nehra
Oregon, USA
X-Cart DB Version: 4.1.10 GOLD
Reply With Quote
  #2  
Old 01-24-2011, 12:08 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Man
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 2,981
 

Default Re: Altered Cart One page checkout error

This one's not in their knowledgebase, suggest you open a support ticket with AlteredCart.
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #3  
Old 01-25-2011, 07:01 AM
  wjbrewer's Avatar 
wjbrewer wjbrewer is offline
Banned
 

X-Adept
  
Join Date: Feb 2005
Location: Pittsburgh, PA
Posts: 504
 

Default Re: Altered Cart One page checkout error

Double check the instructions for the include/func/func.core.php file and make sure they have been completed.
Reply With Quote
  #4  
Old 01-25-2011, 05:32 PM
 
ajitsnehra ajitsnehra is offline
 

Newbie
  
Join Date: Nov 2007
Posts: 5
 

Default Re: Altered Cart One page checkout error

Bill, thank you so much for your response. I am really new to this kind of programing. Can you please tell me where to find instructions for the include/func/func.core.php file? How can I find if these has been completed or not? I will be really thankful to you for this.
__________________
Ajit Nehra
Oregon, USA
X-Cart DB Version: 4.1.10 GOLD
Reply With Quote
  #5  
Old 01-27-2011, 01:12 PM
 
7thdesire 7thdesire is offline
 

Senior Member
  
Join Date: Sep 2006
Posts: 115
 

Default Re: Altered Cart One page checkout error

hi

if you are useing version 1.4.5 of one page checkout and version 4.1 for xcart the instructions for the install guide are as follows

i would suggest using the code from the install file file incase my paste has broken the code in some way

Code:
include/func/func.core.php Find this code near line 102: [FONT='Courier New', Courier, mono]$location .= (strpos($location, "?") === false ? "?" : "&").implode("&", $added); if (!empty($hash)) $location .= "#".$hash; } Immediately after insert this code: [FONT='Courier New', Courier, mono]// Checkout One :: www.alteredcart.com // global $xcart_dir, $active_modules; if ($active_modules['Checkout_One']){ require $xcart_dir."/modules/Checkout_One/checkout_one_headers.php"; if ($_return) return; } // End Checkout One //[/font] Find this code near line 1510: This may not be needed in all versions. If your func.core.php file doesn't contain this code you can safely skip this step. This step may also have been made for a different alteredCart module. If this code change has already been made please skip this step. [FONT='Courier New', Courier, mono]function func_setcookie() { global $PHP_SELF, $HTTP_HOST;[/font] Immediately after insert this code: [FONT='Courier New', Courier, mono]// Checkout One :: www.alteredcart.com // global $ajax_headers; if ($ajax_headers) return false; // End Checkout One //[/font] [/font]
__________________
X-cart - 4.3.2 loads of mods and custom code
Reply With Quote
  #6  
Old 02-03-2011, 04:54 AM
  wjbrewer's Avatar 
wjbrewer wjbrewer is offline
Banned
 

X-Adept
  
Join Date: Feb 2005
Location: Pittsburgh, PA
Posts: 504
 

Default Re: Altered Cart One page checkout error

Update: The cause of the error was in the include/func/func.core.php file.

The 2nd step of the One Page Checkout instructions were from an older version, and not working with the updated file.

If anyone has a problem like this in the future and is reading this be sure the installation code is exactly as in the instructions for your version of X-Cart.
Reply With Quote
  #7  
Old 10-19-2011, 05:19 AM
 
GMarler GMarler is offline
 

Advanced Member
  
Join Date: Aug 2005
Location: Western NC USA
Posts: 95
 

Default Altered Cart One page checkout issue

I have the One Page Checkout module checked to automatically fix capitalization but it doesn't do it.
Anyone have any ideas?
Thanks,
__________________
Greg Marler
x-Cart GoldPlus version 4.7.12
Gold 4.7.6 (under construction)
CentOS
Apache 2
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 08:56 AM.

   

 
X-Cart forums © 2001-2020