Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Adding backtrace for Smarty error logs

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Tips and Tricks
View previous topic :: View next topic  
Author Message
NuAlpha
Smarty Regular


Joined: 08 Jan 2004
Posts: 71
Location: US

PostPosted: Wed Jun 10, 2009 2:23 pm    Post subject: Adding backtrace for Smarty error logs Reply with quote

How could I go about adding debug backtrace output to the errors shown in the log file generated by Smarty?

I keep getting the following error but have no clue which script is using this Smarty feature since it is so vague:
PHP Warning: Smarty error: mailto: missing 'address' parameter in /home/nulimec/public_html/Smarty/Smarty.class.php on line 1100
_________________
Smarty -> v2.6.11
PHP -> v5.2.1
Back to top
View user's profile Send private message
mohrt
Administrator


Joined: 16 Apr 2003
Posts: 7368
Location: Lincoln Nebraska, USA

PostPosted: Wed Jun 10, 2009 2:31 pm    Post subject: Reply with quote

You have {mailto ...} in a template without the address parameter somewhere. Search your templates, you'll probably find it pretty quick.
Back to top
View user's profile Send private message Visit poster's website
NuAlpha
Smarty Regular


Joined: 08 Jan 2004
Posts: 71
Location: US

PostPosted: Fri Aug 07, 2009 5:18 pm    Post subject: Reply with quote

Everything had something for the address parameter that I could tell, but I added another check for some of them. Might eliminate the error, I hope.

Any ideas about the debug backtrace? It would still prove handy for debugging, I believe.
_________________
Smarty -> v2.6.11
PHP -> v5.2.1
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Tips and Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP