Jump to content

error on "run live edit"


Recommended Posts

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

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

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

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

  • Like 1
Link to comment
Share on other sites

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,

  • Like 1
Link to comment
Share on other sites

  • 4 weeks later...

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!

  • Like 1
Link to comment
Share on other sites

  • 1 month later...
  • 5 months later...

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...