WilkoHartung Posted March 25, 2014 Share Posted March 25, 2014 Hi all, I'm working on a new shop www.verfkeuze.nl but now my products will not show anymore? Can someone tell me why this is? al the rest works fine.. http://www.verfkeuze.nl/index.php?controller=category&id_category=2 Link to comment Share on other sites More sharing options...
musicmaster Posted March 25, 2014 Share Posted March 25, 2014 Did you check in your backoffice whether your products are switched on? Link to comment Share on other sites More sharing options...
WilkoHartung Posted March 25, 2014 Author Share Posted March 25, 2014 Yes I did nothing strange to see the products are switched on Link to comment Share on other sites More sharing options...
musicmaster Posted March 25, 2014 Share Posted March 25, 2014 What PS version are you using? Link to comment Share on other sites More sharing options...
WilkoHartung Posted March 25, 2014 Author Share Posted March 25, 2014 PrestaShop™ 1.5.6.2 Link to comment Share on other sites More sharing options...
El Patron Posted March 25, 2014 Share Posted March 25, 2014 weird, never seen this before... try turning on errors (doubt that it will show anything) : http://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information/ Link to comment Share on other sites More sharing options...
WilkoHartung Posted March 25, 2014 Author Share Posted March 25, 2014 ok I dit Link to comment Share on other sites More sharing options...
WilkoHartung Posted March 25, 2014 Author Share Posted March 25, 2014 I Get Notice: Undefined index: product_mode in/home/verfkeuze.nl/www/cache/smarty/compile/2c/4f/6d/2c4f6dc5208473d22d248059d8e61fba8d856984.file.product-list.tpl.php on line 43 Notice: Undefined index: product_mode in/home/verfkeuze.nl/www/cache/smarty/compile/2c/4f/6d/2c4f6dc5208473d22d248059d8e61fba8d856984.file.product-list.tpl.php on line 156 Link to comment Share on other sites More sharing options...
El Patron Posted March 25, 2014 Share Posted March 25, 2014 I Get Notice: Undefined index: product_mode in/home/verfkeuze.nl/www/cache/smarty/compile/2c/4f/6d/2c4f6dc5208473d22d248059d8e61fba8d856984.file.product-list.tpl.php on line 43 Notice: Undefined index: product_mode in/home/verfkeuze.nl/www/cache/smarty/compile/2c/4f/6d/2c4f6dc5208473d22d248059d8e61fba8d856984.file.product-list.tpl.php on line 156 well that's something..given it's the .tpl that is not displaying... if it was working, then not, think back to what you may have done (loaded a module?) and reverse. also, try clearing cache from admin-->performance...maybe just a hick up Link to comment Share on other sites More sharing options...
WilkoHartung Posted March 25, 2014 Author Share Posted March 25, 2014 I have done a lot of things in modules... stupit me not to check after every change.. I do have a full file backup from last saterday so I hopefully can still restore Link to comment Share on other sites More sharing options...
WilkoHartung Posted March 25, 2014 Author Share Posted March 25, 2014 If I restore all files do I then also set back hooks as the were before? Link to comment Share on other sites More sharing options...
El Patron Posted March 25, 2014 Share Posted March 25, 2014 I have done a lot of things in modules... stupit me not to check after every change.. I do have a full file backup from last saterday so I hopefully can still restore well..I'd bang around a little like clearing the cache...hopefully something very simple... did you clear cache? also you could turn off overrides and see if that resolves... restoring and losing work I think is last resort...but very smart to be making back ups... and yes, doh!...testing each chance is the key to success! Link to comment Share on other sites More sharing options...
WilkoHartung Posted March 25, 2014 Author Share Posted March 25, 2014 I did clear the cashe but no result.. Link to comment Share on other sites More sharing options...
WilkoHartung Posted March 25, 2014 Author Share Posted March 25, 2014 also you could turn off overrides and see if that resolves. what do you mean by this? Link to comment Share on other sites More sharing options...
El Patron Posted March 25, 2014 Share Posted March 25, 2014 also you could turn off overrides and see if that resolves. what do you mean by this? your ps version has a nifty feature where we can turn off non-native ps modules and overrides. try one at a time (overrides first) and then test product list... http://screencast.com/t/g3eN4ekTO Link to comment Share on other sites More sharing options...
WilkoHartung Posted March 25, 2014 Author Share Posted March 25, 2014 thanks I will give it a try Link to comment Share on other sites More sharing options...
El Patron Posted March 25, 2014 Share Posted March 25, 2014 thanks I will give it a try ok, I take siesta and hope on return you got it all sorted. Link to comment Share on other sites More sharing options...
musicmaster Posted March 26, 2014 Share Posted March 26, 2014 A few observations: - at the top of your page you have a couple of warnings like "Strict Standards: Declaration of Link::getProductLink() should be compatible with LinkCore::getProductLink". The interesting thing is that these are about files in the override directory - meaning that they are for some installed module that may not be compatible. - Your menu has at least one problem. See the last error message on the top: "Notice: Undefined variable: item1 in /home/verfkeuze.nl/www/modules/posmegamenu/posmegamenu.php on line 1046". So it might be interesting to look what happens when you switch that menu off. - I did a text search on my 1.5.6.1 shop for "product_mode". It is nowhere to be found in the whole shop. That raises the question from where you got it. BTW: are you aware of the problems of 1.6 modules accidentally installed in 1.5 shops? See for example http://www.prestashop.com/forums/topic/317563-solved-addons-suggesting-incompatiable-native-module-upgrades/ Link to comment Share on other sites More sharing options...
WilkoHartung Posted March 26, 2014 Author Share Posted March 26, 2014 After restoring the backup and reinstall the module: Pos Swith Mode product ( list or grid) view the products are back. The next thing to do is get rid off : Strict Standards: Declaration of Link::getLanguageLink() should be compatible with LinkCore::getLanguageLink($id_lang, Context $context = NULL) in /home/verfkeuze.nl/www/override/classes/Link.php on line 201 How can I resolve this? I was reading your message El Patron you say: did you place your overrides in your module folder like this? modules/modulename/override/classes/(your overridde)ps then should, during a reset, uninstall and then re-install to the root/override/classes/(your override) Do I have to remove the link.php fiole from /www/override/classes ? Link to comment Share on other sites More sharing options...
WilkoHartung Posted March 26, 2014 Author Share Posted March 26, 2014 After restoring the backup and reinstall the module: Pos Swith Mode product ( list or grid) view the products are back. The next thing to do is get rid off : Strict Standards: Declaration of Link::getLanguageLink() should be compatible with LinkCore::getLanguageLink($id_lang, Context $context = NULL) in /home/verfkeuze.nl/www/override/classes/Link.php on line 201 How can I resolve this? I was reading your message El Patron you say: did you place your overrides in your module folder like this? modules/modulename/override/classes/(your overridde) ps then should, during a reset, uninstall and then re-install to the root/override/classes/(your override) Do I have to remove the link.php fiole from /www/override/classes ? Also do I have to do this ? Q: I added an override file but it seems to be ignored by PrestaShop A: You need to trigger the regeneration of the /cache/class_index.php file. This is done simply by deleting the file. It is the same when manually removing an override: in order to reinstate the default behavior, you must delete the /cache/class_index.php file. Link to comment Share on other sites More sharing options...
WilkoHartung Posted March 26, 2014 Author Share Posted March 26, 2014 can this have anything to do why my category tree is not showing in my B.O. Link to comment Share on other sites More sharing options...
vekia Posted March 26, 2014 Share Posted March 26, 2014 for what purposes you use these overrides? someone or something created these overrides and i just suppose that these overrides arent compatibile with your ps version. Link to comment Share on other sites More sharing options...
WilkoHartung Posted March 26, 2014 Author Share Posted March 26, 2014 Well I don't know.. I have istalled a custom theme. I do not know what to do about these overrides.. Link to comment Share on other sites More sharing options...
El Patron Posted March 26, 2014 Share Posted March 26, 2014 Well I don't know.. I have istalled a custom theme. I do not know what to do about these overrides.. have you contacted the developer of the theme? you can probably post in paid section to get someone to fix this for very little money. Link to comment Share on other sites More sharing options...
vekia Posted March 26, 2014 Share Posted March 26, 2014 your theme contains some non default modules? Link to comment Share on other sites More sharing options...
WilkoHartung Posted March 27, 2014 Author Share Posted March 27, 2014 Yes it contains non default modules, I have contacted the theme developer and waiting for a reply. Link to comment Share on other sites More sharing options...
Recommended Posts