You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that as of version 5, Smarty uses a namespace, which is incompatible with how Self Service Password currently uses Smarty.
Trying to access Self Service Password with Smarty 5.3.1 (probably any 5.x version) results in an HTTP status code 500 and the following error logged:
PHP Fatal error: Uncaught Error: Class "Smarty" not found in /var/www/ssp/htdocs/index.php:213
I fixed this locally by either adding use \Smarty\Smarty; to index.php or instantiating $smarty as new \Smarty\Smarty();. I can't tell if this breaks compatibility with Smarty versions 3 and 4, though.
The text was updated successfully, but these errors were encountered:
It seems that as of version 5, Smarty uses a namespace, which is incompatible with how Self Service Password currently uses Smarty.
Trying to access Self Service Password with Smarty 5.3.1 (probably any 5.x version) results in an HTTP status code 500 and the following error logged:
I fixed this locally by either adding
use \Smarty\Smarty;
toindex.php
or instantiating$smarty
asnew \Smarty\Smarty();
. I can't tell if this breaks compatibility with Smarty versions 3 and 4, though.The text was updated successfully, but these errors were encountered: