Remitur Posted April 30, 2021 Share Posted April 30, 2021 Just after a commercial module update, it happens an unusual Smarty error in logs: Smarty Error: Unable to load template 'file:templates/orderforms/modern/category-chooser.tpl' in '/var/www/example.com/public_html/templates/orderforms/modern/products.tpl' Very strange, because: AFAIK, no modification to any .tpl file occurred just copying the content of category-chooser.tpl and pasting it inside products.tpl has been sufficient to fix the issue Being the commercial module encrypted, I can't go deeper in investigating, so I can just guess: Is it possible that some kind of hook in the commercial module "moves" the current directory from /var/www/example.com/public_html/ to something like (i.e.) /var/www/example.com/public_html/modules/addons/mymodule/ , and so the relative path file:templates/orderforms/modern/category-chooser.tpl is no valid anymore? Any experience about this kind of issues? 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted April 30, 2021 Share Posted April 30, 2021 (edited) If that commercial module is mine, that's my fault. I used a chdir() in the wrong place so Smarty thinks that the root is /lang instead of /. Re-download and replace all files. This should fix the problem. Sorry. Edited April 30, 2021 by Kian 1 Quote Link to comment Share on other sites More sharing options...
tjcrimson Posted July 9, 2021 Share Posted July 9, 2021 click to disable smarty (first circe) also csrf verification issues, disable it 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.