skinordic Posted July 9, 2015 Share Posted July 9, 2015 HI when trying to load the live edit i got a blank page. The error log: Fatal error: Uncaught exception 'SmartyException' with message 'Unknown resource type '<script type="text/javascript">hooks_list.push('DisplayOverrideTemplate');</script> <div id="DisplayOverrideTemplate" class="dndHook" style="min-height'' in /var/www/rulleskisport.dk/public_html/tools/smarty/sysplugins/smarty_resource.php:467 Stack trace: #0 /var/www/rulleskisport.dk/public_html/tools/smarty/sysplugins/smarty_resource.php(544): Smarty_Resource::load(Object(Smarty), '<script type="t...') #1 /var/www/rulleskisport.dk/public_html/tools/smarty/sysplugins/smarty_internal_template.php(641): Smarty_Resource::source(Object(Smarty_Internal_Template)) #2 /var/www/rulleskisport.dk/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(117): Smarty_Internal_Template->__get('source') #3 /var/www/rulleskisport.dk/public_html/classes/controller/FrontController.php(553): Smarty_Internal_TemplateBase->fetch('<script type="t...') #4 /var/www/rulleskisport.dk/public_html/ in /var/www/rulleskisport.dk/public_html/tools/smarty/sysplugins/smarty_resource.php on line 467 Any help to solve this problem. i am using version 1.6 Thanks www.rulleskisport.dk Link to comment Share on other sites More sharing options...
tuk66 Posted July 10, 2015 Share Posted July 10, 2015 Smarty doesn't recognize the resource, beceause of some Javascript. It is probably related to your theme and modules. I mean it isn't a common PS bug. Link to comment Share on other sites More sharing options...
Bjarstal Posted July 14, 2015 Share Posted July 14, 2015 I have the same problem in 1.6.1. I use default-bootstrap and I have disabled all non native modules: Fatal error: Uncaught --> Smarty: Unknown resource type '<script type="text/javascript">hooks_list.push('DisplayOverrideTemplate');</script> <div id="DisplayOverrideTemplate" class="dndHook" style="min-height' <-- thrown in /home/protectionantivol-fr/public_html/tools/smarty/sysplugins/smarty_resource.php on line 467 Does anyone have a suggestion? Hans Link to comment Share on other sites More sharing options...
Bjarstal Posted July 14, 2015 Share Posted July 14, 2015 OK, I have found what is the problem. You are right, it is a module problem! It is Multiple Features from Presta Modules that messes it up. When that module is active, Live Edit does not work. !!! Prestashop 1.6.1 Multiple Features v1.3.1 Who's gonna inform Presta Modules about this? Hans Link to comment Share on other sites More sharing options...
Bjarstal Posted July 17, 2015 Share Posted July 17, 2015 The problem is solved: As I said it was connected with Multiple Features so I contacted the developper. I gave them access to my server and finally they fond out that it is not connected to thier modul but it is a core issue. They modified some files on my server and informed Prestashop about it so hopefully it will be repaired with the next Prestahop upgrade. Many thanks to Presta Modules. They gave a great service ! Hans 1 Link to comment Share on other sites More sharing options...
{PrestaModule} Vincent Posted July 23, 2015 Share Posted July 23, 2015 Hi, Finally, we've found the issue ! If you have updated your PrestaShop from an older version than 1.6.0.9, this error can trigger if the update process isn't 100% complete. For those who want to fix this issue, you may have to run this database query (if "ps" is your table prefix) : UPDATE `ps_hook` SET `live_edit` = 0 WHERE `name`='displayOverrideTemplate'; Hope it will help, Regards, 1 Link to comment Share on other sites More sharing options...
mr913 Posted August 14, 2015 Share Posted August 14, 2015 Hi, Finally, we've found the issue ! If you have updated your PrestaShop from an older version than 1.6.0.9, this error can trigger if the update process isn't 100% complete. For those who want to fix this issue, you may have to run this database query (if "ps" is your table prefix) : UPDATE `ps_hook` SET `live_edit` = 0 WHERE `name`='displayOverrideTemplate'; Hope it will help, Regards, THANK YOU! This worked perfectly. For those unfamilar, I went into cpanel, selected phpmyadmin, in the database editing page (or whatever it's called) I selected the SQL option, pasted in the line quoted above, and hit "GO" and live edit now works. Thanks! 1 Link to comment Share on other sites More sharing options...
Seppe Posted October 11, 2015 Share Posted October 11, 2015 Good afternoon When I press the "run live edit" button, I can move or delete modules/positions when I click 'save', I get: a blank screen with {"hasError" : false, "errors" : ""} Greetings Seppe Link to comment Share on other sites More sharing options...
unmonde-montagnes Posted April 6, 2016 Share Posted April 6, 2016 THANK YOU! This worked perfectly. For those unfamilar, I went into cpanel, selected phpmyadmin, in the database editing page (or whatever it's called) I selected the SQL option, pasted in the line quoted above, and hit "GO" and live edit now works. Thanks! Merci pour tes précisions, grâce à toi mon problème est résolu 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