CC Fujifilm Posted February 16, 2015 Share Posted February 16, 2015 How i can turn off "php notices" on my hosting : https://www.ovh.com ?(Actually i use this this settings > https://www.ovh.com/...isation-php-fpm Link to comment Share on other sites More sharing options...
shacker Posted February 17, 2015 Share Posted February 17, 2015 you get warnings in the header of the site or only in a log file? Link to comment Share on other sites More sharing options...
CC Fujifilm Posted February 17, 2015 Author Share Posted February 17, 2015 Hi, On 2015/02/11, i have Installed the module "CSV Export" by downloading from this link https://oavea.com/... And because of difficulties to run this module, I reported the problem to the developer.He advised me "Can you turn off" php notices "on your hosting, so if That Will fix this issue." But I'm not doing that, I've asked him, he did not answer me ... I invited you as a participant about, to better understand what happened;)Hoping to be quite explanatory (thank you for your understanding, I am French and I have a little difficulty with the English language ...) Bests regardsClaude (French Prestashop apprentice:) - The prestashop i use is 1.5.5.0 Link to comment Share on other sites More sharing options...
shacker Posted February 23, 2015 Share Posted February 23, 2015 turn off errors dont solve any issues, only hide them, wich errors are? Link to comment Share on other sites More sharing options...
CC Fujifilm Posted February 24, 2015 Author Share Posted February 24, 2015 (edited) I tried the module and when I went to export products it showed a pop up warning in the export options window: Notice: Undefined index: export_active in /home/nathalieur/www/boutique/cache/smarty/compile/10/ec/db/10ecdb48abd30a1083ef0aa41d7360dec11e31d8.file.form.tpl.php on line 377checked="checked" /> no, export all products. Notice: Undefined index: export_active in /home/nathalieur/www/boutique/cache/smarty/compile/10/ec/db/10ecdb48abd30a1083ef0aa41d7360dec11e31d8.file.form.tpl.php on line 377/> Hoping to be more explanation on this issue,Cordially. Edited February 24, 2015 by CC Fujifilm (see edit history) Link to comment Share on other sites More sharing options...
shacker Posted March 2, 2015 Share Posted March 2, 2015 try display errors to off in the config/defines.inc.php looks like some variables are not declared. Its a module problem and developer must solve if is a paid module Link to comment Share on other sites More sharing options...
maxetc Posted October 7, 2016 Share Posted October 7, 2016 you get warnings in the header of the site or only in a log file? Hi! I have error Notice: Trying to get property of non-object in /var/www/vhosts/site/dir/classes/Tools.php on line 1222 in the header of the site. Line 1222: return Tools::getAdminToken($tab.(int)Tab::getIdFromClassName($tab).(int)$context->employee->id); /** * Tokenize a string * * @param string $string string to encript */ public static function getAdminToken($string) { return !empty($string) ? Tools::encrypt($string) : false; } public static function getAdminTokenLite($tab, Context $context = null) { if (!$context) { $context = Context::getContext(); } return Tools::getAdminToken($tab.(int)Tab::getIdFromClassName($tab).(int)$context->employee->id); } public static function getAdminTokenLiteSmarty($params, &$smarty) { $context = Context::getContext(); return Tools::getAdminToken($params['tab'].(int)Tab::getIdFromClassName($params['tab']).(int)$context->employee->id); } Link to comment Share on other sites More sharing options...
shacker Posted October 12, 2016 Share Posted October 12, 2016 Hi! I have error Notice: Trying to get property of non-object in /var/www/vhosts/site/dir/classes/Tools.php on line 1222 in the header of the site. Line 1222: return Tools::getAdminToken($tab.(int)Tab::getIdFromClassName($tab).(int)$context->employee->id); /** * Tokenize a string * * @param string $string string to encript */ public static function getAdminToken($string) { return !empty($string) ? Tools::encrypt($string) : false; } public static function getAdminTokenLite($tab, Context $context = null) { if (!$context) { $context = Context::getContext(); } return Tools::getAdminToken($tab.(int)Tab::getIdFromClassName($tab).(int)$context->employee->id); } public static function getAdminTokenLiteSmarty($params, &$smarty) { $context = Context::getContext(); return Tools::getAdminToken($params['tab'].(int)Tab::getIdFromClassName($params['tab']).(int)$context->employee->id); } try replacing the tools.php file with a new version of a most recent prestashop 1 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