basse1985 Posted October 12, 2011 Share Posted October 12, 2011 Hi, I've been working on my prestashop on my localhost. Now I've put it up on a webserver and everything works fine except the categorys page. The categorys wont show. They work fine on the localhost. After putting it up on the webserver I havent changed anything. So I dont understand whats wrong. All the permissions are changed. The layered navigation module is disabled and even uninstalled. I've also regenerated a .htacess file. I've turned off friendly url. What else can I do? I've searched the forum and I havent found an answer to my problem. Thanks for all the help. The site is : www.youfixit.nu Link to comment Share on other sites More sharing options...
shacker Posted October 12, 2011 Share Posted October 12, 2011 edit the config.inc.php in config folder, and enable display errors and mysql errors. This shows whats wrong Link to comment Share on other sites More sharing options...
basse1985 Posted October 12, 2011 Author Share Posted October 12, 2011 Yes. I've done that now.. I get this : Warning: Invalid argument supplied for foreach() in/www/webvol16/a2/shhme3485krpog3/youfixit.nu/public_html/classes/CompareProduct.php on line72 And some more warnings. You can see them on : http://youfixit.nu/1-home THanks for helping me! Link to comment Share on other sites More sharing options...
shacker Posted October 12, 2011 Share Posted October 12, 2011 ok, try to replace the category.tpl from your theme to the category,tpl of the default theme (backup your file) Link to comment Share on other sites More sharing options...
basse1985 Posted October 12, 2011 Author Share Posted October 12, 2011 It works! It Works! The steps are: 1. edit config.inc.php in config folder . Change : @ini_set('display_errors', 'off'); TO : @ini_set('display_errors', 'on'); 2. Backup category.tpl in your themes folder. 3. Replace category.tpl of your theme for the category.tpl of default prestashop. 4. Force compile on preferences - preformance in BO prestashop. Thank you! This is solved. Link to comment Share on other sites More sharing options...
shacker Posted October 12, 2011 Share Posted October 12, 2011 your welcome. Check our free module on our store. regards Link to comment Share on other sites More sharing options...
Recommended Posts