luprix 1 Posted October 10, 2020 Posted October 10, 2020 Hello. I have migrated my PS from V 1.7.5.2, PHP 5.6.4 to a new server with PS 1.7.6.8, PHP 7.2.14 Now a module fails when trying to show itself in the BO Customer Form, indicating the error: An exception has been thrown during the rendering of a template ("Unable to load template 'file:helpers/uploader\simple.tpl'"). In the module.php: public function install() { ... $this->registerHook('displayAdminCustomers') && ... public function hookDisplayAdminCustomers($params) { ... return $this->renderFormCustomer($params['id_customer']); ... public function renderFormCustomer($id_customer = false) { ... return $helper->generateForm(array($fields_form)); ... Not use template (tpl) I have done many tests without result. Any help please? Share this post Link to post Share on other sites
luprix 1 Posted October 10, 2020 Posted October 10, 2020 I have reinstalled the previous Prestashop on the new server and the module works correctly. The failure is not caused by the change of version of PHP, but of Prestashop. Share this post Link to post Share on other sites
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now