• Closed by: Kate Support
  • Closed on: 19.04.15, 18:10
  • Reason: Fixed
  • Comment: Glad to help!

Ticket #7367 - Not able to add product

Hello,

Each time I try to add a new product, I receive an error message, as you can see on the attached file.

I did contact my Server Hosting manager, and he told me that according to the log error, the problem looks like a conflict between the template and the smarty function (???)

Here are the lines:

[Fri Apr 17 14:39:35 2015] [warn] [client 74.50.163.83] mod_fcgid: stderr: PHP Notice: Undefined index: languages in /var/www/clients/client29/web65/web/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()’d code on line 242, referer: http://dev.lerosierdor.com/admin485osm5av/index.php?controller=AdminProducts&addproduct&token=bb3156257ef0aed3b154ef7aa02e5f62 [Fri Apr 17 14:39:35 2015] [warn] [client 74.50.163.83] mod_fcgid: stderr: PHP Notice: Trying to get property of non-object in /var/www/clients/client29/web65/web/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()’d code on line 242, referer: http://dev.lerosierdor.com/admin485osm5av/index.php?controller=AdminProducts&addproduct&token=bb3156257ef0aed3b154ef7aa02e5f62 [Fri Apr 17 14:39:35 2015] [warn] [client 74.50.163.83] mod_fcgid: stderr: PHP Notice: Undefined index: languages in /var/www/clients/client29/web65/web/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()’d code on line 262, referer: http://dev.lerosierdor.com/admin485osm5av/index.php?controller=AdminProducts&addproduct&token=bb3156257ef0aed3b154ef7aa02e5f62 [Fri Apr 17 14:39:35 2015] [warn] [client 74.50.163.83] mod_fcgid: stderr: PHP Notice: Trying to get property of non-object in /var/www/clients/client29/web65/web/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()’d code on line 262, referer: http://dev.lerosierdor.com/admin485osm5av/index.php?controller=AdminProducts&addproduct&token=bb3156257ef0aed3b154ef7aa02e5f62

Do you understand something to that?

Thank you!

Comments

Kate Support 18 Apr 2015, 11:50

Hi,
Fixed.
You just had simple blog module disabled in your BO while other depending modules (Featured posts, Recent posts and Related Posts) were enabled. It cased the issue.
I have enabled the module Blog for Prestahop and now it’s ok

Regards!

Philippe Roy 18 Apr 2015, 14:15

Many thanks! Excellent service, as always!