Search the Community
Showing results for tags 'duplicates'.
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.
Sorry, I wanted to put this in questions to developer, not in general forum (but don't find any option to delete this post, only EDIT) Anyway, it is about the theme "Organic Fresh Food Market Store" by themevolty, using PS 18.104.22.168. URL is ahoy24.pl Maybe someone here had the sameor similar issue, so I leave thispost open as for now, see below Thanks, Phil ORIGINAL POST: I have a really weird problem, without any logics in it (at least for me). The way products are shown on the homepage are not slightly close to what it should be. In others words, it’s shown totally messed up Products in DB Count total: 6 ID’s: 3,4,5,6,7,9 1. EXAMPLE HOME => SPECIAL PRODUCTS („Hot Deals“) 1. showing 2 items (products in DB: 2) ID’s shown: 4,6,4,6,4,6 ID’s in DB : 4,6 2. SWIPER PAGINATION: showing 2 bullet (this would be max 4 items, by 4 items / pane) 2. EXAMPLE HOME => LATEST PRODUCTS 1. showing 15 items (products in DB: 6) ID’s: 6,5,4,3,9,8,7,6,5,4,3,9,8,7,6 (so doubles and product ID 😎 2. Also shown product with ID=8 (does not exist in DB) 3. SWIPER PAGINATION: showing 7 bullets (this would be more than 14 items, by 4 items / pane) 3. EXAMPLE HOME => FEATURED PRODUCTS („Essentials“) 1. showing 3x product with ID=6 (coffee pack) 2. when clicking on „All featured products, leads to a 404) 3. comment: category for essentials is 118, a category not shown in menu and only used to collect essential items (it’s easier to understand for my client and coworkers then using the standard „home“ cat, as I’m sure they will mark everything in Home 😉 Any idea what this could be? Any help highly appreciated, thanks a lot and of course, stay safe and healthy these days Cheers, Phil