|
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 |
bsmither Smarty Elite
Joined: 20 Dec 2011 Posts: 322 Location: West Coast
|
Posted: Fri Jul 24, 2015 3:41 pm Post subject: Name of Faulting Template |
|
|
When I get an "Exception: Syntax error in template "05758ebdc73e904ddcb5c2246ea14d7aff736ca8" on line ...", is there a way for this reporting agent to include the source and name of the template (or string) that has the syntax error? |
|
Back to top |
|
AnrDaemon Administrator
Joined: 03 Dec 2012 Posts: 1785
|
Posted: Sat Jul 25, 2015 12:34 am Post subject: |
|
|
Exact error message, please. |
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Sat Jul 25, 2015 6:06 pm Post subject: |
|
|
eval: or string: resources have no template name. On error messages Smarty currently displays its hash code (which does not make too much sense).
I will try to improve this in the next release. |
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Sat Aug 01, 2015 12:31 pm Post subject: |
|
|
Smarty now shows resource type and start of template source instead of uid on eval: and string: resource .
The patch is now on https://github.com/smarty-php/smarty in master branch an will later be included in 3.1.28 |
|
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
|