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

Error in Checkout

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-21-2008, 01:31 PM
  techdesign's Avatar 
techdesign techdesign is offline
 

Advanced Member
  
Join Date: May 2003
Posts: 30
 

Default Error in Checkout

I have installed x-cart successfully several times, however I am having some problems with the checkout on my most recent install. I'm getting some sort of errors like ~~~~|lbl_profile_details| ||~~~~ on the top of the page, and on the bottom of the page it only shows the first few lines of the register.tpl.

https://cassiesgifts.com/cassies/cart.php?mode=checkout

What is broken? any help is appreciated.
__________________
X-Cart Gold 4.4.1
X-Cart Gold 4.2.3
Reply With Quote
  #2  
Old 01-21-2008, 03:27 PM
 
poil11 poil11 is offline
 

Newbie
  
Join Date: Jan 2008
Posts: 4
 

Default Re: Error in Checkout

im new, but i think that the languages file got messed up or didn't get installed.
__________________
4.1.9
Reply With Quote
  #3  
Old 01-22-2008, 03:31 AM
  techdesign's Avatar 
techdesign techdesign is offline
 

Advanced Member
  
Join Date: May 2003
Posts: 30
 

Default Re: Error in Checkout

thats what i thought, I checked the languages files, the referenced language files exist, but don't seem to be recognized.
__________________
X-Cart Gold 4.4.1
X-Cart Gold 4.2.3
Reply With Quote
  #4  
Old 01-22-2008, 04:24 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Error in Checkout

Please don't double post, I have removed your second post on this topic. Also moving this to the Template Editing forum, as it doesn't have anything to do with payment methods.

I'd suggest restoring the templates in question, as they may be corrupt.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 01-23-2008, 01:00 PM
  techdesign's Avatar 
techdesign techdesign is offline
 

Advanced Member
  
Join Date: May 2003
Posts: 30
 

Default Re: Error in Checkout

Sorry about the double post, It didn't appear to have gone through.

I have restored all the customer templates. but I'm still having problems. I'm pretty sure the customer/main/register.tpl is messed up, but I took the original files from the x-cart install package and replaced all the templated, but I'm still having problems, is there something wrong with the 4.1.9 templates?

Customers can register outside of the checkout process, but not within. I've gone through the template and it looks like all of the fields exist on the template, but only a few appear on the page. Could there be a database problem that this is related to?
__________________
X-Cart Gold 4.4.1
X-Cart Gold 4.2.3
Reply With Quote
  #6  
Old 01-25-2008, 07:50 AM
 
BritSteve BritSteve is offline
 

eXpert
  
Join Date: Apr 2006
Posts: 339
 

Default Re: Error in Checkout

I am now experiencing the same problem, I have restored the database from yesterday and am waiting for a filesystem restore from yesterday to see if that solves the problem.

Was there any resolution to this issue?

Thanks
__________________
Version 4.1.8 & 4.1.9
ezcheckout4.1.x
cdseolinks2
product_metatags41x
shipping_per_product41x

http://www.earthsmagic.com
Reply With Quote
  #7  
Old 01-28-2008, 05:45 PM
  techdesign's Avatar 
techdesign techdesign is offline
 

Advanced Member
  
Join Date: May 2003
Posts: 30
 

Default Re: Error in Checkout

no, I never got a resolution. I've reinstalled several times now, with similar results. I'm beginning to think that this distribution I have has problems.
__________________
X-Cart Gold 4.4.1
X-Cart Gold 4.2.3
Reply With Quote
  #8  
Old 02-01-2008, 07:15 AM
 
BritSteve BritSteve is offline
 

eXpert
  
Join Date: Apr 2006
Posts: 339
 

Default Re: Error in Checkout

Finally located the problem. In my case a smarty template was being compiled into invalid code. If you check the xcart logs, you can see which compiled template has the problem. Deleting the compiled template forces a recompile, but the template will still have the error. I edited the compiled template and corrected the error, and everything works now.

I guess that Smarty has a bug in the compiler that produces invalid php code, even though the code in the template is correct. In my case the compiled template had a missing quote.

Hope this helps others who are experiencing this problem, sure is easier to fix than restoring from backup!

Steve
__________________
Version 4.1.8 & 4.1.9
ezcheckout4.1.x
cdseolinks2
product_metatags41x
shipping_per_product41x

http://www.earthsmagic.com
Reply With Quote
  #9  
Old 02-11-2008, 07:16 PM
  techdesign's Avatar 
techdesign techdesign is offline
 

Advanced Member
  
Join Date: May 2003
Posts: 30
 

Default Re: Error in Checkout

I looked at the logs and this is the error I keep getting:

[09-Feb-2008 15:52:15] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 181991 bytes) in /website.com/store/include/func/func.templater.php on line 109


This is what line 109 shows:

$x = preg_replace_callback($regexp_occurences, 'func_convert_lang_var_callback', $tpl);

Could someone help me with the problem on this line?

Thanks

X-cart Gold 4.1.9
__________________
X-Cart Gold 4.4.1
X-Cart Gold 4.2.3
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 09:00 AM.

   

 
X-Cart forums © 2001-2020