Jillz Posted January 11, 2016 Share Posted January 11, 2016 Hello I have a problem, my back-office (dashboard/administrator) wouldn't show anything but a blank white page. After i switched on debug mode I got the following explanation:Fatal error: Uncaught --> Smarty: Unable to load template file 'helpers/form/form.tpl' <-- thrown in E:\HostingSpaces\User\mywebsite.com\wwwroot\tools\smarty\sysplugins\smarty_internal_templatebase.php on line 129 I've tried to upload newer "fresh" versions of prestashop and to delete the database and bring it back with backups nothing worked. I changed the rights for the whole tools folder, and I have deleted al content of directories /cache/smarty/cache/ except the file index.php and cache/smarty/compile/ also except file index.php. But nothing helped this morning everything was working until I tried to switch the sub-domain to the main domain for updates. I'm currently working with Prestashop version: 1.6.1.4 Strangely enough both of the websites have the front-desk working without any problem. *Obviously i've changed the details in the error message to general info for privacy reasons. Can anyone please help me with this!!!!!! Link to comment Share on other sites More sharing options...
vekia Posted January 11, 2016 Share Posted January 11, 2016 you've got this error only when you're trying to open dashboard? try top open your back office with different url, so you will be redirected to other page open for example page:http://yourshop.com/ADMIN1234/index.php?controller=AdminOrders Link to comment Share on other sites More sharing options...
Simonas Invertus Posted January 12, 2016 Share Posted January 12, 2016 The error says that you are missing file form.tpl but if you uploaded fresh Prestashop version this should have solved your problem unless that is not PrestaShop but some third party module missing a file. Link to comment Share on other sites More sharing options...
gabdara Posted January 12, 2016 Share Posted January 12, 2016 It could also be a server permission issue. Try 777 on your files to test if this is the case then revert to safer permissions. Link to comment Share on other sites More sharing options...
Jillz Posted January 12, 2016 Author Share Posted January 12, 2016 Hello the whole folder helpers was missing! Nobodies knows why, but somehow my ftp and server didn't agree on me loading it or something. Now force fed this folder to the server and it worked. Everything is available again! Thanks for the tip to the right path..... gabdaraBy the way 777 wasn't the answer adding the fact that my host works in windows and ignores CHMOD, for the simple fact that is Linux. They refer me to Cpanel which doesn't offer individual rights changes. Anyway it's solved so. vekia Good idea i tried this, but it didn't work as a whole folder was missing. But i'll remember the option for a next issue! Link to comment Share on other sites More sharing options...
Diza Posted April 4, 2016 Share Posted April 4, 2016 Hi, I just recently transfered my website from localhos to server. But I get this error- Internal Server ErrorThe server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. I checked the error logs on the server and I saw this housealert.com.ng/admin595y2usqu/index.phpPHP Fatal error: Uncaught --> Smarty: Unable to load template file 'controllers/modules/login_addons.tpl' <--thrown in /hermes/bosnaweb15a/b2484/ipg.peniel/Housealert2/tools/smarty/sysplugins/smarty_internal_templatebase.php on line 129 Sorry to bother but I really need assistance here. It would be greatly appreciated, thanks. Link to comment Share on other sites More sharing options...
gabdara Posted April 5, 2016 Share Posted April 5, 2016 @Diza first make sure you've enabled development mode. Verify if all the files have been uploaded to your server. Set the appropriate permissions (you can set 777 until the issue is solved and afterwards set safer permissions). Manually remove cache, delete everything from /cache/smarty/cache and /cache/smarty/compile except index.php. Also have a look at the Moving PrestaShop Guide. Link to comment Share on other sites More sharing options...
Diza Posted April 5, 2016 Share Posted April 5, 2016 gabdara Thank you for the prompt answer, but I forgot to mention that the backend of the website shows that error but the frontend opens fine so enabling development mode is not possible. But I'll try the other steps. Thanks Link to comment Share on other sites More sharing options...
Diza Posted April 5, 2016 Share Posted April 5, 2016 Hi I've tried everthing gabdara but still givees thesame error. Pls any other suggestions Link to comment Share on other sites More sharing options...
gabdara Posted April 6, 2016 Share Posted April 6, 2016 You don't need access to BO to enable development mode (see the link). Check if /YOUR_ADMIN_FOLDER/themes/default/template/controllers/modules/login_addons.tpl exists on your server. Also make sure you don't have duplicates of the admin folder (other name, same files). Link to comment Share on other sites More sharing options...
Diza Posted April 6, 2016 Share Posted April 6, 2016 Thanks alot, it worked. I dont know how my ftp server omitted it out and i was checking for this path /Housealert2/tools/smarty/sysplugins/smarty_internal_templatebase.php instead. Once more thanks it has saved me alot. 1 Link to comment Share on other sites More sharing options...
Bibi40k Posted April 19, 2016 Share Posted April 19, 2016 Hi, i have the same error when i try multistore. how exactly did you solve this ? Thank you Link to comment Share on other sites More sharing options...
Bibi40k Posted April 19, 2016 Share Posted April 19, 2016 Hmm... i have changed the theme, the default one with another and it works now. i have installed PS 1.6.1.5 with Installous from CPanel.... Link to comment Share on other sites More sharing options...
tangweili Posted May 5, 2016 Share Posted May 5, 2016 Dear All, Can you help me?i after upgrade prestashop 1.5 to 1.6but my front page white screen and thanhas googling foundTo activate a debug mode, you need to open config/config.inc.php file on your server and find the following lines: define('_PS_MODE_DEV_', true);@ini_set('display_errors', 'on');<br>define('_PS_DEBUG_SQL_', true); memory on php.ini has 512MB but on front page always get message errorFatal error: Uncaught --> Smarty: Unable to load template file '/home/sloki/user/toke/sites/DOMAIN/www/themes/default/./product-list.tpl' in '/home/sloki/user/toke/sites/DOMAIN/www/modules/blockbestsellers/views/templates/hook/blockbestsellers-home.tpl' <-- thrown in /home/sloki/user/toke/sites/DOMAIN/www/tools/smarty/sysplugins/smarty_internal_templatebase.php on line 129 may you help me pls? I need your feedback Thanks Weili Link to comment Share on other sites More sharing options...
Diza Posted May 6, 2016 Share Posted May 6, 2016 @gabdara Sorry to take yuo back again, but i would like to know how you were able to figure out that the problem lay in this path so that incase of next time i'll know what to do. /YOUR_ADMIN_FOLDER/themes/default/template/controllers/modules/login_addons.tpl Link to comment Share on other sites More sharing options...
gabdara Posted May 6, 2016 Share Posted May 6, 2016 It's hinted in the error message. PHP Fatal error: Uncaught --> Smarty: Unable to load template file 'controllers/modules/login_addons.tpl' <-- And since that path doesn't exists in the root I thought to look through the admin folder. Link to comment Share on other sites More sharing options...
parsdigitall Posted May 25, 2016 Share Posted May 25, 2016 HiWe've updated your PrestaShop and after the update has encountered an errorFatal error: Uncaught --> Smarty: Missing template name <-- thrown in /home/.../domains/mysite.com/public_html/tools/smarty/sysplugins/smarty_internal_template.phpIs there a solution to this problem? tnx Link to comment Share on other sites More sharing options...
tombock1 Posted August 17, 2016 Share Posted August 17, 2016 @gabdara I have the same error: Fatal error: Uncaught --> Smarty: Unable to load template file 'controllers/modules/login_addons.tpl I cannot find the login_addons.tpl file anywhere and my controllers/ folder does not even have a modules/ subfolder. Where can I find this controllers/modules folder and/or the login_addons.tpl? Is there somewhere it can be downloaded and pasted in by ftp? Link to comment Share on other sites More sharing options...
gabdara Posted August 17, 2016 Share Posted August 17, 2016 @tombock1 the path in the error is not complete. It should be in /YOUR_ADMIN_FOLDER/themes/default/template/controllers/modules/login_addons.tpl <- see link to github. Link to comment Share on other sites More sharing options...
tombock1 Posted August 17, 2016 Share Posted August 17, 2016 @gabdara Okay. I have the file from github. I'm a little confused on where it should go. I have my main Prestashop folder where I installed everything...called "shop." I assume that would be the YOUR ADMIN FOLDER you reference. So after that I have themes/ but then I have default_bootstrap/ and also the theme I'm using, warehouse/. In the warehouse/ folder I have nothing like template/ or controllers/modules/. The default-bootstrap/ doesn't have anything called a template/controllers/modules/ folder either. How do I figure out where this file should go? Thanks in advance for your time in responding. I really appreciate it as I'm in a bit of a jam here. Tom Link to comment Share on other sites More sharing options...
gabdara Posted August 17, 2016 Share Posted August 17, 2016 Where you are looking is the root of your store. Your admin folder as you can see from github (admin-dev) is contained by root. If the admin folder name wasn't changed manually it should have a name starting with admin (eg. admin4a3ns78), otherwise look on github at the content of the folder admin-dev and then look through your folders for the same content. Link to comment Share on other sites More sharing options...
tombock1 Posted August 18, 2016 Share Posted August 18, 2016 Alright. Well, I'm not getting any errors anymore, and my admin login now shows up. But, now there is a new problem that I'm trying to troubleshoot. When I type in my username and password, nothing happens. The login page literally reloads. Also, the "I Forgot My Password" link does absolutely nothing as well and it just links back to the login page. I'm probably off topic now, but if anyone can address or redirect me to a new Support thread, that would be great. I tried looking through the source code for my login page, but unfortunately I'm not a developer, so I'm struggling to understand what is missing. Here is the link to my login page if this helps. Maybe there is something wrong with the admin token??? http://luandju.com/shop/psadmin/index.php?controller=AdminLogin&token=706448592728b666602713fec183b4d8 Link to comment Share on other sites More sharing options...
tombock1 Posted August 18, 2016 Share Posted August 18, 2016 Ok. I've gotten past the login page by resetting my cookie key and password using myPHP. Found a tutorial on trying this using a Google search. Now, when I log in, I get this: http://luandju.com/shop/psadmin/index.php?controller=AdminOrders&token=80959ff11abefe885d92ed91357603fc Is it okay and or helpful to be posting these urls? This page is supposed to be my back office dashboard, is it not? Oh boy. I fear that my site is royally messed up. Little backstory, somehow I lost my entire Prestashop install folder from my shared server space at Bluehost. So, I just copied in a backup of the entire folder, reconnected the database using myPHP, hoping that it would work. But I've been systematically tracking down and attempting to replace missing files by following clues given by error reporting. That's what's got me to this point. Maybe someone who is an expert has a view on the "big picture" with my methodology and why it's not working. Link to comment Share on other sites More sharing options...
Remukas Posted February 17, 2017 Share Posted February 17, 2017 Hi, Help!!! Add products >>> associated Fatal error: Uncaught --> Smarty: Unable to load template file 'helpers/tree/tree_associated_header.tpl' <-- thrown in /public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php on line 129 AND Add products >>> attachment Fatal error: Uncaught --> Smarty: Unable to load template file 'helpers/uploader/attachment_ajax.tpl' <-- thrown in /public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php on line 129 Link to comment Share on other sites More sharing options...
Remukas Posted February 17, 2017 Share Posted February 17, 2017 (edited) missing file: admin\themes\default\template\controllers\products\helpers\tree\tree_associated_header.tpl ; tree_associated_categories.tpl and subtree_associated_categories.tpl Edited February 17, 2017 by Remukas (see edit history) Link to comment Share on other sites More sharing options...
inteiro Posted February 26, 2017 Share Posted February 26, 2017 (edited) Hi guys, fairly new here (and into Prestashop) so I'm calling out to the pro's here I'm also getting an 'Unable to load' error, but on the front site, and only when visiting the english version. No problems what so ever on dutch, french and the german version. On the homepage, I'm getting Unable to load template file '/index.tpl'On a content page from the CMS, I receive Unable to load template file '/cms/page.tpl' This is my language settings view. https://infinit.io/_/LsCgj5A Anyone? Edited February 27, 2017 by inteiro (see edit history) Link to comment Share on other sites More sharing options...
estebannerja Posted March 16, 2017 Share Posted March 16, 2017 (edited) I have this error in prestashop 1.7.0.6 when changing language on the front: Fatal error: Uncaught -> Smarty: Unable to load template file '/index.tpl' <- thrown in /var/www/vhosts/modajdej.com/httpdocs/modajdej/vendor/prestashop/smarty/sysplugins/smarty_internal_templatebase. Php on line 129 Can somebody help me? Thank you so much! Edited March 16, 2017 by estebannerja (see edit history) Link to comment Share on other sites More sharing options...
John Chaux Posted March 17, 2017 Share Posted March 17, 2017 Help me, please...i change the theme i don`t can enter at front office - back office yes.. the dashboard show this error Fatal error: Uncaught --> Smarty: Unable to load template file '/home3/grupochaux/public_html/themes/default-bootstrap/./ttproduct-list.tpl' in '/home3/grupochaux/public_html/modules/ttspeciallist/views/templates/hook/ttspeciallist.tpl' <-- thrown in /home3/grupochaux/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php on line 129 i wait your help..community Link to comment Share on other sites More sharing options...
CoolArts Posted May 2, 2017 Share Posted May 2, 2017 When dealing with "smarty->fetch", be sure to use local paths. If you are using any variable like "$this->_path" in the route of the template file inside your module, try to change it to "$this->local_path". I wish this can help. Regards. Link to comment Share on other sites More sharing options...
Borek Posted August 27, 2017 Share Posted August 27, 2017 I have this error in prestashop 1.7.0.6 when changing language on the front: Fatal error: Uncaught -> Smarty: Unable to load template file '/index.tpl' <- thrown in /var/www/vhosts/modajdej.com/httpdocs/modajdej/vendor/prestashop/smarty/sysplugins/smarty_internal_templatebase. Php on line 129 Can somebody help me? Thank you so much! I have the same problem with version 1.7.2.0. I thought this might be because of the hosting which I use, but the problem occurs even when running prestashop locally on WAMP server. Any help from prestashop support? Link to comment Share on other sites More sharing options...
zubovd Posted February 26, 2018 Share Posted February 26, 2018 Hi, https://www.prestashop.com/forums/topic/596875-language-change-results-with-unable-to-load-template-file/?do=findComment&comment=2620509 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