ergokid Posted November 27, 2013 Share Posted November 27, 2013 Hi friends, I need help. I've installed Prestashop 1.5.6.1 and everything was working fine until I made a slight change. The website was fine with the URL set to SEO friendly format. Then I changed that setting and then switch it back again to SEO friendly URL. After that, all the product pages went blank. The website URL is www.ergokid.com Thank you Link to comment Share on other sites More sharing options...
vekia Posted November 27, 2013 Share Posted November 27, 2013 try to regenerate .htaccess file, just remove it from your root directory and then - refresh your front office 1 1 Link to comment Share on other sites More sharing options...
ergokid Posted November 28, 2013 Author Share Posted November 28, 2013 [sOLVED] I'm using prestashop 1.5.6.1 I turned on error reporting by changing the file config/defines.inc.php define('_PS_MODE_DEV_', false); changed to look like this: define('_PS_MODE_DEV_', true); It turned out that it was the module Prestablog that I had installed was hooked on the product page that was the source of the problem. I unhooked it and the product pages reappeared. Thanks. 1 Link to comment Share on other sites More sharing options...
vekia Posted November 28, 2013 Share Posted November 28, 2013 thank you for information where the problem was and how you fixed it. i marked this topic as [solved] with regards, Milos 2 Link to comment Share on other sites More sharing options...
jardinice Posted June 2, 2014 Share Posted June 2, 2014 hello everybody, I wish I had it solved too ...I uploaded products in admin and did some changes..maybe in the SEO/ URL..I am not sure, but when I go to the website and click on products they do not display at all..it is blank...what can I do? Thank you! Link to comment Share on other sites More sharing options...
vekia Posted June 2, 2014 Share Posted June 2, 2014 follow suggestions above :-) especially from post #3 1 Link to comment Share on other sites More sharing options...
jardinice Posted June 3, 2014 Share Posted June 3, 2014 Thanks, I have read this but I do not know the steps in order to get to do that change...where do I have to do these changes as I don`t see it... Link to comment Share on other sites More sharing options...
csschopper.com Posted June 3, 2014 Share Posted June 3, 2014 Hi, Thanks, I have read this but I do not know the steps in order to get to do that change...where do I have to do these changes as I don`t see it... Turned on error reporting by changing the file config/defines.inc.php define('_PS_MODE_DEV_', false); change to look like this: define('_PS_MODE_DEV_', true); Then see the error. Thanks Alok 1 Link to comment Share on other sites More sharing options...
jardinice Posted June 3, 2014 Share Posted June 3, 2014 I cannot see an error reporting...everything seems to be ok on the administration...but when I go to the website the product page when I click is blank... Where can I find in admin the config/defines.inc.php ? Thank you! Link to comment Share on other sites More sharing options...
csschopper.com Posted June 3, 2014 Share Posted June 3, 2014 (edited) Hi, If you are using 1.6 then you can find this code in config/defines.inc.php. config directory is at root so you don't need to check admin directory. Edited June 3, 2014 by csschopper.com (see edit history) Link to comment Share on other sites More sharing options...
jardinice Posted June 3, 2014 Share Posted June 3, 2014 I am using 1.5.6.2 version Where exactly I can find config/defines.inc.php I am totally unaware... Thanks! Link to comment Share on other sites More sharing options...
csschopper.com Posted June 3, 2014 Share Posted June 3, 2014 Please look at screenshot. Link to comment Share on other sites More sharing options...
jardinice Posted June 3, 2014 Share Posted June 3, 2014 thank you..i have chatted with the person from histing and the problem seemed to be the low php memory...thank you very much! Link to comment Share on other sites More sharing options...
csschopper.com Posted June 3, 2014 Share Posted June 3, 2014 Great. Thanks Alok Link to comment Share on other sites More sharing options...
vekia Posted June 3, 2014 Share Posted June 3, 2014 Great. Thanks Alok it will be great if you will not attach urls to your posts i removed it. thanks in advance 1 Link to comment Share on other sites More sharing options...
accessorywireless Posted June 3, 2014 Share Posted June 3, 2014 I ran some module updates this morning and all of a sudden each individual product page is blank, no part number no descriptions ect. I need some guidance. Please Help Link to comment Share on other sites More sharing options...
Ron morales Posted June 11, 2014 Share Posted June 11, 2014 my I was the same it had been to update product comments Link to comment Share on other sites More sharing options...
asssets Posted June 11, 2014 Share Posted June 11, 2014 (edited) I was doing module updates and have same problem now. I turned to TRUE config/defines.inc.php I do refresh of product page and same blank, no any kind of error information. But where to see results? Report or something? Edited June 11, 2014 by asssets (see edit history) Link to comment Share on other sites More sharing options...
asssets Posted June 11, 2014 Share Posted June 11, 2014 (edited) Error log on root folder( name error_log) I opened in notepad++ and here are problems: PHP Fatal error: Call to undefined method ProductController::getProduct() in /home1/autodadd/public_html/shop/modules/productcomments/productcomments.php on line 820 After I did uninstall. Products start to load. Also PHP Warning for suscribeme/suscribeme.php</b> on line <b>449</b><br /> in /home1/autodadd/public_html/shop/classes/Tools.php on line 1845 Re-installing product comments module ver 3.3.5 got blank pages again. I have PrestaShop™ 1.5.4.1 Edited June 11, 2014 by asssets (see edit history) Link to comment Share on other sites More sharing options...
fancydressncr Posted October 24, 2014 Share Posted October 24, 2014 OMG The Products Page went Blank i am using prestashop 1.6.09 what all i had done was 1. add meta keywords to categories 2.add attachment to products 3. add product features PLEASE NEED HELP ASAP My Website http://www.fancydresscostume.in Link to comment Share on other sites More sharing options...
fancydressncr Posted October 24, 2014 Share Posted October 24, 2014 ohh God i was soo scared tuned out Fatal error: Class 'WishList' not found in /home/fancydre/public_html/modules/blockwishlist/blockwishlist.php on line 245 i disabled the module phewww its working Link to comment Share on other sites More sharing options...
Tung at RockPOS.com Posted November 5, 2014 Share Posted November 5, 2014 (edited) For people who are still in trouble with WishList - and if you still want to use WishList, here is the quick fix:- OR: Make sure this module is hooked into hookTop and of course, make sure hookTop is executed. (It's supposed to be fine).- OR, open the file modules/blockwishlist/blockwishlist.php, replace funtion hookProductActions() with this code: public function hookProductActions($params) { require_once(dirname(__FILE__).'/WishList.php');// I added this line. TungCEO $cookie = $params['cookie']; $this->smarty->assign(array( 'id_product' => (int)(Tools::getValue('id_product')), )); if (isset($cookie->id_customer)) $this->smarty->assign(array( 'wishlists' => WishList::getByIdCustomer($cookie->id_customer), )); return ($this->display(__FILE__, 'blockwishlist-extra.tpl')); } Edited November 5, 2014 by TungCEO (see edit history) 1 Link to comment Share on other sites More sharing options...
Knuden Posted February 21, 2015 Share Posted February 21, 2015 My product page turn to blank, after I tried to change grid/list product view, I followed this: http://mypresta.eu/en/art/developer/prestashop-products-list-grid-view.html. First the pictures change to a other sizes, so I change it back to default, and after that my product pages turn to white. Link to comment Share on other sites More sharing options...
Knuden Posted February 22, 2015 Share Posted February 22, 2015 Solved!!! I found out to solved this issue, first I followed this link; https://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information/ to find the problem, then I reinstalled this two files where the problem was, with FileZilla, from my to cPanel Link to comment Share on other sites More sharing options...
NadiaFlecha Posted July 20, 2015 Share Posted July 20, 2015 Hi, I need help to see what further steps I need to take to debug my BO Products tab. I launch the error source code by changing false to true but now that I have this error message code do not know what next I'm supposed to do to debug. Not an IT expert at all... My website is www.chokolate.be/shop the error message I get is [PrestaShopDatabaseException] Query execution was interrupted SELECT SQL_CALC_FOUND_ROWS a.`id_product`,b.name as name,`reference`,a.price as price,sa.active as active , shop.name as shopname, a.id_shop_default, MAX(image_shop.id_image) id_image, cl.name `name_category`, sa.`price`, 0 AS price_final, a.`is_virtual`, pd.`nb_downloadable`, sav.`quantity` as sav_quantity, sa.`active`, IF(sav.`quantity`<=0, 1, 0) badge_danger FROM `shop_product` a LEFT JOIN `shop_product_lang` b ON (b.`id_product` = a.`id_product` AND b.`id_lang` = 1 AND b.`id_shop` = 1) LEFT JOIN `shop_image` i ON (i.`id_product` = a.`id_product`) LEFT JOIN `shop_stock_available` sav ON (sav.`id_product` = a.`id_product` AND sav.`id_product_attribute` = 0 AND sav.id_shop = 1 AND sav.id_shop_group = 0 ) JOIN `shop_product_shop` sa ON (a.`id_product` = sa.`id_product` AND sa.id_shop = a.id_shop_default) LEFT JOIN `shop_category_lang` cl ON (sa.`id_category_default` = cl.`id_category` AND b.`id_lang` = cl.`id_lang` AND cl.id_shop = a.id_shop_default) LEFT JOIN `shop_shop` shop ON (shop.id_shop = a.id_shop_default) LEFT JOIN `shop_image_shop` image_shop ON (image_shop.`id_image` = i.`id_image` AND image_shop.`cover` = 1 AND image_shop.id_shop = a.id_shop_default) LEFT JOIN `shop_product_download` pd ON (pd.`id_product` = a.`id_product`) WHERE 1 GROUP BY sa.id_product ORDER BY a.`id_product` ASC LIMIT 0,50 at line 635 in file classes/db/Db.php 629. WebserviceRequest::getInstance()->setError(500, ' '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97); 630. } 631. else if (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) 632. { 633. if ($sql) 634. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>'); 635. throw new PrestaShopDatabaseException($this->getMsgError()); 636. } 637. } 638. 639. /** •DbCore->displayError - [line 325 - classes/db/Db.php] - [1 Arguments] •DbCore->query - [line 501 - classes/db/Db.php] - [1 Arguments] •DbCore->executeS - [line 2791 - classes/controller/AdminController.php] - [3 Arguments] •AdminControllerCore->getList - [line 358 - controllers/admin/AdminProductsController.php] - [6 Arguments] •AdminProductsControllerCore->getList - [line 1992 - classes/controller/AdminController.php] - [1 Arguments] •AdminControllerCore->renderList - [line 2431 - controllers/admin/AdminProductsController.php] •AdminProductsControllerCore->renderList - [line 1768 - classes/controller/AdminController.php] •AdminControllerCore->initContent - [line 2362 - controllers/admin/AdminProductsController.php] •AdminProductsControllerCore->initContent - [line 180 - classes/controller/Controller.php] •ControllerCore->run - [line 373 - classes/Dispatcher.php] •DispatcherCore->dispatch - [line 54 - admin/index.php] Would someone help me please? It would highly be appreciated. Thank you Link to comment Share on other sites More sharing options...
vekia Posted July 21, 2015 Share Posted July 21, 2015 this can be related to some mysql limits available on your hosting account have you got some mysql log related to "slow queries" ? Link to comment Share on other sites More sharing options...
NadiaFlecha Posted July 22, 2015 Share Posted July 22, 2015 Indeed got an e-mail thereafter from my hosting. So cleaned-up my database and created a new bigger sql space. Thank you for revering to me! All fixed now. Link to comment Share on other sites More sharing options...
mastermindlab Posted August 3, 2015 Share Posted August 3, 2015 Hello i need help.. i have blank page and i activate the debug... i have this error : Fatal error: Class 'Cache' not found in /home/xxxxxxx/www/classes/ObjectModel.php on line 1546 Thank You in Advance Link to comment Share on other sites More sharing options...
Shashikant N Sharma Posted October 17, 2015 Share Posted October 17, 2015 I did resolve this issue after going through the discussion. The simple process of turning off of 'Friendly URL' and again turning it on. Resolved the issue. Wonderful experience of working on Prestashop. 1 Link to comment Share on other sites More sharing options...
Tung at RockPOS.com Posted November 10, 2015 Share Posted November 10, 2015 I did resolve this issue after going through the discussion. The simple process of turning off of 'Friendly URL' and again turning it on. Resolved the issue. Wonderful experience of working on Prestashop. Good to know, congrats! Link to comment Share on other sites More sharing options...
Recommended Posts