Kilobaid Posted August 24, 2017 Share Posted August 24, 2017 After I moved my prestashop to a new hosting I get this error when I try to login to back-end, front-end works somehow fine, the images don't show at some products but I think I have to regenerate the thumbnails for that. So when I try to login on my admin page I get this error: Fatal error: Uncaught exception 'SmartyException' with message 'Unable to load template file 'modal.tpl'' in /home/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php:127 Stack trace: #0 /home//public_html/classes/controller/AdminController.php(1474): Smarty_Internal_TemplateBase->fetch('modal.tpl') #1 /home//public_html/classes/controller/Controller.php(198): AdminControllerCore->display() #2 /home/public_html/classes/Dispatcher.php(373): ControllerCore->run() #3 /home/public_html/paisadm/index.php(54): DispatcherCore->dispatch() #4 {main} thrown in /home/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php on line 127 I've deleted the cache and checked the permissions, Link to comment Share on other sites More sharing options...
Scully Posted August 24, 2017 Share Posted August 24, 2017 Which prestashop version? Link to comment Share on other sites More sharing options...
Kilobaid Posted August 24, 2017 Author Share Posted August 24, 2017 Which prestashop version? Thanks for the reply, PS Version: 1.6.0.5 (as in settings.inc since i can't access back office) Link to comment Share on other sites More sharing options...
Scully Posted August 24, 2017 Share Posted August 24, 2017 (edited) Check if you have modal.tpl in the following directories: ./AdminXXX/themes/default/template/helpers/modules_list/modal.tpl ./AdminXXX/themes/default/template/modal.tpl They are both of different sizes. Also check if file permissions allow the webserver to access these files. If one or both files are missing it would lead to the question how you moved your server. Which means, other files could eventually be missing as well. And if you post code or error messages, use the <> code button. It makes it much more readable. Edited August 24, 2017 by Scully (see edit history) 1 Link to comment Share on other sites More sharing options...
Kilobaid Posted August 24, 2017 Author Share Posted August 24, 2017 (edited) Check if you have modal.tpl in the following directories: ./StoreAdmin/themes/default/template/helpers/modules_list/modal.tpl ./StoreAdmin/themes/default/template/modal.tpl They are both of different sizes. Also check if file permissions allow the webserver to access these files. If one or both files are missing it would lead to the question how you moved your server. Which means, other files could eventually be missing as well. And if you post code or error messages, use the <> code button. It makes it much more readable. I don't have the "template" folder in my theme folder the path is /public_html/themes/default-bootstrap/ Edited August 24, 2017 by Kilobaid (see edit history) Link to comment Share on other sites More sharing options...
Scully Posted August 24, 2017 Share Posted August 24, 2017 (edited) Correction in previous post. Replace AdminXX with your admin path and search again. We are discussing the backend, not the frond end. Edited August 24, 2017 by Scully (see edit history) Link to comment Share on other sites More sharing options...
Kilobaid Posted August 24, 2017 Author Share Posted August 24, 2017 default-bootstrap is the default theme directory for newer prestashop versions whereas your posted error messages point to a theme structure rather coming from an ps 1.5. version. All this is just guessing because you don't feel comfortable to tell us more on how your moved server and what you changed in between. I've updated my 1.5 to 1.6 a while ago, I didn't change anything, just moved the files and the database. I think i will just try to update to 1.7 to see if this fixes anything Link to comment Share on other sites More sharing options...
Kilobaid Posted August 24, 2017 Author Share Posted August 24, 2017 (edited) Correction in previous post. Replace AdminXX with your admin path and search again. We are discussing the backend, not the frond end. You are right, i didn't personally move the theme i let someone else, who I think made an error, luckily I still have access to old ftp data, I am moving the new files as we speak. Thanks for the help,. Edited August 24, 2017 by Kilobaid (see edit history) Link to comment Share on other sites More sharing options...
Scully Posted August 24, 2017 Share Posted August 24, 2017 Check you don't miss any directories or files. Link to comment Share on other sites More sharing options...
Kilobaid Posted August 24, 2017 Author Share Posted August 24, 2017 Check you don't miss any directories or files. I reuploaded the project and everything works fine now, thanks Link to comment Share on other sites More sharing options...
Scully Posted August 24, 2017 Share Posted August 24, 2017 Thumbs up. Link to comment Share on other sites More sharing options...
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