Tom Bombadil Posted February 24, 2023 Share Posted February 24, 2023 Hello, PrestaShop version: 8.0.1 Clear/new installation with the default theme and only two new payment modules. Server info: Linux #3 SMP Thu Jul 15 10:25:01 CEST 2021 x86_64 Wersja PHP: 8.0.27 PHP configuration requirements: all green Attributes and values - are properly created and defined and visible on the product combination option. The button "Generate" works properly but it is not possible to save the product. Can't solve the problem. Any clue, please? Link to comment Share on other sites More sharing options...
NPO Posted February 24, 2023 Share Posted February 24, 2023 I had the same problem with an old product. Got around it by taking the product offline, save, online save, offline, made the changes and this time they were saved. (you need to give the machine enough time to process - wait for the popup to disappear before you click anything else). You never know - it might work. Link to comment Share on other sites More sharing options...
Tom Bombadil Posted February 24, 2023 Author Share Posted February 24, 2023 Thanks for the hint but not working. No matter what I do and even if I switch Online/Offline I got this: "settings cannot be updated". Thanks anyway. Link to comment Share on other sites More sharing options...
TiaNex Shopping Posted February 25, 2023 Share Posted February 25, 2023 enable debug,please show more error information Link to comment Share on other sites More sharing options...
Tom Bombadil Posted February 25, 2023 Author Share Posted February 25, 2023 1 hour ago, irder shopping said: enable debug,please show more error information As you wish but I can't find any relation to the issue. Screenshots attached (Errors/Deprecations/Debug). Link to comment Share on other sites More sharing options...
endriu107 Posted February 25, 2023 Share Posted February 25, 2023 Open your browser console, go to Network tab in console an then try save product. There should appear new line with status, click on those where status is not 200. Link to comment Share on other sites More sharing options...
ps8modules Posted February 25, 2023 Share Posted February 25, 2023 (edited) Hi, There is an error in Prestashop 8.x and you cannot save the product if the Stock management is not turned on and the quantity is filled. product detail: Edited February 25, 2023 by ps8moduly.cz (see edit history) Link to comment Share on other sites More sharing options...
Tom Bombadil Posted February 25, 2023 Author Share Posted February 25, 2023 1 hour ago, endriu107 said: Open your browser console, go to Network tab in console an then try save product. There should appear new line with status, click on those where status is not 200. main.bundle.js:1641 POST https://XYZ/shop/admin774p0t4mrxsqy85qraw/index.php/sell/catalog/products/31?_token=aTy4DkRFpEnoNLC9n-RzKScOfWLbPgmLc9F1Nfh4uII 500 Link to comment Share on other sites More sharing options...
Tom Bombadil Posted February 25, 2023 Author Share Posted February 25, 2023 18 minutes ago, ps8moduly.cz said: Hi, There is an error in Prestashop 8.x and you cannot save the product if the Stock management is not turned on and the quantity is filled. Hi, I confirm. That helps and looks like products added with enabled stock management work fine after disabling it. The problem seems to appear only with saving the product with a combination with disabled stock management. 1 Link to comment Share on other sites More sharing options...
ps8modules Posted February 25, 2023 Share Posted February 25, 2023 (edited) Yes it's right. It is for Prestashop developers to fix this. I was happy to help at least in this way 😉 Edited February 25, 2023 by ps8moduly.cz (see edit history) 1 Link to comment Share on other sites More sharing options...
ps8modules Posted February 25, 2023 Share Posted February 25, 2023 ./src/PrestaShopBundle/Controller/Admin/ProductController.php line start 550 > It doesn't check at all if Stock management is Enabled or not. 1 Link to comment Share on other sites More sharing options...
Tom Bombadil Posted February 25, 2023 Author Share Posted February 25, 2023 4 hours ago, ps8moduly.cz said: It is for Prestashop developers to fix this. So we need to wait for a fix. There is one positive thing from this conversation and I must say a good word for the developers. Today I added three different types of combinations for a product with 64 values and that works! I'm tempted to try it with more. Does anyone know what is the limit? 1 Link to comment Share on other sites More sharing options...
ps8modules Posted February 25, 2023 Share Posted February 25, 2023 It will work up to the limit of your hosting. max_execution_time and memory_limit Link to comment Share on other sites More sharing options...
TiaNex Shopping Posted February 25, 2023 Share Posted February 25, 2023 6 hours ago, Tom Bombadil said: main.bundle.js:1641 POST https://XYZ/shop/admin774p0t4mrxsqy85qraw/index.php/sell/catalog/products/31?_token=aTy4DkRFpEnoNLC9n-RzKScOfWLbPgmLc9F1Nfh4uII 500 then what's the 500 error details? there maybe some information vaild 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