ojt Posted April 12, 2014 Share Posted April 12, 2014 In Multi store mode this has happened since upgrade, I can not add products or get categories working 1 Link to comment Share on other sites More sharing options...
webdev0008 Posted April 12, 2014 Share Posted April 12, 2014 Hi I think you get some javascript errors.Check your browser console for finding out the errors. 1 Link to comment Share on other sites More sharing options...
NemoPS Posted April 12, 2014 Share Posted April 12, 2014 Specifically, check the network tab of the console and see if you get a response from the various calls to adminproducts. If not, enable error reporting as described in my signature and see if you get something that way Link to comment Share on other sites More sharing options...
ojt Posted April 12, 2014 Author Share Posted April 12, 2014 (edited) Specifically, check the network tab of the console and see if you get a response from the various calls to adminproducts. If not, enable error reporting as described in my signature and see if you get something that way Thanks for your comments however I am not to sure about where to check this, or how to make the calls. I am new to Prestashop I opened the file defines.inc.php and changed the setting to true, that has not given me any error messages, I can not save a product as I can not get it into a category or even open the association tab due to the error Confirmation Message as earlier described. Edited April 12, 2014 by ojt (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted April 12, 2014 Share Posted April 12, 2014 press ctrl+shift+j then reload page you will see there several requests, if some of them are red, paste console log (only red errors) here Link to comment Share on other sites More sharing options...
ojt Posted April 12, 2014 Author Share Posted April 12, 2014 press ctrl+shift+j then reload page you will see there several requests, if some of them are red, paste console log (only red errors) here No error messages just the original one. do I press the ctrl+shift+j when the message appears, clear the message and do it or go to a new window? Link to comment Share on other sites More sharing options...
webdev0008 Posted April 12, 2014 Share Posted April 12, 2014 Hi use google chrome. press ctrl+shift+j it open the console, after this reload the page and you see the some error message in red in console. please see attach file. Link to comment Share on other sites More sharing options...
ojt Posted April 12, 2014 Author Share Posted April 12, 2014 Here is the errors POST http://www.ojt.co.nz/shop/admin123/index.php?controller=AdminProducts&token…4&id_product=0&action=Associations&updateproduct&ajax=1&rand=1397340606905 500 (Internal Server Error) jquery-1.11.0.min.js:4 POST http://www.ojt.co.nz/shop/admin123/index.php?controller=AdminProducts&token…4&id_product=0&action=Associations&updateproduct&ajax=1&rand=1397340611654 500 (Internal Server Error) jquery-1.11.0.min.js:4 POST http://www.ojt.co.nz/shop/admin123/index.php?controller=AdminProducts&token…4&id_product=0&action=Associations&updateproduct&ajax=1&rand=1397340620658 500 (Internal Server Error) jquery-1.11.0.min.js:4 Link to comment Share on other sites More sharing options...
vekia Posted April 13, 2014 Share Posted April 13, 2014 turn on error reporting in your store, then do the same think. click on link in your console then open "response" tab (you will see it on the right hand side) what you see there? Link to comment Share on other sites More sharing options...
ojt Posted April 14, 2014 Author Share Posted April 14, 2014 turn on error reporting in your store, then do the same think. click on link in your console then open "response" tab (you will see it on the right hand side) what you see there? <style> #psException{font-family: Verdana; font-size: 14px} #psException h2{color: #F20000} #psException p{padding-left: 20px} #psException ul li{margin-bottom: 10px} #psException a{font-size: 12px; color: #000000} #psException .psTrace, #psException .psArgs{display: none} #psException pre{border: 1px solid #236B04; background-color: #EAFEE1; padding: 5px; font-family: Courier; width: 99%; overflow-x: auto; margin-bottom: 30px;} #psException .psArgs pre{background-color: #F1FDFE;} #psException pre .selected{color: #F20000; font-weight: bold;} </style><div id="psException"><h2>[PrestaShopException]</h2><p><b>Root category must be an integer value</b><br /><i>at line </i><b>125</b><i> in file </i><b>classes/helper/HelperTreeCategories.php</b></p><div class="psTrace" id="psTrace_" style="display: block"><pre>119. } 120. 121. public function setRootCategory($value) 122. { 123. if (!Validate::isInt($value)) <span class="selected">124. throw new PrestaShopException('Root category must be an integer value'); </span>125. 126. $this->_root_category = $value; 127. return $this; 128. } 129. </pre></div><ul><li><b>HelperTreeCategoriesCore->setRootCategory</b> - <a style="font-size: 12px; color: #000000; cursor:pointer; color: blue;" onclick="document.getElementById('psTrace_0').style.display = (document.getElementById('psTrace_0').style.display != 'block') ? 'block' : 'none'; return false">[line 2987 - controllers/admin/AdminProductsController.php]</a> - <a style="font-size: 12px; color: #000000; cursor:pointer; color: blue;" onclick="document.getElementById('psArgs_0').style.display = (document.getElementById('psArgs_0').style.display != 'block') ? 'block' : 'none'; return false">[1 Arguments]</a><div class="psTrace" id="psTrace_0" ><pre>2981. $categories[] = $key; 2982. 2983. $tree = new HelperTreeCategories('associated-categories-tree', 'Associated categories'); 2984. $tree->setTemplate('tree_associated_categories.tpl') 2985. ->setHeaderTemplate('tree_associated_header.tpl') <span class="selected">2986. ->setRootCategory($root->id) </span>2987. ->setUseCheckBox(true) 2988. ->setUseSearch(true) 2989. ->setSelectedCategories($categories); 2990. 2991. $data->assign(array('default_category' => $default_category, </pre></div><div class="psArgs" id="psArgs_0"><pre><b>Argument [0]</b> </pre></li><li><b>AdminProductsControllerCore->initFormAssociations</b> - <a style="font-size: 12px; color: #000000; cursor:pointer; color: blue;" onclick="document.getElementById('psTrace_1').style.display = (document.getElementById('psTrace_1').style.display != 'block') ? 'block' : 'none'; return false">[line 2658 - controllers/admin/AdminProductsController.php]</a> - <a style="font-size: 12px; color: #000000; cursor:pointer; color: blue;" onclick="document.getElementById('psArgs_1').style.display = (document.getElementById('psArgs_1').style.display != 'block') ? 'block' : 'none'; return false">[1 Arguments]</a><div class="psTrace" id="psTrace_1" ><pre>2652. // if there was an error while saving, we don't want to lose posted data 2653. if (!empty($this->errors)) 2654. $this->copyFromPost($this->object, $this->table); 2655. 2656. $this->initPack($this->object); <span class="selected">2657. $this->{'initForm'.$this->tab_display}($this->object); </span>2658. $this->tpl_form_vars['product'] = $this->object; 2659. 2660. if ($this->ajax) 2661. if (!isset($this->tpl_form_vars['custom_form'])) 2662. throw new PrestaShopException('custom_form empty for action '.$this->tab_display); </pre></div><div class="psArgs" id="psArgs_1"><pre><b>Argument [0]</b> Product Object ( [tax_name] => [tax_rate] => [id_manufacturer] => [id_supplier] => [id_category_default] => [id_shop_default] => [manufacturer_name] => [supplier_name] => [name] => [description] => [description_short] => [quantity] => 0 [minimal_quantity] => 1 [available_now] => [available_later] => [price] => 0 [additional_shipping_cost] => 0 [wholesale_price] => 0 [on_sale] => [online_only] => [unity] => [unit_price] => [unit_price_ratio] => 0 [ecotax] => 0 [reference] => [supplier_reference] => [location] => [width] => 0 [height] => 0 [depth] => 0 [weight] => 0 [ean13] => [upc] => [link_rewrite] => [meta_description] => [meta_keywords] => [meta_title] => [quantity_discount] => 0 [customizable] => [new] => [uploadable_files] => [text_fields] => [active] => 1 [redirect_type] => [id_product_redirected] => 0 [available_for_order] => 1 [available_date] => 0000-00-00 [condition] => [show_price] => 1 [indexed] => 0 [visibility] => [date_add] => [date_upd] => [tags] => [id_tax_rules_group] => 1 [id_color_default] => 0 [advanced_stock_management] => 0 [out_of_stock] => [depends_on_stock] => [isFullyLoaded] => [cache_is_pack] => [cache_has_attachments] => [is_virtual] => [cache_default_attribute] => [category] => [webserviceParameters:protected] => Array ( [objectMethods] => Array ( [add] => addWs [update] => updateWs ) [objectNodeNames] => products [fields] => Array ( [id_manufacturer] => Array ( [xlink_resource] => manufacturers ) [id_supplier] => Array ( [xlink_resource] => suppliers ) [id_category_default] => Array ( [xlink_resource] => categories ) [new] => Array ( ) [cache_default_attribute] => Array ( ) [id_default_image] => Array ( [getter] => getCoverWs [setter] => setCoverWs [xlink_resource] => Array ( [resourceName] => images [subResourceName] => products ) ) [id_default_combination] => Array ( [getter] => getWsDefaultCombination [setter] => setWsDefaultCombination [xlink_resource] => Array ( [resourceName] => combinations ) ) [id_tax_rules_group] => Array ( [xlink_resource] => Array ( [resourceName] => tax_rule_groups ) ) [position_in_category] => Array ( [getter] => getWsPositionInCategory [setter] => ) [manufacturer_name] => Array ( [getter] => getWsManufacturerName [setter] => ) [quantity] => Array ( [getter] => [setter] => ) [type] => Array ( [getter] => getWsType [setter] => setWsType ) ) [associations] => Array ( [categories] => Array ( [resource] => category [fields] => Array ( [id] => Array ( [required] => 1 ) ) ) [images] => Array ( [resource] => image [fields] => Array ( [id] => Array ( ) ) ) [combinations] => Array ( [resource] => combinations [fields] => Array ( [id] => Array ( [required] => 1 ) ) ) [product_option_values] => Array ( [resource] => product_options_values [fields] => Array ( [id] => Array ( [required] => 1 ) ) ) [product_features] => Array ( [resource] => product_feature [fields] => Array ( [id] => Array ( [required] => 1 ) [custom] => Array ( [required] => ) [id_feature_value] => Array ( [required] => 1 [xlink_resource] => product_feature_values ) ) ) [tags] => Array ( [resource] => tag [fields] => Array ( [id] => Array ( [required] => 1 ) ) ) [stock_availables] => Array ( [resource] => stock_available [fields] => Array ( [id] => Array ( [required] => 1 ) [id_product_attribute] => Array ( [required] => 1 ) ) [setter] => ) [accessories] => Array ( [resource] => product [fields] => Array ( [id] => Array ( [required] => 1 [xlink_resource] => product ) ) ) [product_bundle] => Array ( [resource] => products [fields] => Array ( [id] => Array ( [required] => 1 ) [quantity] => Array ( ) ) ) ) ) [id] => [id_lang:protected] => [id_shop:protected] => 1 [id_shop_list] => [get_shop_from_context:protected] => 1 [table:protected] => product [identifier:protected] => id_product [fieldsRequired:protected] => Array ( [0] => price ) [fieldsSize:protected] => Array ( [reference] => 32 [supplier_reference] => 32 [location] => 64 [ean13] => 13 [upc] => 12 ) [fieldsValidate:protected] => Array ( [id_shop_default] => isUnsignedId [id_manufacturer] => isUnsignedId [id_supplier] => isUnsignedId [reference] => isReference [supplier_reference] => isReference [location] => isReference [width] => isUnsignedFloat [height] => isUnsignedFloat [depth] => isUnsignedFloat [weight] => isUnsignedFloat [quantity_discount] => isBool [ean13] => isEan13 [upc] => isUpc [cache_is_pack] => isBool [cache_has_attachments] => isBool [is_virtual] => isBool [id_category_default] => isUnsignedId [id_tax_rules_group] => isUnsignedId [on_sale] => isBool [online_only] => isBool [ecotax] => isPrice [minimal_quantity] => isUnsignedInt [price] => isPrice [wholesale_price] => isPrice [unity] => isString [additional_shipping_cost] => isPrice [customizable] => isUnsignedInt [text_fields] => isUnsignedInt [uploadable_files] => isUnsignedInt [active] => isBool [redirect_type] => isString [id_product_redirected] => isUnsignedId [available_for_order] => isBool [available_date] => isDateFormat [condition] => isGenericName [show_price] => isBool [indexed] => isBool [visibility] => isProductVisibility [advanced_stock_management] => isBool [date_add] => isDateFormat [date_upd] => isDateFormat ) [fieldsRequiredLang:protected] => Array ( [0] => link_rewrite [1] => name ) [fieldsSizeLang:protected] => Array ( [meta_description] => 255 [meta_keywords] => 255 [meta_title] => 128 [link_rewrite] => 128 [name] => 128 [available_now] => 255 [available_later] => 255 ) [fieldsValidateLang:protected] => Array ( [meta_description] => isGenericName [meta_keywords] => isGenericName [meta_title] => isGenericName [link_rewrite] => isLinkRewrite [name] => isCatalogName [description] => isCleanHtml [description_short] => isCleanHtml [available_now] => isGenericName [available_later] => IsGenericName ) [tables:protected] => Array ( ) [image_dir:protected] => [image_format:protected] => jpg [def:protected] => Array ( [table] => product [primary] => id_product [multilang] => 1 [multilang_shop] => 1 [fields] => Array ( [id_shop_default] => Array ( [type] => 1 [validate] => isUnsignedId ) [id_manufacturer] => Array ( [type] => 1 [validate] => isUnsignedId ) [id_supplier] => Array ( [type] => 1 [validate] => isUnsignedId ) [reference] => Array ( [type] => 3 [validate] => isReference => 32 ) [supplier_reference] => Array ( [type] => 3 [validate] => isReference => 32 ) [location] => Array ( [type] => 3 [validate] => isReference => 64 ) [width] => Array ( [type] => 4 [validate] => isUnsignedFloat ) [height] => Array ( [type] => 4 [validate] => isUnsignedFloat ) [depth] => Array ( [type] => 4 [validate] => isUnsignedFloat ) [weight] => Array ( [type] => 4 [validate] => isUnsignedFloat ) [quantity_discount] => Array ( [type] => 2 [validate] => isBool ) [ean13] => Array ( [type] => 3 [validate] => isEan13 => 13 ) [upc] => Array ( [type] => 3 [validate] => isUpc => 12 ) [cache_is_pack] => Array ( [type] => 2 [validate] => isBool ) [cache_has_attachments] => Array ( [type] => 2 [validate] => isBool ) [is_virtual] => Array ( [type] => 2 [validate] => isBool ) [id_category_default] => Array ( [type] => 1 [shop] => 1 [validate] => isUnsignedId ) [id_tax_rules_group] => Array ( [type] => 1 [shop] => 1 [validate] => isUnsignedId ) [on_sale] => Array ( [type] => 2 [shop] => 1 [validate] => isBool ) [online_only] => Array ( [type] => 2 [shop] => 1 [validate] => isBool ) [ecotax] => Array ( [type] => 4 [shop] => 1 [validate] => isPrice ) [minimal_quantity] => Array ( [type] => 1 [shop] => 1 [validate] => isUnsignedInt ) [price] => Array ( [type] => 4 [shop] => 1 [validate] => isPrice [required] => 1 ) [wholesale_price] => Array ( [type] => 4 [shop] => 1 [validate] => isPrice ) [unity] => Array ( [type] => 3 [shop] => 1 [validate] => isString ) [unit_price_ratio] => Array ( [type] => 4 [shop] => 1 ) [additional_shipping_cost] => Array ( [type] => 4 [shop] => 1 [validate] => isPrice ) [customizable] => Array ( [type] => 1 [shop] => 1 [validate] => isUnsignedInt ) [text_fields] => Array ( [type] => 1 [shop] => 1 [validate] => isUnsignedInt ) [uploadable_files] => Array ( [type] => 1 [shop] => 1 [validate] => isUnsignedInt ) [active] => Array ( [type] => 2 [shop] => 1 [validate] => isBool ) [redirect_type] => Array ( [type] => 3 [shop] => 1 [validate] => isString ) [id_product_redirected] => Array ( [type] => 1 [shop] => 1 [validate] => isUnsignedId ) [available_for_order] => Array ( [type] => 2 [shop] => 1 [validate] => isBool ) [available_date] => Array ( [type] => 5 [shop] => 1 [validate] => isDateFormat ) [condition] => Array ( [type] => 3 [shop] => 1 [validate] => isGenericName [values] => Array ( [0] => new [1] => used [2] => refurbished ) [default] => new ) [show_price] => Array ( [type] => 2 [shop] => 1 [validate] => isBool ) [indexed] => Array ( [type] => 2 [shop] => 1 [validate] => isBool ) [visibility] => Array ( [type] => 3 [shop] => 1 [validate] => isProductVisibility [values] => Array ( [0] => both [1] => catalog [2] => search [3] => none ) [default] => both ) [cache_default_attribute] => Array ( [type] => 1 [shop] => 1 ) [advanced_stock_management] => Array ( [type] => 2 [shop] => 1 [validate] => isBool ) [date_add] => Array ( [type] => 5 [shop] => 1 [validate] => isDateFormat ) [date_upd] => Array ( [type] => 5 [shop] => 1 [validate] => isDateFormat ) [meta_description] => Array ( [type] => 3 [lang] => 1 [validate] => isGenericName => 255 ) [meta_keywords] => Array ( [type] => 3 [lang] => 1 [validate] => isGenericName => 255 ) [meta_title] => Array ( [type] => 3 [lang] => 1 [validate] => isGenericName => 128 ) [link_rewrite] => Array ( [type] => 3 [lang] => 1 [validate] => isLinkRewrite [required] => 1 => 128 [ws_modifier] => Array ( [http_method] => 2 [modifier] => modifierWsLinkRewrite ) ) [name] => Array ( [type] => 3 [lang] => 1 [validate] => isCatalogName [required] => 1 => 128 ) [description] => Array ( [type] => 6 [lang] => 1 [validate] => isCleanHtml ) [description_short] => Array ( [type] => 6 [lang] => 1 [validate] => isCleanHtml ) [available_now] => Array ( [type] => 3 [lang] => 1 [validate] => isGenericName => 255 ) [available_later] => Array ( [type] => 3 [lang] => 1 [validate] => IsGenericName => 255 ) ) [associations] => Array ( [manufacturer] => Array ( [type] => 1 ) [supplier] => Array ( [type] => 1 ) [default_category] => Array ( [type] => 1 [field] => id_category_default [object] => Category ) [tax_rules_group] => Array ( [type] => 1 ) [categories] => Array ( [type] => 2 [field] => id_category [object] => Category [association] => category_product ) [stock_availables] => Array ( [type] => 2 [field] => id_stock_available [object] => StockAvailable [association] => stock_availables ) [l] => Array ( [type] => 2 [field] => id_product [foreign_field] => id_product ) ) [classname] => Product ) [update_fields:protected] => [packItems] => Array ( ) ) </pre></li><li><b>AdminProductsControllerCore->renderForm</b> - <a style="font-size: 12px; color: #000000; cursor:pointer; color: blue;" onclick="document.getElementById('psTrace_2').style.display = (document.getElementById('psTrace_2').style.display != 'block') ? 'block' : 'none'; return false">[line 1742 - classes/controller/AdminController.php]</a><div class="psTrace" id="psTrace_2" ><pre>1736. if ($this->display == 'edit' || $this->display == 'add') 1737. { 1738. if (!$this->loadObject(true)) 1739. return; 1740. <span class="selected">1741. $this->content .= $this->renderForm(); </span>1742. } 1743. elseif ($this->display == 'view') 1744. { 1745. // Some controllers use the view action without an object 1746. if ($this->className) </pre></div></li><li><b>AdminControllerCore->initContent</b> - <a style="font-size: 12px; color: #000000; cursor:pointer; color: blue;" onclick="document.getElementById('psTrace_3').style.display = (document.getElementById('psTrace_3').style.display != 'block') ? 'block' : 'none'; return false">[line 2327 - controllers/admin/AdminProductsController.php]</a><div class="psTrace" id="psTrace_3" ><pre>2321. $this->tpl_list_vars['base_url'] = preg_replace('#&id_category=[0-9]*#', '', self::$currentIndex).'&token='.$this->token; 2322. } 2323. // @todo module free 2324. $this->tpl_form_vars['vat_number'] = file_exists(_PS_MODULE_DIR_.'vatnumber/ajax.php'); 2325. <span class="selected">2326. parent::initContent(); </span>2327. } 2328. 2329. public function renderKpis() 2330. { 2331. $time = time(); </pre></div></li><li><b>AdminProductsControllerCore->initContent</b> - <a style="font-size: 12px; color: #000000; cursor:pointer; color: blue;" onclick="document.getElementById('psTrace_4').style.display = (document.getElementById('psTrace_4').style.display != 'block') ? 'block' : 'none'; return false">[line 180 - classes/controller/Controller.php]</a><div class="psTrace" id="psTrace_4" ><pre>174. 175. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) 176. $this->initHeader(); 177. 178. if ($this->viewAccess()) <span class="selected">179. $this->initContent(); </span>180. else 181. $this->errors[] = Tools::displayError('Access denied.'); 182. 183. if (!$this->content_only && ($this->display_footer || (isset($this->className) && $this->className))) 184. $this->initFooter(); </pre></div></li><li><b>ControllerCore->run</b> - <a style="font-size: 12px; color: #000000; cursor:pointer; color: blue;" onclick="document.getElementById('psTrace_5').style.display = (document.getElementById('psTrace_5').style.display != 'block') ? 'block' : 'none'; return false">[line 373 - classes/Dispatcher.php]</a><div class="psTrace" id="psTrace_5" ><pre>367. // Execute hook dispatcher 368. if (isset($params_hook_action_dispatcher)) 369. Hook::exec('actionDispatcher', $params_hook_action_dispatcher); 370. 371. // Running controller <span class="selected">372. $controller->run(); </span>373. } 374. catch (PrestaShopException $e) 375. { 376. $e->displayMessage(); 377. } </pre></div></li><li><b>DispatcherCore->dispatch</b> - <a style="font-size: 12px; color: #000000; cursor:pointer; color: blue;" onclick="document.getElementById('psTrace_6').style.display = (document.getElementById('psTrace_6').style.display != 'block') ? 'block' : 'none'; return false">[line 54 - admin/index.php]</a><div class="psTrace" id="psTrace_6" ><pre>48. $_POST['controller'] = strtolower($_POST['tab']); 49. if (!isset($_REQUEST['controller']) && isset($_REQUEST['tab'])) 50. $_REQUEST['controller'] = strtolower($_REQUEST['tab']); 51. 52. // Prepare and trigger admin dispatcher <span class="selected">53. Dispatcher::getInstance()->dispatch(); </span></pre></div></li></ul></div> Link to comment Share on other sites More sharing options...
NemoPS Posted April 14, 2014 Share Posted April 14, 2014 It seems the root category is not an integer. Weird! What is your root category? Did you use some tools like storecommander to organize them perhaps? Can you try disabling multistore? Link to comment Share on other sites More sharing options...
ojt Posted April 18, 2014 Author Share Posted April 18, 2014 It seems the root category is not an integer. Weird! What is your root category? Did you use some tools like storecommander to organize them perhaps? Can you try disabling multistore? I have disable multi store and am still getting the same error. I do not use other tools and right now I have no products or categories. Just an empty store. I have run the database cleaner and still no go. I think I will delete the entire installation and start again. It only happened when I enabled multistore, maybe I should have a separate store for each site. Link to comment Share on other sites More sharing options...
NemoPS Posted April 19, 2014 Share Posted April 19, 2014 uh database cleaner? You mean prestashop cleaner? If so BAD idea Have a look at the ps_shop table and check the root category for shop 1 1 Link to comment Share on other sites More sharing options...
ish6614 Posted April 29, 2014 Share Posted April 29, 2014 (edited) Hi, I'm getting the same issue. But mine was after I imported my products through CSV importer. Here is the console log. Failed to load resource: the server responded with a status of 500 (Internal Server Error) http://www.xyz.com/admin/index.php?controller=AdminProducts&token=ef95f72ee560cacb920134f6b3352322&id_product=0&action=Associations&updateproduct&ajax=1&rand=1398775494544 Any clues? Edited April 29, 2014 by ish6614 (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted April 29, 2014 Share Posted April 29, 2014 turn on error reporting, then instead of "internal server error" you will get detailed information about what and where doesnt work (in response tab in console log) 1 Link to comment Share on other sites More sharing options...
nanozombi Posted May 4, 2014 Share Posted May 4, 2014 Hi the same happened to me. I can't see any Categories in the BO but if I try to create a new one I see the tree of categories to define the parent category. I can't see the tab of the associations of the products to the categories in the BO, but I can see the list of categories in the Categories FO module. I also did a database clean with the PS cleaner... yeah I know, bad idea There is also a report about this in http://forge.prestashop.com/browse/PSCSX-1981 When I try to configure the module blocklayered I get this error: [PrestaShopException] Root category must be an integer value at line 125 in file classes/helper/HelperTreeCategories.php 119. } 120. 121. public function setRootCategory($value) 122. { 123. if (!Validate::isInt($value)) 124. throw new PrestaShopException('Root category must be an integer value'); 125. 126. $this->_root_category = $value; 127. return $this; 128. } 129. I am completely lost. I can't get my featured products on the homepage, or I can't use the horizontal menu (throws a 404 error). If you look for a product in the search box, everything looks fine. Any clue, anyone? You can see the site here: http://prestatest.digitalvalles.com/ Thanks masters! NZB Link to comment Share on other sites More sharing options...
btsfreak Posted May 13, 2014 Share Posted May 13, 2014 Hi! I get the same problem with a 1.5.6.1 version, Error just pops up when I open the catalog->products page. And keeps on popping up (annoying). JS errors are: Failed to load resource: the server responded with a status of 500 (Internal Server Error) [ADMIN-FOLDER-URL]/index.php?controller=ProductsController.php&id_product=5&action=Combinations&updateproduct&ajax=1&rand=1399990963085 Failed to load resource: the server responded with a status of 404 (Not Found) [sHOP-ROOT-URL]/img/p/de-default-smallest_default.jpg Uncaught Error: no such method 'resize' for accordion widget instance jquery-1.7.2.min.js:2 e.extend.error jquery-1.7.2.min.js:2 (anonymous function) jquery.ui.widget.min.js:4 e.extend.each jquery-1.7.2.min.js:2 e.fn.e.each jquery-1.7.2.min.js:2 e.fn.(anonymous function) jquery.ui.widget.min.js:4 (anonymous function) Any ideas? Link to comment Share on other sites More sharing options...
siomosp Posted June 21, 2014 Share Posted June 21, 2014 (edited) uh database cleaner? You mean prestashop cleaner? If so BAD idea >>>> Have a look at the ps_shop table and check the root category for shop 1 You saved my day , if not the week! I was trying to migrate to a clean PS 1.6.0.8 from PS 1.5.4.1 I had the same issue with the categories not showing , cannot edit products , and the error "Some tabs was not loaded correctly. Would you like to reload them?" After changing the table > ps_shop , field > id_category to 1 , all are perfect. Edited June 21, 2014 by siomosp (see edit history) 3 Link to comment Share on other sites More sharing options...
fulviods Posted July 1, 2014 Share Posted July 1, 2014 lucky.... changing id_category to 1 (it was 2) didnt change anything...still cant add a product.... amazing that i cant use prestashop!!! Link to comment Share on other sites More sharing options...
siomosp Posted July 1, 2014 Share Posted July 1, 2014 In case that you start using Prestashop from version 1.4, as i do, check at table ps-configuration PS_ROOT_CATEGORY , normaly is 0 , but in my case is 568 Take a look and at table ps-configuration PS_HOME_CATEGORY PS_CUSTOMER_GROUP Link to comment Share on other sites More sharing options...
fulviods Posted July 1, 2014 Share Posted July 1, 2014 I'm on PS 1.6.0.8..... Link to comment Share on other sites More sharing options...
siomosp Posted July 1, 2014 Share Posted July 1, 2014 i'm on PS 1.6.0.8 also. But i start from 1.4.X and used auto upgrade for 1.5.4.2 Now , i am on 1..6.0.8 with manual upgrade ( Clean install , and synchronizing via navicat , products , categories , customers e.t.c ) Link to comment Share on other sites More sharing options...
fulviods Posted July 1, 2014 Share Posted July 1, 2014 I was on 1.6.0.7.... and now on 1.6.0.8 , i m going to make a new install.... but i would prefer some explanations than just re-install everything.... in ps_configuration table i dont have those fields.... Link to comment Share on other sites More sharing options...
NemoPS Posted July 2, 2014 Share Posted July 2, 2014 Those missing entries were evidently caused by the upgrade, it would be better to re-add them manually Link to comment Share on other sites More sharing options...
artshop-az.com Posted July 18, 2014 Share Posted July 18, 2014 Link to comment Share on other sites More sharing options...
vekia Posted July 18, 2014 Share Posted July 18, 2014 hello if you opem one of the link from console (ajax query with error) what you see then? Link to comment Share on other sites More sharing options...
xman2 Posted July 19, 2014 Share Posted July 19, 2014 hi, i have facing same problem Some tabs was not loaded correctly. Would you like to reload them? error , i attached snap shot of this . can any one help me . thanks Link to comment Share on other sites More sharing options...
NemoPS Posted July 19, 2014 Share Posted July 19, 2014 Weird, empty response. Can you try examining the network tab as well? filter to only display XHR calls and inspect the response and headers Link to comment Share on other sites More sharing options...
xman2 Posted July 19, 2014 Share Posted July 19, 2014 see my network tab Link to comment Share on other sites More sharing options...
vekia Posted July 20, 2014 Share Posted July 20, 2014 your host is based on apache or nginx? Link to comment Share on other sites More sharing options...
xman2 Posted July 21, 2014 Share Posted July 21, 2014 i dont know . but this is godady shared hosting . Link to comment Share on other sites More sharing options...
NemoPS Posted July 21, 2014 Share Posted July 21, 2014 Bad gateway. Hm, it's worth trying to contact godaddy I believe Link to comment Share on other sites More sharing options...
vekia Posted July 21, 2014 Share Posted July 21, 2014 so if it's godaddy host you're on apache so my idea is dead now, i thought that it was related to some nginx mod-rewrite directives in configuration of virtual server. Link to comment Share on other sites More sharing options...
jeyjoo Posted July 31, 2014 Share Posted July 31, 2014 Any update on this topic? I have a very similar issue - on the product page, the page does not load past the image tab and gives the errors: Error: "mydomain.com/js/jquery/jquery-1.11.0.min.js line 2 > eval:2 has stopped working" Error "Some tabs was not loaded correctly. Would you like to reload them?" In common with the other websites above, my site is also on GoDaddy (quite possibly the world's worst hosting). If anyone has resolved, please post the solution here. Thanks Link to comment Share on other sites More sharing options...
ecommdev Posted August 24, 2014 Share Posted August 24, 2014 Hi, I am getting the same error but NOT with godaddy, screenshot: http://gyazo.com/c15160a63b9b2e813adec54151fffcf9 HOWEVER, its NOT hosted with godaddy, in fact it's with Digital Ocean. The error just started this week. If you click on the internal error link, you receive the following details, screenshot: http://gyazo.com/e1186e7fcf4536ec79c0fa72b6a4736b I am lost to figure out the solution and need help, can someone who has experienced this issue without being hosted with godaddy please share with the community. I am posting this message on multiple threads hoping someone will see this and merge together. Link to comment Share on other sites More sharing options...
vekia Posted August 24, 2014 Share Posted August 24, 2014 turn on error reporting, then reproduce error open console and click on internal server error after that, open "response" tab, copy results here Link to comment Share on other sites More sharing options...
ecommdev Posted August 24, 2014 Share Posted August 24, 2014 1: FYI: I am using prestashop manager 2: error reporting has been turned on. 3: Response tab details below <style> #psException{font-family: Verdana; font-size: 14px} #psException h2{color: #F20000} #psException p{padding-left: 20px} #psException ul li{margin-bottom: 10px} #psException a{font-size: 12px; color: #000000} #psException .psTrace, #psException .psArgs{display: none} #psException pre{border: 1px solid #236B04; background-color: #EAFEE1; padding: 5px; font-family: Courier; width: 99%; overflow-x: auto; margin-bottom: 30px;} #psException .psArgs pre{background-color: #F1FDFE;} #psException pre .selected{color: #F20000; font-weight: bold;} </style><div id="psException"><h2>[PrestaShopException]</h2><p><b>Root category must be an integer value</b><br /><i>at line </i><b>125</b><i> in file </i><b>classes/helper/HelperTreeCategories.php</b></p><div class="psTrace" id="psTrace_" style="display: block"><pre>119. } 120. 121. public function setRootCategory($value) 122. { 123. if (!Validate::isInt($value)) <span class="selected">124. throw new PrestaShopException('Root category must be an integer value'); </span>125. 126. $this->_root_category = $value; 127. return $this; 128. } 129. </pre></div><ul><li><b>HelperTreeCategoriesCore->setRootCategory</b> - <a style="font-size: 12px; color: #000000; cursor:pointer; color: blue;" onclick="document.getElementById('psTrace_0').style.display = (document.getElementById('psTrace_0').style.display != 'block') ? 'block' : 'none'; return false">[line 3023 - controllers/admin/AdminProductsController.php]</a> - <a style="font-size: 12px; color: #000000; cursor:pointer; color: blue;" onclick="document.getElementById('psArgs_0').style.display = (document.getElementById('psArgs_0').style.display != 'block') ? 'block' : 'none'; return false">[1 Arguments]</a><div class="psTrace" id="psTrace_0" ><pre>3017. $categories[] = $key; 3018. 3019. $tree = new HelperTreeCategories('associated-categories-tree', 'Associated categories'); 3020. $tree->setTemplate('tree_associated_categories.tpl') 3021. ->setHeaderTemplate('tree_associated_header.tpl') <span class="selected">3022. ->setRootCategory($root->id) </span>3023. ->setUseCheckBox(true) 3024. ->setUseSearch(true) 3025. ->setSelectedCategories($categories); 3026. 3027. $data->assign(array('default_category' => $default_category, </pre></div><div class="psArgs" id="psArgs_0"><pre><b>Argument [0]</b> </pre></li><li><b>AdminProductsControllerCore->initFormAssociations</b> - <a style="font-size: 12px; color: #000000; cursor:pointer; color: blue;" onclick="document.getElementById('psTrace_1').style.display = (document.getElementById('psTrace_1').style.display != 'block') ? 'block' : 'none'; return false">[line 2694 - controllers/admin/AdminProductsController.php]</a> - <a style="font-size: 12px; color: #000000; cursor:pointer; color: blue;" onclick="document.getElementById('psArgs_1').style.display = (document.getElementById('psArgs_1').style.display != 'block') ? 'block' : 'none'; return false">[1 Arguments]</a><div class="psTrace" id="psTrace_1" ><pre>2688. // if there was an error while saving, we don't want to lose posted data 2689. if (!empty($this->errors)) 2690. $this->copyFromPost($this->object, $this->table); 2691. 2692. $this->initPack($this->object); <span class="selected">2693. $this->{'initForm'.$this->tab_display}($this->object); </span>2694. $this->tpl_form_vars['product'] = $this->object; 2695. 2696. if ($this->ajax) 2697. if (!isset($this->tpl_form_vars['custom_form'])) 2698. throw new PrestaShopException('custom_form empty for action '.$this->tab_display); </pre></div><div class="psArgs" id="psArgs_1"><pre><b>Argument [0]</b> Product Object ( [tax_name] => [tax_rate] => [id_manufacturer] => [id_supplier] => [id_category_default] => [id_shop_default] => [manufacturer_name] => [supplier_name] => [name] => [description] => [description_short] => [quantity] => 0 [minimal_quantity] => 1 [available_now] => [available_later] => [price] => 0 [additional_shipping_cost] => 0 [wholesale_price] => 0 [on_sale] => [online_only] => [unity] => [unit_price] => [unit_price_ratio] => 0 [ecotax] => 0 [reference] => [supplier_reference] => [location] => [width] => 0 [height] => 0 [depth] => 0 [weight] => 0 [ean13] => [upc] => [link_rewrite] => [meta_description] => [meta_keywords] => [meta_title] => [quantity_discount] => 0 [customizable] => [new] => [uploadable_files] => [text_fields] => [active] => 1 [redirect_type] => [id_product_redirected] => 0 [available_for_order] => 1 [available_date] => 0000-00-00 [condition] => [show_price] => 1 [indexed] => 0 [visibility] => [date_add] => [date_upd] => [tags] => [id_tax_rules_group] => 1 [id_color_default] => 0 [advanced_stock_management] => 0 [out_of_stock] => [depends_on_stock] => [isFullyLoaded] => [cache_is_pack] => [cache_has_attachments] => [is_virtual] => [cache_default_attribute] => [category] => [webserviceParameters:protected] => Array ( [objectMethods] => Array ( [add] => addWs [update] => updateWs ) [objectNodeNames] => products [fields] => Array ( [id_manufacturer] => Array ( [xlink_resource] => manufacturers ) [id_supplier] => Array ( [xlink_resource] => suppliers ) [id_category_default] => Array ( [xlink_resource] => categories ) [new] => Array ( ) [cache_default_attribute] => Array ( ) [id_default_image] => Array ( [getter] => getCoverWs [setter] => setCoverWs [xlink_resource] => Array ( [resourceName] => images [subResourceName] => products ) ) [id_default_combination] => Array ( [getter] => getWsDefaultCombination [setter] => setWsDefaultCombination [xlink_resource] => Array ( [resourceName] => combinations ) ) [id_tax_rules_group] => Array ( [xlink_resource] => Array ( [resourceName] => tax_rule_groups ) ) [position_in_category] => Array ( [getter] => getWsPositionInCategory [setter] => ) [manufacturer_name] => Array ( [getter] => getWsManufacturerName [setter] => ) [quantity] => Array ( [getter] => [setter] => ) [type] => Array ( [getter] => getWsType [setter] => setWsType ) ) [associations] => Array ( [categories] => Array ( [resource] => category [fields] => Array ( [id] => Array ( [required] => 1 ) ) ) [images] => Array ( [resource] => image [fields] => Array ( [id] => Array ( ) ) ) [combinations] => Array ( [resource] => combinations [fields] => Array ( [id] => Array ( [required] => 1 ) ) ) [product_option_values] => Array ( [resource] => product_options_values [fields] => Array ( [id] => Array ( [required] => 1 ) ) ) [product_features] => Array ( [resource] => product_feature [fields] => Array ( [id] => Array ( [required] => 1 ) [custom] => Array ( [required] => ) [id_feature_value] => Array ( [required] => 1 [xlink_resource] => product_feature_values ) ) ) [tags] => Array ( [resource] => tag [fields] => Array ( [id] => Array ( [required] => 1 ) ) ) [stock_availables] => Array ( [resource] => stock_available [fields] => Array ( [id] => Array ( [required] => 1 ) [id_product_attribute] => Array ( [required] => 1 ) ) [setter] => ) [accessories] => Array ( [resource] => product [fields] => Array ( [id] => Array ( [required] => 1 [xlink_resource] => product ) ) ) [product_bundle] => Array ( [resource] => products [fields] => Array ( [id] => Array ( [required] => 1 ) [quantity] => Array ( ) ) ) ) ) [id] => [id_lang:protected] => [id_shop:protected] => 1 [id_shop_list] => [get_shop_from_context:protected] => 1 [table:protected] => product [identifier:protected] => id_product [fieldsRequired:protected] => Array ( [0] => price ) [fieldsSize:protected] => Array ( [reference] => 32 [supplier_reference] => 32 [location] => 64 [ean13] => 13 [upc] => 12 ) [fieldsValidate:protected] => Array ( [id_shop_default] => isUnsignedId [id_manufacturer] => isUnsignedId [id_supplier] => isUnsignedId [reference] => isReference [supplier_reference] => isReference [location] => isReference [width] => isUnsignedFloat [height] => isUnsignedFloat [depth] => isUnsignedFloat [weight] => isUnsignedFloat [quantity_discount] => isBool [ean13] => isEan13 [upc] => isUpc [cache_is_pack] => isBool [cache_has_attachments] => isBool [is_virtual] => isBool [id_category_default] => isUnsignedId [id_tax_rules_group] => isUnsignedId [on_sale] => isBool [online_only] => isBool [ecotax] => isPrice [minimal_quantity] => isUnsignedInt [price] => isPrice [wholesale_price] => isPrice [unity] => isString [additional_shipping_cost] => isPrice [customizable] => isUnsignedInt [text_fields] => isUnsignedInt [uploadable_files] => isUnsignedInt [active] => isBool [redirect_type] => isString [id_product_redirected] => isUnsignedId [available_for_order] => isBool [available_date] => isDateFormat [condition] => isGenericName [show_price] => isBool [indexed] => isBool [visibility] => isProductVisibility [advanced_stock_management] => isBool [date_add] => isDateFormat [date_upd] => isDateFormat ) [fieldsRequiredLang:protected] => Array ( [0] => link_rewrite [1] => name ) [fieldsSizeLang:protected] => Array ( [meta_description] => 255 [meta_keywords] => 255 [meta_title] => 128 [link_rewrite] => 128 [name] => 128 [available_now] => 255 [available_later] => 255 ) [fieldsValidateLang:protected] => Array ( [meta_description] => isGenericName [meta_keywords] => isGenericName [meta_title] => isGenericName [link_rewrite] => isLinkRewrite [name] => isCatalogName [description] => isCleanHtml [description_short] => isCleanHtml [available_now] => isGenericName [available_later] => IsGenericName ) [tables:protected] => Array ( ) [image_dir:protected] => [image_format:protected] => jpg [def:protected] => Array ( [table] => product [primary] => id_product [multilang] => 1 [multilang_shop] => 1 [fields] => Array ( [id_shop_default] => Array ( [type] => 1 [validate] => isUnsignedId ) [id_manufacturer] => Array ( [type] => 1 [validate] => isUnsignedId ) [id_supplier] => Array ( [type] => 1 [validate] => isUnsignedId ) [reference] => Array ( [type] => 3 [validate] => isReference => 32 ) [supplier_reference] => Array ( [type] => 3 [validate] => isReference => 32 ) [location] => Array ( [type] => 3 [validate] => isReference => 64 ) [width] => Array ( [type] => 4 [validate] => isUnsignedFloat ) [height] => Array ( [type] => 4 [validate] => isUnsignedFloat ) [depth] => Array ( [type] => 4 [validate] => isUnsignedFloat ) [weight] => Array ( [type] => 4 [validate] => isUnsignedFloat ) [quantity_discount] => Array ( [type] => 2 [validate] => isBool ) [ean13] => Array ( [type] => 3 [validate] => isEan13 => 13 ) [upc] => Array ( [type] => 3 [validate] => isUpc => 12 ) [cache_is_pack] => Array ( [type] => 2 [validate] => isBool ) [cache_has_attachments] => Array ( [type] => 2 [validate] => isBool ) [is_virtual] => Array ( [type] => 2 [validate] => isBool ) [id_category_default] => Array ( [type] => 1 [shop] => 1 [validate] => isUnsignedId ) [id_tax_rules_group] => Array ( [type] => 1 [shop] => 1 [validate] => isUnsignedId ) [on_sale] => Array ( [type] => 2 [shop] => 1 [validate] => isBool ) [online_only] => Array ( [type] => 2 [shop] => 1 [validate] => isBool ) [ecotax] => Array ( [type] => 4 [shop] => 1 [validate] => isPrice ) [minimal_quantity] => Array ( [type] => 1 [shop] => 1 [validate] => isUnsignedInt ) [price] => Array ( [type] => 4 [shop] => 1 [validate] => isPrice [required] => 1 ) [wholesale_price] => Array ( [type] => 4 [shop] => 1 [validate] => isPrice ) [unity] => Array ( [type] => 3 [shop] => 1 [validate] => isString ) [unit_price_ratio] => Array ( [type] => 4 [shop] => 1 ) [additional_shipping_cost] => Array ( [type] => 4 [shop] => 1 [validate] => isPrice ) [customizable] => Array ( [type] => 1 [shop] => 1 [validate] => isUnsignedInt ) [text_fields] => Array ( [type] => 1 [shop] => 1 [validate] => isUnsignedInt ) [uploadable_files] => Array ( [type] => 1 [shop] => 1 [validate] => isUnsignedInt ) [active] => Array ( [type] => 2 [shop] => 1 [validate] => isBool ) [redirect_type] => Array ( [type] => 3 [shop] => 1 [validate] => isString ) [id_product_redirected] => Array ( [type] => 1 [shop] => 1 [validate] => isUnsignedId ) [available_for_order] => Array ( [type] => 2 [shop] => 1 [validate] => isBool ) [available_date] => Array ( [type] => 5 [shop] => 1 [validate] => isDateFormat ) [condition] => Array ( [type] => 3 [shop] => 1 [validate] => isGenericName [values] => Array ( [0] => new [1] => used [2] => refurbished ) [default] => new ) [show_price] => Array ( [type] => 2 [shop] => 1 [validate] => isBool ) [indexed] => Array ( [type] => 2 [shop] => 1 [validate] => isBool ) [visibility] => Array ( [type] => 3 [shop] => 1 [validate] => isProductVisibility [values] => Array ( [0] => both [1] => catalog [2] => search [3] => none ) [default] => both ) [cache_default_attribute] => Array ( [type] => 1 [shop] => 1 ) [advanced_stock_management] => Array ( [type] => 2 [shop] => 1 [validate] => isBool ) [date_add] => Array ( [type] => 5 [shop] => 1 [validate] => isDateFormat ) [date_upd] => Array ( [type] => 5 [shop] => 1 [validate] => isDateFormat ) [meta_description] => Array ( [type] => 3 [lang] => 1 [validate] => isGenericName => 255 ) [meta_keywords] => Array ( [type] => 3 [lang] => 1 [validate] => isGenericName => 255 ) [meta_title] => Array ( [type] => 3 [lang] => 1 [validate] => isGenericName => 128 ) [link_rewrite] => Array ( [type] => 3 [lang] => 1 [validate] => isLinkRewrite [required] => 1 => 128 [ws_modifier] => Array ( [http_method] => 2 [modifier] => modifierWsLinkRewrite ) ) [name] => Array ( [type] => 3 [lang] => 1 [validate] => isCatalogName [required] => 1 => 128 ) [description] => Array ( [type] => 6 [lang] => 1 [validate] => isCleanHtml ) [description_short] => Array ( [type] => 6 [lang] => 1 [validate] => isCleanHtml ) [available_now] => Array ( [type] => 3 [lang] => 1 [validate] => isGenericName => 255 ) [available_later] => Array ( [type] => 3 [lang] => 1 [validate] => IsGenericName => 255 ) ) [associations] => Array ( [manufacturer] => Array ( [type] => 1 ) [supplier] => Array ( [type] => 1 ) [default_category] => Array ( [type] => 1 [field] => id_category_default [object] => Category ) [tax_rules_group] => Array ( [type] => 1 ) [categories] => Array ( [type] => 2 [field] => id_category [object] => Category [association] => category_product ) [stock_availables] => Array ( [type] => 2 [field] => id_stock_available [object] => StockAvailable [association] => stock_availables ) [l] => Array ( [type] => 2 [field] => id_product [foreign_field] => id_product ) ) [classname] => Product ) [update_fields:protected] => [force_id] => [packItems] => Array ( ) ) </pre></li><li><b>AdminProductsControllerCore->renderForm</b> - <a style="font-size: 12px; color: #000000; cursor:pointer; color: blue;" onclick="document.getElementById('psTrace_2').style.display = (document.getElementById('psTrace_2').style.display != 'block') ? 'block' : 'none'; return false">[line 1751 - classes/controller/AdminController.php]</a><div class="psTrace" id="psTrace_2" ><pre>1745. if ($this->display == 'edit' || $this->display == 'add') 1746. { 1747. if (!$this->loadObject(true)) 1748. return; 1749. <span class="selected">1750. $this->content .= $this->renderForm(); </span>1751. } 1752. elseif ($this->display == 'view') 1753. { 1754. // Some controllers use the view action without an object 1755. if ($this->className) </pre></div></li><li><b>AdminControllerCore->initContent</b> - <a style="font-size: 12px; color: #000000; cursor:pointer; color: blue;" onclick="document.getElementById('psTrace_3').style.display = (document.getElementById('psTrace_3').style.display != 'block') ? 'block' : 'none'; return false">[line 2362 - controllers/admin/AdminProductsController.php]</a><div class="psTrace" id="psTrace_3" ><pre>2356. $this->tpl_list_vars['base_url'] = preg_replace('#&id_category=[0-9]*#', '', self::$currentIndex).'&token='.$this->token; 2357. } 2358. // @todo module free 2359. $this->tpl_form_vars['vat_number'] = file_exists(_PS_MODULE_DIR_.'vatnumber/ajax.php'); 2360. <span class="selected">2361. parent::initContent(); </span>2362. } 2363. 2364. public function renderKpis() 2365. { 2366. $time = time(); </pre></div></li><li><b>AdminProductsControllerCore->initContent</b> - <a style="font-size: 12px; color: #000000; cursor:pointer; color: blue;" onclick="document.getElementById('psTrace_4').style.display = (document.getElementById('psTrace_4').style.display != 'block') ? 'block' : 'none'; return false">[line 180 - classes/controller/Controller.php]</a><div class="psTrace" id="psTrace_4" ><pre>174. 175. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) 176. $this->initHeader(); 177. 178. if ($this->viewAccess()) <span class="selected">179. $this->initContent(); </span>180. else 181. $this->errors[] = Tools::displayError('Access denied.'); 182. 183. if (!$this->content_only && ($this->display_footer || (isset($this->className) && $this->className))) 184. $this->initFooter(); </pre></div></li><li><b>ControllerCore->run</b> - <a style="font-size: 12px; color: #000000; cursor:pointer; color: blue;" onclick="document.getElementById('psTrace_5').style.display = (document.getElementById('psTrace_5').style.display != 'block') ? 'block' : 'none'; return false">[line 373 - classes/Dispatcher.php]</a><div class="psTrace" id="psTrace_5" ><pre>367. // Execute hook dispatcher 368. if (isset($params_hook_action_dispatcher)) 369. Hook::exec('actionDispatcher', $params_hook_action_dispatcher); 370. 371. // Running controller <span class="selected">372. $controller->run(); </span>373. } 374. catch (PrestaShopException $e) 375. { 376. $e->displayMessage(); 377. } </pre></div></li><li><b>DispatcherCore->dispatch</b> - <a style="font-size: 12px; color: #000000; cursor:pointer; color: blue;" onclick="document.getElementById('psTrace_6').style.display = (document.getElementById('psTrace_6').style.display != 'block') ? 'block' : 'none'; return false">[line 54 - admin/index.php]</a><div class="psTrace" id="psTrace_6" ><pre>48. $_POST['controller'] = strtolower($_POST['tab']); 49. if (!isset($_REQUEST['controller']) && isset($_REQUEST['tab'])) 50. $_REQUEST['controller'] = strtolower($_REQUEST['tab']); 51. 52. // Prepare and trigger admin dispatcher <span class="selected">53. Dispatcher::getInstance()->dispatch(); </span></pre></div></li></ul></div> Link to comment Share on other sites More sharing options...
ecommdev Posted August 25, 2014 Share Posted August 25, 2014 Please see my previous post as well, I believe this issue is related to: http://www.prestashop.com/forums/topic/352952-16-backoffice-product-category-associations-error/ Its something related to the categories and products not working correctly in prestashop backoffice. Question, what exactly happened and how can it be fixed? Let me know. Link to comment Share on other sites More sharing options...
vekia Posted August 25, 2014 Share Posted August 25, 2014 somehow it displays specification of $product object you modified something in controllers / admin templates? do you use there some {$product|print_r} (in .tpl files) or print_r($product) somewhere in php files? Link to comment Share on other sites More sharing options...
ecommdev Posted August 26, 2014 Share Posted August 26, 2014 I haven't edited any of those files. The only things, 1) started using prestashop manager 2) updated many modules Can't use prestashop store until its fixed, very concerned. Any instructions or clues how to fix the issue? Link to comment Share on other sites More sharing options...
ecommdev Posted August 27, 2014 Share Posted August 27, 2014 BUMP: Any ideas for corrections? This appears to be happening to multiple stores besides my own store. Please advise. Link to comment Share on other sites More sharing options...
Fernand WAFO Posted August 30, 2014 Share Posted August 30, 2014 hi Check that languages correspond cdt, Link to comment Share on other sites More sharing options...
ecommdev Posted August 31, 2014 Share Posted August 31, 2014 Can you advise how to check that languages correspond? Let me know. Link to comment Share on other sites More sharing options...
perkinswilm Posted November 2, 2014 Share Posted November 2, 2014 You saved my day , if not the week! I was trying to migrate to a clean PS 1.6.0.8 from PS 1.5.4.1 I had the same issue with the categories not showing , cannot edit products , and the error "Some tabs was not loaded correctly. Would you like to reload them?" After changing the table > ps_shop , field > id_category to 1 , all are perfect. where do i go to do this? Link to comment Share on other sites More sharing options...
DWNY Posted December 2, 2014 Share Posted December 2, 2014 I'm also having the same issue. I went into the database and made the suggested change, but the prompt persists. Anybody got any other ideas? Link to comment Share on other sites More sharing options...
DWNY Posted December 3, 2014 Share Posted December 3, 2014 (Posted to another thread besides this one) The hosting company that my client uses came up with another fix - He said the problem was memory allocation for php apps on his server. He raised the memory limit to 128MB and the problem stopped. Link to comment Share on other sites More sharing options...
ecommdev Posted December 16, 2014 Share Posted December 16, 2014 The issue, the home (root) category is missing, add it back and assign all the categories below it and all will be working. Worked forever trying to solve the issue and then someone recommended to check about the home root category, fixed the issue. 2 Link to comment Share on other sites More sharing options...
Recommended Posts