M.Meesters Posted October 7, 2020 Share Posted October 7, 2020 Hi, Got a problem with smarty. It probably has to do with extra security requirements from smarty, but I can't figure out what this has to do with. --> Smarty: Unable to load template 'file:modules/addons/incasso/templates/gateway/payment.tpl' <-- looking at the error.log [Tue Oct 06 12:46:48.816369 2020] [proxy_fcgi:error] [pid 3199] [client 213.127.63.224:44228] AH01071: Got error 'PHP message: [WHMCS Application] ERROR: --> Smarty: Unable to load template 'file:modules/addons/incasso/templates/gateway/payment.tpl' <-- {"exception":"[object] (SmartyException(code: 0): Unable to load template 'file:modules/addons/incasso/templates/gateway/payment.tpl' at /var/www/clients/client1/web19/web/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:195)"} []', referer: https://www.web-direct.nl/admin/invoices.php?action=edit&id=208... Ideas suggestions are welcome. Regards, Marga 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted October 7, 2020 Share Posted October 7, 2020 4 hours ago, M.Meesters said: Ideas suggestions are welcome. there's an 'rtrim' command in that smarty template, and that might break the Smarty Security Policy. so if it's a mail issue, try adding rtrim to the list of acceptable functions/modifiers in the policy and see if that fixes the problem. 0 Quote Link to comment Share on other sites More sharing options...
M.Meesters Posted October 8, 2020 Author Share Posted October 8, 2020 thanks, will try this. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.