|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
NuAlpha Smarty Regular
Joined: 08 Jan 2004 Posts: 71 Location: US
|
Posted: Wed Jun 10, 2009 2:23 pm Post subject: Adding backtrace for Smarty error logs |
|
|
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 |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Wed Jun 10, 2009 2:31 pm Post subject: |
|
|
You have {mailto ...} in a template without the address parameter somewhere. Search your templates, you'll probably find it pretty quick. |
|
Back to top |
|
NuAlpha Smarty Regular
Joined: 08 Jan 2004 Posts: 71 Location: US
|
Posted: Fri Aug 07, 2009 5:18 pm Post subject: |
|
|
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 |
|
|
|
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
|