|
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 |
smartymoon Smarty Rookie
Joined: 29 Apr 2003 Posts: 15
|
Posted: Sat Aug 14, 2004 7:18 pm Post subject: trigger_error function |
|
|
When I run smarty class, I got this error message.
Warning: Smarty error: file:hello.php is not readable in C:\php4\smarty\Smarty\S
marty.class.php on line 1083
This error message is from "trigger_error" function.
My problem is that from this message I can't find where the error was occurred.
So I suggest to add one more parameter to this funtion
from
function trigger_error($error_msg, $error_type = E_USER_WARNING)
to
function trigger_error($ONE_MORE_PARAM, $error_msg, $error_type = E_USER_WARNING)
Maybe this $ONE_MORE_PARAM can be the FUNCTION NAME, PLUGIN NAME or the LINE NUMBER of the source where the error was occurred.
thanks
s moon |
|
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
|