Shutter Men Posted April 16, 2011 Share Posted April 16, 2011 I am using 1.4.0.17 version. I have a product that has 4 attributes: width (7 sizes), height (76 sizes, but would like to use 105 sizes), height fraction (4 sizes), color (25 colors). I have had sucess configuring the product with all the attributes but only about 20 to 30 of the heights, and today decided to see if I could put in all the height sizes. I have read many posts regarding the limits of prestashop for the quantity of attributes you can use, and though I would see how many I could make work. This is the error I received after trying to do a refresh on the products combination generator. For what it is worth, in BO is says I currently have 47432 combinations. Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 88 bytes) in /var/www/html/prestashop_1.4/siteadmin/tabs/AdminProducts.php on line 3324Is there a work around, or should I try to approach this a different way?Thanks Link to comment Share on other sites More sharing options...
Shutter Men Posted April 16, 2011 Author Share Posted April 16, 2011 Now I am trying to import only a portion of the combinations that I would like to have: width (5 of the 7), Height: 60 sizes, height fraction: all, color: all. It now has me to 22448 combinations, however I am now receiving this error:Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/prestashop_1.4/classes/AdminTab.php on line 198Is it possible to increase the execution time? Maybe it needs more time to create and place all the permutations. Where would this change be made? Link to comment Share on other sites More sharing options...
Astarta Posted April 21, 2011 Share Posted April 21, 2011 helloHow do people even choose such number of combinations if you succeed? I am totally interested in what the hell is that product. About the problem. It is just normal that it does work so slow. It is not expected to do that. You should use less combinations. Your server may also have the limit so you should ask your hosting company Link to comment Share on other sites More sharing options...
tomerg3 Posted April 21, 2011 Share Posted April 21, 2011 PS cannot handle a product with more than 1,000 - 3,000 combinations, it will either give you an Out of memory error, or just slow down the fornt end because of all the JS calculations.I have created a module (nominated for nest module at barcamp 3) which changes the way combinations are handled, and let you use as many attributes as you want in PShttp://www.prestashop.com/forums/viewthread/47363/ 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