hamid84 Posted September 18, 2012 Share Posted September 18, 2012 Hi, I have installed latest version and when try to create new product, i get a popup screen with following error. Some tabs were not loaded correctly, do you want to reload them? Im then given option to click OK or cancel. Its very annoying bug and sometimes shows blank page. Any solution please/ Link to comment Share on other sites More sharing options...
EngkusKusnadi Posted September 19, 2012 Share Posted September 19, 2012 Can you screenshot and attach your problem ? Do you have a check force compile to "yes" and cache to "no"? Link to comment Share on other sites More sharing options...
netmechanics Posted September 19, 2012 Share Posted September 19, 2012 (edited) Hi there - I have the same issue. Most of the tabs are not accessible and changing force compile and cache settings seem to make no difference. Any ideas? Edited September 19, 2012 by netmechanics (see edit history) Link to comment Share on other sites More sharing options...
MEG Venture Posted September 19, 2012 Share Posted September 19, 2012 (edited) A solution is offered here. http://forge.prestas...owse/PSCFV-4127 Please disable showing errors from config.inc.php and retry. Edited September 19, 2012 by Caglar (see edit history) Link to comment Share on other sites More sharing options...
hamid84 Posted September 19, 2012 Author Share Posted September 19, 2012 Perfect solution. Worked fine for me. Link to comment Share on other sites More sharing options...
ikakey Posted November 1, 2012 Share Posted November 1, 2012 I am having the same issues.. disabling errors (which is off be default) doesn't help me.. please advise. urgent.I am not able to edit anything. Same problem!!! Please HELP !!! Link to comment Share on other sites More sharing options...
mateipavel Posted February 4, 2013 Share Posted February 4, 2013 (edited) This problem is most likely caused by mod_evasive in Apache, or other security modules that prevent too many requests from being made to the server in a short interval of time. The "Edit product" page tries to pre-load the tabs in the left (SEO, Prices, etc). Loading a tab is done by doing an ajax request to the server. That means that whenever you load this page, 10 or more requests are being made instantly to the server. That's when mod_evasive kicks in, assuming that you're an attacker trying to bring the server down, and starts blocking all subsequent requests for a certain amount of time (a few seconds), enough to break the loading of the tabs. Solutions: 1. Add your IP to the mod_evasive whitelisted IPs list (you do this in your webserver configuration file, httpd.conf for Apache. http://www.linuxlog.org/?p=135 ) 2. If (and only if) you're on a test server, disable mod_evasive completely (do not do this on a production server, or you'll leave yourself vulnerable to DDOS attacks) This is not much help for non-tech guys, but PrestaShop is indeed a bit difficult to understand. This is only one of the errors that just pop up out of nowhere. Best of luck! Edited February 4, 2013 by mateipavel (see edit history) Link to comment Share on other sites More sharing options...
blackbudget Posted February 7, 2013 Share Posted February 7, 2013 Same problem!!! Please HELP !!! hey, did you manage to get this issue resolved. I've got the same and its a major pain! I am having the same issues.. disabling errors (which is off be default) doesn't help me.. please advise. urgent.I am not able to edit anything. hi did you ever get this resolved, i'm having the same issue Link to comment Share on other sites More sharing options...
Radu Posted February 13, 2013 Share Posted February 13, 2013 In my case I had prestashop version 1.5.0.17 replace in classes/Product.php $lang = Db::getInstance()->executeS('SELECT pac.id_product_attribute, GROUP_CONCAT(agl.`name`, \''.pSQL($attribute_value_separator).'\',al.`name` ORDER BY agl.`id_attribute_group` SEPARATOR \''.pSQL($attribute_separator).'\') as attribute_designation FROM `'._DB_PREFIX_.'product_attribute_combination` pac LEFT JOIN `'._DB_PREFIX_.'attribute` a ON a.`id_attribute` = pac.`id_attribute` LEFT JOIN `'._DB_PREFIX_.'attribute_group` ag ON ag.`id_attribute_group` = a.`id_attribute_group` LEFT JOIN `'._DB_PREFIX_.'attribute_lang` al ON (a.`id_attribute` = al.`id_attribute` AND al.`id_lang` = '.(int)$id_lang.') LEFT JOIN `'._DB_PREFIX_.'attribute_group_lang` agl ON (ag.`id_attribute_group` = agl.`id_attribute_group` AND agl.`id_lang` = '.(int)$id_lang.') WHERE pac.id_product_attribute IN ('.implode(',', $product_attributes).') GROUP BY pac.id_product_attribute'); with: $where = ''; if(!empty($product_attributes)) { $where = 'WHERE pac.id_product_attribute IN ('.implode(',', $product_attributes).')'; } $lang = Db::getInstance()->executeS('SELECT pac.id_product_attribute, GROUP_CONCAT(agl.`name`, \''.pSQL($attribute_value_separator).'\',al.`name` ORDER BY agl.`id_attribute_group` SEPARATOR \''.pSQL($attribute_separator).'\') as attribute_designation FROM `'._DB_PREFIX_.'product_attribute_combination` pac LEFT JOIN `'._DB_PREFIX_.'attribute` a ON a.`id_attribute` = pac.`id_attribute` LEFT JOIN `'._DB_PREFIX_.'attribute_group` ag ON ag.`id_attribute_group` = a.`id_attribute_group` LEFT JOIN `'._DB_PREFIX_.'attribute_lang` al ON (a.`id_attribute` = al.`id_attribute` AND al.`id_lang` = '.(int)$id_lang.') LEFT JOIN `'._DB_PREFIX_.'attribute_group_lang` agl ON (ag.`id_attribute_group` = agl.`id_attribute_group` AND agl.`id_lang` = '.(int)$id_lang.') '.$where.' GROUP BY pac.id_product_attribute'); Link to comment Share on other sites More sharing options...
modulstyle Posted March 21, 2013 Share Posted March 21, 2013 Nothing helps...anyone got another hint about that? 1 Link to comment Share on other sites More sharing options...
Kaspi88 Posted April 21, 2013 Share Posted April 21, 2013 Can you active the developer mode in /config/defines.inc.php? Please change the line define('PS_MODE_DEV', false); to define('PS_MODE_DEV', true); Link to comment Share on other sites More sharing options...
Rimesta7 Posted May 10, 2013 Share Posted May 10, 2013 I'm using Prestashop 1.5.2, when i active multi store i have this problem under Chrome & Mozilla.. I just keep clicking OK but the popoup deosnt disapear. I read somewhere that maybe it caused by the number of ajax request. Im using a mutual server so my host wouldnt change any configuration for me.. Link to comment Share on other sites More sharing options...
jhony Posted June 18, 2013 Share Posted June 18, 2013 Hi guys I have same problem but I didn't get any solution I have checked it with above method that kaspi, radu and venture said. Kindly tell me some alternative method to solve this problem. Thanks Link to comment Share on other sites More sharing options...
Rimesta7 Posted June 18, 2013 Share Posted June 18, 2013 Hi guys I have same problem but I didn't get any solution I have checked it with above method that kaspi, radu and venture said. Kindly tell me some alternative method to solve this problem. Thanks Hello jhony, i had the same problem and it caused by my host server, they use a security_mod that block ajax request if it exceed a certain number. so, the tabs are loaded by ajax.. that thr reason for me, i changed the my host server because they didnt want to change that option for me Good luck, Link to comment Share on other sites More sharing options...
Bejo Posted June 23, 2013 Share Posted June 23, 2013 i had the same problem... what can i do just now ask the hosting provider ps 1.5.4.1 Link to comment Share on other sites More sharing options...
Rimesta7 Posted June 23, 2013 Share Posted June 23, 2013 i had the same problem... what can i do just now ask the hosting provider ps 1.5.4.1 Hello, You can test your website in another hosting provider to know if the problem comes from yours. Link to comment Share on other sites More sharing options...
leowls Posted August 9, 2013 Share Posted August 9, 2013 Hello jhony, i had the same problem and it caused by my host server, they use a security_mod that block ajax request if it exceed a certain number. so, the tabs are loaded by ajax.. that thr reason for me, i changed the my host server because they didnt want to change that option for me Good luck, hi which host were you using previously? Link to comment Share on other sites More sharing options...
leowls Posted August 18, 2013 Share Posted August 18, 2013 A solution is offered here. http://forge.prestas...owse/PSCFV-4127 Please disable showing errors from config.inc.php and retry. can you tell me which line can i find the "disable error" code and disable it from the config.inc.php? Link to comment Share on other sites More sharing options...
El Patron Posted August 18, 2013 Share Posted August 18, 2013 can you tell me which line can i find the "disable error" code and disable it from the config.inc.php? see if this post helps: http://www.prestashop.com/forums/topic/224525-how-to-get-debug-information-for-500-error-or-blank-page/ 1 Link to comment Share on other sites More sharing options...
leowls Posted August 20, 2013 Share Posted August 20, 2013 see if this post helps: http://www.prestashop.com/forums/topic/224525-how-to-get-debug-information-for-500-error-or-blank-page/ thanks but it didnt help either Link to comment Share on other sites More sharing options...
vekia Posted August 20, 2013 Share Posted August 20, 2013 but after that, you should see additional information about errors, have you got any? Link to comment Share on other sites More sharing options...
David Eschmeyer Posted September 15, 2014 Share Posted September 15, 2014 i found the problem on my local server with this error message. I was playing with combinations and that brought on the bug. WHen i enabled debugging the error went away and the pages loaded properly, this is because the error was shown, i went through all tabs and the combination tab had the error Fatal error: Uncaught exception 'SmartyException' with message 'Unable to load template file 'C:\xampp\htdocs\presta1608\admin123/themes/default\template\combinations.tpl'' in C:\xampp\htdocs\presta1608\tools\smarty\sysplugins\smarty_internal_templatebase.php on line 127 i remember starting to make a combination and backing out quickly an then this error ever since. apparently i dont even have that file Link to comment Share on other sites More sharing options...
Recommended Posts