Error_log

Guten Morgen,

I have a small problem which has been constantly reporting in the error_log and I have no idea why or how to fix it and would appreciate some step by step help, if possible.

Here is an extract from the log:

[27-May-2014 21:00:03 Australia/Adelaide] PHP Warning: Smarty error: unable to read resource: “” in /home/neigh/public_html/core/smarty/Smarty.class.php on line 1093

  • what would cause this?
    -how do I fix it?

Danke and regards

Don

Anything in the exception-log?

*** von unterwegs via Tapatalk ***

apache log usually provides you a referrer, it says on which page url this error happened.
It will be something like
http://shop.com/index.php?cl=controller_class_where_it_happened&param=bla…
so you can see in which class this error actually happens.

“unable to get resource” errors usually happen when you place a “return” in and before the render() function or you want smarty to parse a file, which isnt there, where smarty expects it to be
e.g.

return “start.tpl”;
which should actually be:
return “page/shop/start.tpl”;

often there is just a typo somewhere, so smarty cant find the template