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

Smarty Error log?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-04-2012, 09:33 AM
 
lethjakman lethjakman is offline
 

Member
  
Join Date: Apr 2012
Posts: 15
 

Default Smarty Error log?

I have some template code that simply isn't running. Rather than taking it here though I would much rather debug it myself. Does smarty have a log of what's going wrong, or is there a way to enable a printout? My code isn't doing anything at all.
__________________
Version 4.4.5
Reply With Quote
  #2  
Old 06-04-2012, 09:56 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,192
 

Default Re: Smarty Error log?

Look in /xc_root/var/log for error log files
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 06-04-2012, 10:05 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Smarty Error log?

Use webmaster mode to see if the Smarty variables you are using are set on the page in question.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
  #4  
Old 06-04-2012, 01:44 PM
 
lethjakman lethjakman is offline
 

Member
  
Join Date: Apr 2012
Posts: 15
 

Default Re: Smarty Error log?

The variables I had were set. I modified some code that was previously working due to both an inefficiency problem as well as a modification problem. I got it working, the error logs helped a lot. Thank you!
__________________
Version 4.4.5
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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:34 PM.

   

 
X-Cart forums © 2001-2020