crismith Posted July 31, 2013 Share Posted July 31, 2013 In the Prestashop Admin are when I display the Catalog > Products you have an option to Filter by Category.. When I select this it expands but only displays the Home category, and a circle time icon display but no other categories display, the icon just keeps rotating. Can any suggest what is wrong here and how I can fix this annoyance. I've attached a screen image. Using PrestaShop version: 1.5.4.1 Link to comment Share on other sites More sharing options...
vekia Posted July 31, 2013 Share Posted July 31, 2013 can you check the browser console log? you can do it for example in chrome browser: ctrl+shift+J then you will be able to see errors in the console if any error appear - please paste it here Link to comment Share on other sites More sharing options...
crismith Posted July 31, 2013 Author Share Posted July 31, 2013 Ah yes we have an error see below ============================== Uncaught SyntaxError: Unexpected token < index.php?controller=AdminProducts&token=55c92b5e278394ee3889a6ba2a39ccb3&reset_filter_category=1:1 Link to comment Share on other sites More sharing options...
benjamin utterback Posted July 31, 2013 Share Posted July 31, 2013 Hi crissmith, is this a fresh install or an upgraded version? It looks like it could be a .js error... could you use google Chrome and press (Ctrl+Shift+J) to open up the Console. In your backoffice when you click the Filter by Category,... Let us know if there is anything there. Link to comment Share on other sites More sharing options...
vekia Posted July 31, 2013 Share Posted July 31, 2013 Hey, Benjamin, he pasted the console output above @crismith you use some external addons (especially features for the back office?) Link to comment Share on other sites More sharing options...
benjamin utterback Posted July 31, 2013 Share Posted July 31, 2013 Oh hey vekia, I didn't notice that. I thought that was the Error reporting log. Sorry! Do you think error reporting might help in the defines.inc.php? Link to comment Share on other sites More sharing options...
crismith Posted July 31, 2013 Author Share Posted July 31, 2013 (edited) Hi all It was a fairly new install about 2 months ago, The only add ons were from our theme which is just front office. We had a lot of problems with the host and just moved the site, but this problem was also showing on the old host. I activated Store Commander a few days ago (uninstalled it as well) but that was after this problem as well. == No wait the Theme does include a backoffice Theme manager "Cs Theme Editor" this is for managing the CSS of the theme mostly. The Theme Developed by :Codespot| Version :1 | Description : Add block theme editor. Edited July 31, 2013 by crismith (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted August 1, 2013 Share Posted August 1, 2013 and if you turn off this addon "Cs Theme Editor" the problem still occur? Can you try? I asked about external module, because I developed many addons, for back office too, and problem like you've got occur when module include some junk to the header of the back office. I suppose that Cs theme editor do the same but of course im not sure at all Link to comment Share on other sites More sharing options...
crismith Posted August 1, 2013 Author Share Posted August 1, 2013 Ok I tried that - no change. Link to comment Share on other sites More sharing options...
outblast Posted October 6, 2013 Share Posted October 6, 2013 I had the same problem, I changed the language in BO and now it works updated version 1.5.5.0 Link to comment Share on other sites More sharing options...
Michal N. SEO Posted November 28, 2013 Share Posted November 28, 2013 (edited) Hi I have Presta 1.5.6, dont work Tabs on Detail product and Filter by Category. I try change admin language. I try change borwser (Chrome,IE). For others employees is admin Ok. Log from Chrome (Ctrl+shift+J) ----------------------filter by category--------------------- Uncaught ReferenceError: $ is not defined gamification.js:1Uncaught ReferenceError: $ is not defined admin.js:331Uncaught ReferenceError: $ is not defined tools.js:336Uncaught ReferenceError: $ is not defined toolbar.js:1Uncaught ReferenceError: $ is not defined notifications.js:1Uncaught ReferenceError: $ is not defined helpAccess.js:1Uncaught ReferenceError: jQuery is not defined jquery.treeview-categories.js:259Uncaught ReferenceError: jQuery is not defined jquery.treeview-categories.async.js:85Uncaught ReferenceError: jQuery is not defined jquery.treeview-categories.edit.js:37Uncaught ReferenceError: $ is not defined index.php:305Uncaught ReferenceError: $ is not defined index.php:314Uncaught ReferenceError: $ is not defined index.php:355Uncaught ReferenceError: $ is not defined index.php:446Uncaught ReferenceError: $ is not defined index.php:487 --------------------------------tab detial product---------------------------- Uncaught ReferenceError: $ is not defined gamification.js:1Uncaught ReferenceError: $ is not defined admin.js:331Uncaught ReferenceError: $ is not defined tools.js:336Uncaught ReferenceError: $ is not defined toolbar.js:1Uncaught ReferenceError: $ is not defined notifications.js:1Uncaught ReferenceError: $ is not defined helpAccess.js:1Uncaught ReferenceError: $ is not defined admin-products.js:1630Uncaught ReferenceError: $ is not defined attributesBack.js:208Uncaught ReferenceError: $ is not defined admin-dnd.js:26Uncaught ReferenceError: jQuery is not defined jquery.treeview-categories.js:259Uncaught ReferenceError: jQuery is not defined jquery.treeview-categories.async.js:85Uncaught ReferenceError: jQuery is not defined jquery.treeview-categories.edit.js:37Uncaught ReferenceError: jQuery is not defined jquery.ui.progressbar.min.js:4Uncaught ReferenceError: jQuery is not defined jquery-ui-timepicker-addon.js:1325Uncaught ReferenceError: $ is not defined index.php?controller=AdminProducts&id_product=1&updateproduct&token=f5357b1702553fc66964a14b08fa9acb:374Uncaught ReferenceError: $ is not defined index.php?controller=AdminProducts&id_product=1&updateproduct&token=f5357b1702553fc66964a14b08fa9acb:538Uncaught ReferenceError: $ is not defined index.php?controller=AdminProducts&id_product=1&updateproduct&token=f5357b1702553fc66964a14b08fa9acb:1172Uncaught ReferenceError: $ is not defined admin.js:203 Edited November 28, 2013 by Michal N. SEO (see edit history) Link to comment Share on other sites More sharing options...
mapiek Posted January 21, 2014 Share Posted January 21, 2014 Hi, Since the setup of my webshop in vesion 1.5.5 (and later upgrading to 1.5.6) I experience some problems with search and filter functions in the BackOffice. For most options these funtions work and you can easy lookup i.e. product by typing in a part of the product name for example. The main issue concerns the customers and orders. There is no way to make a search here as the result is always: "no results found". I have attached examples including the console window of Chrome. Any suggestions where to look at? Many thanks in advance. Kind regards, Marcel Link to comment Share on other sites More sharing options...
NemoPS Posted January 22, 2014 Share Posted January 22, 2014 Can you try enabling error reporting and seeing if you get any error? It might be worth replacing the whole controller/admin folder with one from a fresh package anyway Link to comment Share on other sites More sharing options...
enSysRanjit Posted May 26, 2014 Share Posted May 26, 2014 I had the same problem. In my case there is no "Root" category in database(in ps_category table).I just added a "Root" category and set its parent category id as 0 and set "Root" category as parent category to "Home" category and my problem was solved. Link to comment Share on other sites More sharing options...
Gipielle Posted February 19, 2015 Share Posted February 19, 2015 Is there an official fix for that ? Link to comment Share on other sites More sharing options...
Inpromark Posted May 14, 2015 Share Posted May 14, 2015 (edited) I have the same problem. When I choose Filter by category option, there is only "home". It's Presta 1.6.0.14 Edited May 14, 2015 by Inpromark (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted May 15, 2015 Share Posted May 15, 2015 Did you try clicking the name "home"? Is there a javascript error on the console if nothing happens? Link to comment Share on other sites More sharing options...
maxshock07 Posted October 29, 2015 Share Posted October 29, 2015 (edited) Hi Guys,just in case if someone still have this problem:Filter by category not working only if you used default filter/search, just click Catalog > Products to refresh and it will work.Explanation why it happens:After default filter/search used, #product added to the URL and then when you try to filter by category javascript adds your &id_category=100 AFTER #product which is the culprit why page is not refreshed with your selected category. example: http://domain.com/backend/index.php?controller=AdminProducts&token=000000000000000000#product&id_category=100 Edited October 29, 2015 by maxshock07 (see edit history) Link to comment Share on other sites More sharing options...
Gipielle Posted October 30, 2015 Share Posted October 30, 2015 how do you solve maxshock07? Link to comment Share on other sites More sharing options...
heyho Posted February 9, 2016 Share Posted February 9, 2016 (edited) This error is described here: http://forge.prestashop.com/browse/PSCSX-7552 It still persists in PS 1.6.1.4 Edited February 9, 2016 by heyho (see edit history) Link to comment Share on other sites More sharing options...
motonet Posted August 12, 2017 Share Posted August 12, 2017 Hi. I still have this probles Is it a solution for it? Thanks Link to comment Share on other sites More sharing options...
Recommended Posts