Home
Help
Search
Login
Register
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
News:
Welcome to the Unofficial Help Forum
SMF® Unofficial Help Forum
»
1.1.* Coding Questions
»
Disabling template eval FAQ
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: Disabling template eval FAQ (Read 31845 times)
Illori
Administrator
Posts: 337
Re: Disabling template eval FAQ
«
Reply #15 on:
April 23, 2012, 04:37:53 PM »
well if you are told the error is coming from load.php each time someone has an eval error, disabling the template eval is very useful in telling you a better place to look for the error.
Logged
Arantor
Team Member
Posts: 82
Re: Disabling template eval FAQ
«
Reply #16 on:
April 23, 2012, 05:18:02 PM »
Well, maybe.
What that tells me is that the error must be in a template rather than a source file (since only templates are executed via eval from Load.php), and after that it's going to be a very short list of places to look depending on what action you were calling.
So knowing what the logged URL was is about as important (or at least, what the user was doing when the error occurred, either way works), since each action or subaction will load a given subtemplate. Odds are it's possible to figure that out while waiting for the user to go through and figure out how to disable template eval.
Logged
Illori
Administrator
Posts: 337
Re: Disabling template eval FAQ
«
Reply #17 on:
April 23, 2012, 05:25:56 PM »
i never attempted to figure out the file causing the error from the url, i usually waited for them to install the mod and give the new error message, then attach a file etc.
Logged
Print
Pages:
1
[
2
]
« previous
next »
SMF® Unofficial Help Forum
»
1.1.* Coding Questions
»
Disabling template eval FAQ
Articles
Advanced Profile Fields
Enabling and Using the Warning System
Permission Profiles
Recycle Board, what is it and how to use it
Understanding Permissions
anything