Bryon Black Posted August 8, 2019 Share Posted August 8, 2019 I recently ran into a bizarre issue. I have a product, with no combinations, but it has three attributes and one custom feature. The product has been in the system for a while, and I've edited the price, description, and photos several times already. Each time, everything went smoothy. This time when I saved, the custom feature that I had configured duplicated itself thousands of times. Within a few moments, the page displayed everyone's favorite 500 Internal Server Error. Every time I tried to access that page, I got the 500 Internal Server Error. I tried all the usual tricks for debugging PrestaShop, and the only thing I had were memory warnings in the log file stating that the application was asking for ridiculous amounts of memory and dying out. So, knowing that my server could handle just about anything, I temporarily set ini_set('memory_limit', '-1'); and set_time_limit(0); Then, I clicked on the product in the dashsboard, sat back and waited about 5 minutes. When the page FINALLY rendered, that's when I saw the 2300 custom features. To "fix" the product, I used some simple queries to remove the custom features from the following tables; ps_feature_value, ps_feature_product and ps_feature_lang. The custom feature was repeated 2300 times in each table, and thus was a very easily identified pattern in the DB. Having no luck finding other posts in the forums about this, maybe my story would help others. 1 Link to comment Share on other sites More sharing options...
Marco Cattani Posted September 19, 2019 Share Posted September 19, 2019 I ran into the same issue. Running Prestashop 1.7.4.4 Link to comment Share on other sites More sharing options...
Tirppis Posted November 12, 2020 Share Posted November 12, 2020 Have you found any solution? I have same problem with 1.7.6 Link to comment Share on other sites More sharing options...
ps8modules Posted November 15, 2020 Share Posted November 15, 2020 It is difficult to advise you when we do not see what you have set, what browser you use, what are the parameters of the server, etc. What you do not see me you have to show us in the picture, give all the information, describe everything in detail. Link to comment Share on other sites More sharing options...
lucien2312 Posted November 24, 2020 Share Posted November 24, 2020 More than one year later and the problem seems to be not fixed as i have exactely the same problem described by Bryon Black. I do confirm that there's still a big problem when you duplicate a product that has custom features with version 1.7.6.7 On the admin pannel, when you click "duplicate", there's a thousand of features that are created in the product that was duplicated in the database. Any help to fix this as soon as possible will be highly appreciated. Link to comment Share on other sites More sharing options...
Tirppis Posted January 8, 2021 Share Posted January 8, 2021 The only solution has been to re-create every product. So much work! Duplicating a product has some bug. Link to comment Share on other sites More sharing options...
Fabicii Posted March 23, 2021 Share Posted March 23, 2021 (edited) I turned off the functions availability on Advanced configurations > performance > preferences so far, so I can continue working. this actin won't affect the product filter function as well. The problem might be on a php function.... I'll come back when the problem gets solved. Edited March 23, 2021 by Fabicii (see edit history) 2 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