|
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 |
robov99 Smarty n00b
Joined: 20 Jun 2014 Posts: 3
|
Posted: Fri Jun 20, 2014 2:05 pm Post subject: Exception Handling |
|
|
The following happens to me:
Warning: filemtime(): stat failed for /path/to/smarty/cache/3ab50a623e65185c49bf17c63c90cc56070ea85c.one.tpl.php
in /path/to/smarty/libs/sysplugins/smarty_resource.php
http://www.smarty.net/docs/en/troubleshooting.tpl states:
This means that your application registered a custom error hander (using set_error_handler()) which is not respecting the given $errno as it should. If, for whatever reason, this is the desired behaviour of your custom error handler, please call muteExpectedErrors() after you've registered your custom error handler.
That is probably the case. I can do teh MUTE, but I rather fix my exception handling. Any suggestions what to do to have the exception handling be compatible with smarty? |
|
Back to top |
|
robov99 Smarty n00b
Joined: 20 Jun 2014 Posts: 3
|
Posted: Sun Jun 29, 2014 8:13 am Post subject: how to fix? |
|
|
Anyone an idea how to fix this? |
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
|
Back to top |
|
robov99 Smarty n00b
Joined: 20 Jun 2014 Posts: 3
|
Posted: Sun Jun 29, 2014 12:32 pm Post subject: thanks |
|
|
Thank you for the clarification ! at least now I know what to do and that muting is only for the errors that are deliberate generated |
|
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
|