jillmandy Posted September 19, 2014 Share Posted September 19, 2014 (edited) I've been having real problems with Prestashop 1.6.0.9 I'm trying to use the horizontal menu module in the BO. version 2.0.5 I had a fully functioning menu and I wanted to change one item. I removed it from the list on the left and then tried to add a new link. I could no longer add and then when I refreshed my page, all my items had been removed except one. I have been having other issues in other modules similar to this....so it may be a bigger issue than just this module. I'm new to prestashop but have been using WP and Joomla for a few years but not a developer so any help is greatly appreciated. I have tried on both Chrome and Safari. ***Resolution: Advanced Parameters>Performance>Disable All Overrides under Debug and it works again. Still trying to figure out which override caused this*** Edited September 20, 2014 by jillmandy (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted September 19, 2014 Share Posted September 19, 2014 hello please turn on error reporting, then try to add some new menu item do you see some error messages then? (related to database for example) Link to comment Share on other sites More sharing options...
IeM Posted September 19, 2014 Share Posted September 19, 2014 I to have an issue with the Top Menu. After a point of adding categories to the Multistores, the categories disappear altogether from the Top Menu add options and they play up in other selection areas. The heading Categories is there but that is it. So you can not add your product category to the sites that don't already have it added and you can't change it on the others. V1.6.0.9 The following errors aren't related to selecting the categories as far as I know. Error Log: PHP Notice: Trying to get property of non-object in /home/site/cache/smarty/compile/6b/de/ff/6bdeffb29bc7cbb12931a33864db4f2f00c77a1e.file.blocktopmenu.tpl.php on line 133 $("#search_query_<?php echo $_smarty_tpl->tpl_vars['blocksearch_type']->value;?> PHP Notice: Undefined index: ENT_QUOTES in /home/advantag/public_html/site/cache/smarty/compile/6b/de/ff/6bdeffb29bc7cbb12931a33864db4f2f00c77a1e.file.blocktopmenu.tpl.php on line 76 <input type="text" id="search_query" class="enterkey autoclear" name="search_query" value="<?php if (isset($_GET['search_query'])) {?><?php echo stripslashes(htmlentities($_GET['search_query'],$_smarty_tpl->tpl_vars['ENT_QUOTES']->value,'utf-8'));?> Link to comment Share on other sites More sharing options...
jillmandy Posted September 19, 2014 Author Share Posted September 19, 2014 hello please turn on error reporting, then try to add some new menu item do you see some error messages then? (related to database for example) I did as you suggested and still the same result with no errors. I selected a menu it, click add, the button turns blue but the item doesn't move over to selected items section. I've even tried double clicking the item from the available items section but again nothing. Link to comment Share on other sites More sharing options...
El Patron Posted September 19, 2014 Share Posted September 19, 2014 I had a 'similar' issue when I had bo-->adv parms-->performance-->smart cache set to never compile. I set to compile when updated...and that resolved my issue. I hope it helps with yours. (if not are you running any other cache?) Link to comment Share on other sites More sharing options...
jillmandy Posted September 19, 2014 Author Share Posted September 19, 2014 Thanks El Patron but I can't even save that option. Keeps reverting back to never compile. This happens all the time in other areas too. I just don't know what to do....should I reinstall? Link to comment Share on other sites More sharing options...
El Patron Posted September 19, 2014 Share Posted September 19, 2014 Thanks El Patron but I can't even save that option. Keeps reverting back to never compile. This happens all the time in other areas too. I just don't know what to do....should I reinstall? the most likely cause of configuration values returning to original values is duplicate names in table configuration. use PHPMYADMIN, open table ps_configuration, for smarty compile, see if PS_SMARTY_FORCE_COMPILE appears twice...if so delete the 2ND one then go back and try configuration in bo again. Link to comment Share on other sites More sharing options...
jillmandy Posted September 19, 2014 Author Share Posted September 19, 2014 (edited) the most likely cause of configuration values returning to original values is duplicate names in table configuration. use PHPMYADMIN, open table ps_configuration, for smarty compile, see if PS_SMARTY_FORCE_COMPILE appears twice...if so delete the 2ND one then go back and try configuration in bo again. I only found it once but should it have a value of 0? Edited September 19, 2014 by jillmandy (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted September 19, 2014 Share Posted September 19, 2014 maybe you use different db prefix, in my example I use default PS_ prefix. select ps_configuration-->browse-->(I generally set display 500 starting at 0) http://screencast.com/t/66fPLq6H1TMC Link to comment Share on other sites More sharing options...
jillmandy Posted September 19, 2014 Author Share Posted September 19, 2014 maybe you use different db prefix, in my example I use default PS_ prefix. select ps_configuration-->browse-->(I generally set display 500 starting at 0) http://screencast.com/t/66fPLq6H1TMC No this is how mine looks as well. Its only showing once. Link to comment Share on other sites More sharing options...
El Patron Posted September 19, 2014 Share Posted September 19, 2014 wow...this is weird bo-->adv parms-->performance scroll to bottom, do you have any cache (file/mem/apc) set? Link to comment Share on other sites More sharing options...
jillmandy Posted September 19, 2014 Author Share Posted September 19, 2014 yes this is set to file system but I can't turn it off either. Link to comment Share on other sites More sharing options...
El Patron Posted September 19, 2014 Share Posted September 19, 2014 yes this is set to file system but I can't turn it off either. holy moly! yes, file system is great, well until we want to change things. ...but you seem to have a lot of hair to pull out yet. using ftp: open file config/settings.inc.php change define('_PS_CACHE_ENABLED_', '1'); to define('_PS_CACHE_ENABLED_', '0'); then reupload to your shop. btw: in 98 more posts I become legend...hopefully they won't all be here..jajaja...chin up..it's all a learning experience. 1 Link to comment Share on other sites More sharing options...
jillmandy Posted September 19, 2014 Author Share Posted September 19, 2014 Ok I was able to get the Cache turned off but attempted the steps above, to set to compile when updated and still the same results. Luckily I am a patient person....for now..... This is definitely a test. Thanks for all your help, it's great to know there are nice people on here willing to help out! Link to comment Share on other sites More sharing options...
El Patron Posted September 19, 2014 Share Posted September 19, 2014 this is great community with many that help, we hope you return and help others. now seems like a hosting cache issue, i.e. many hosting companies implement some sort of caching (typically varnish). This may be causing you an issue. I'm not sure I have more educated guesses. btw: out of the box, on proper hosting and without 'us' doing anything to muck it up, ps does not have issue. So one must look at anything they may have done or that hosting may be doing. Link to comment Share on other sites More sharing options...
jillmandy Posted September 19, 2014 Author Share Posted September 19, 2014 I believe you may be right. I tried something the other day (changing text on the cart) and it worked but when I tried to change it a second time it wouldn't....however it would the next day....so maybe it's something on the server side. I'll look into this and if that's the case I'll post here so others that may know...> Thanks for all your help. Link to comment Share on other sites More sharing options...
El Patron Posted September 19, 2014 Share Posted September 19, 2014 I believe you may be right. I tried something the other day (changing text on the cart) and it worked but when I tried to change it a second time it wouldn't....however it would the next day....so maybe it's something on the server side. I'll look into this and if that's the case I'll post here so others that may know...> Thanks for all your help. please let us know what you find out...and you are very welcome. Link to comment Share on other sites More sharing options...
jillmandy Posted September 20, 2014 Author Share Posted September 20, 2014 (edited) Well I still haven't had much luck. It was working perfectly until yesterday. there were a few updates, wish I remember what I updated yesterday so maybe it's conflicting with one of those. I was able to change the cache to compile with update through the database. If anyone else has any ideas, please let me know...for now I will disable to the top menu and see if I can figure something else out for it. I just tried downgrading the module to force and update but that didn't work either. I posted a bug with Prestashop to see if any thoughts there. I'll post back if any results from it. Edited September 20, 2014 by jillmandy (see edit history) Link to comment Share on other sites More sharing options...
jillmandy Posted September 20, 2014 Author Share Posted September 20, 2014 I disabled all overrides and then I was able to add to my menu again. I'll have to figure out which override cause the problem but for now I'm ok. I'll edit my original post incase anyone else is having the problem and mark this as solved. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now