News:

Welcome to the Unofficial Help Forum



Author Topic: Disabling template eval FAQ  (Read 13240 times)

Offline Illori

  • Administrator
  • *
  • Posts: 322
    • View Profile
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.

Offline Arantor

  • Team Member
  • *
  • Posts: 82
    • View Profile
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.

Offline Illori

  • Administrator
  • *
  • Posts: 322
    • View Profile
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.

 

anything