{banner type="bla"}
I made a typo last time:
{banners type="bla"}
And Smarty says:
Fatal error: Exception thrown without a stack frame in Unknown on
line 0
I did some testing, Smarty throws this with every error:
{bla bla} or {$product.name|url} (modifier that doesn't exist)
Gives me that same error.
> --
> You received this message because you are subscribed to the Google Groups "Smarty Developers" group.
> To post to this group, send email to smarty-d...@googlegroups.com.
> To unsubscribe from this group, send email to smarty-develop...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/smarty-developers?hl=en.
>
>
I have created a Controller class. To assign a variable to smarty I
call $myView->getSmarty()->assign(...) - the getSmarty() function
creates the Smarty object if it doesn't exist, and returns the object
itself and the assign is then called.
I then either call display() or fetch explicitly, or if they haven't
been called and the Smarty object exists, the class __destruct() calls
$getSmarty()->display().
As I am in the __destruct() part of the class, the object now doesn't
exist. If there now is an exception for any reason at all, the error
is "Fatal error: Exception thrown without a stack frame in Unknown on
line 0" as PHP no longer has a reference to pass on.
So my advice is to look whether the context exist that you are calling
Smarty from.
Steve
No custom exception handler.
@insekticid
5.3 is to new, we follow the 5.2.x branch.
I tested once again with a fresh copy from the SVN. I can't reproduce
the problem.
Did you try to install a new copy?
Uwe