borislav123 Posted November 26, 2013 Share Posted November 26, 2013 (edited) Hello, people! In our shop we published many manufacturer - about 100 , but people can see only the first 50. http://asdent-bg.com/manufacturers - if I click the page 2 - it shows the same manufacturers, as page 1 , so - pagination is not working. Please, help. Version - PrestaShop™ 1.5.2.0 Edited November 26, 2013 by borislav123 (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted November 27, 2013 Share Posted November 27, 2013 Yeah, pagination is broken. Do the ones which are not displaying have something in common? Link to comment Share on other sites More sharing options...
borislav123 Posted November 27, 2013 Author Share Posted November 27, 2013 (edited) What you mean, Nemo1? I think - no . They are just firms / manufacturers ........? Listed in alphabetical order. Edited November 27, 2013 by borislav123 (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted November 27, 2013 Share Posted November 27, 2013 Like, all of them have 0 products assigned, or they have similar names, or they were created after the others, or they all have/don't have an address Link to comment Share on other sites More sharing options...
borislav123 Posted November 27, 2013 Author Share Posted November 27, 2013 Hm No info is entered about the manufacturers. Only - Company name, and their products are listed. And about the other criteria you mention - it's different /for each firm/ - number of products, name, etc.... so - nothing in common. Link to comment Share on other sites More sharing options...
NemoPS Posted November 27, 2013 Share Posted November 27, 2013 Try adding this var_dump($manufacturers); at line 181 of classes/manufacturer.php Reload the page and see what is displayed Link to comment Share on other sites More sharing options...
borislav123 Posted November 27, 2013 Author Share Posted November 27, 2013 Thank you very much here - 180 $manufacturers = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS($sql);181 if ($manufacturers === false)182 return false; where exactly ? Link to comment Share on other sites More sharing options...
NemoPS Posted November 27, 2013 Share Posted November 27, 2013 After $manufacturers = and before if(... Link to comment Share on other sites More sharing options...
borislav123 Posted November 27, 2013 Author Share Posted November 27, 2013 wow it's f***ked up http://asdent-bg.com/manufacturers Link to comment Share on other sites More sharing options...
NemoPS Posted November 27, 2013 Share Posted November 27, 2013 Yes, now try var_dump(sizeof($manufacturers)); Link to comment Share on other sites More sharing options...
borislav123 Posted November 27, 2013 Author Share Posted November 27, 2013 (edited) to replace it ? there? Edit - I replaced this the same Edited November 27, 2013 by borislav123 (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted November 27, 2013 Share Posted November 27, 2013 Replace the one you added before Link to comment Share on other sites More sharing options...
borislav123 Posted November 27, 2013 Author Share Posted November 27, 2013 I did it , the same Link to comment Share on other sites More sharing options...
NemoPS Posted November 27, 2013 Share Posted November 27, 2013 Of course, it was just to know the number. Now try this, same place var_dump($sql); Link to comment Share on other sites More sharing options...
borislav123 Posted November 27, 2013 Author Share Posted November 27, 2013 ready Check now - http://asdent-bg.com/manufacturers you wanna hack the site just kidding Link to comment Share on other sites More sharing options...
NemoPS Posted November 27, 2013 Share Posted November 27, 2013 There is no limit set. Are you sure they are about 100? It grabs 65. Are you maybe using multistore? The only condition is for them to be active, so I'm kinda clueless on it Link to comment Share on other sites More sharing options...
borislav123 Posted November 27, 2013 Author Share Posted November 27, 2013 No, it's not multistore. And some firms are deleted. Maybe - to set some limit? For example - 20 firms per page ? How ? Link to comment Share on other sites More sharing options...
borislav123 Posted December 5, 2013 Author Share Posted December 5, 2013 Hello! In fact, the pagination for Manufacturers in Admin panel is not working - so some manufacturers remain inactive /I could not reach them, to edit them/ - and they don't appear in front panel. Also - pagination for products in admin panel is not working as well ... what to do? Link to comment Share on other sites More sharing options...
NemoPS Posted December 5, 2013 Share Posted December 5, 2013 At this point, try grabbing a fresh prestashop package (the same version you use) and replace all files/folder EXCEPT config/ Make a backup before doing this, of course Link to comment Share on other sites More sharing options...
borislav123 Posted January 13, 2014 Author Share Posted January 13, 2014 Sir, i uploaded , but new version / prestashop_1.5.6.1 / it works ok, just the main menu in the front side is moved away ??????? http://asdent-bg.com/ maybe I'm wrong to upload the same version as before - prestashop_1.5.5.0 ?????? Link to comment Share on other sites More sharing options...
NemoPS Posted January 13, 2014 Share Posted January 13, 2014 Here the solution: http://www.prestashop.com/forums/topic/242732-1541-default-theme-menu-moved-to-right-how-to-fix/ 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