Zawada Posted November 1, 2022 Share Posted November 1, 2022 This happened suddenly and I don't even know hot to start diagnosing my problem and eventually fix it. When I'm trying to save changes in products with combinations there is a message i top right corner that changes couldn't been applied in red box, when debugging is off this trying to save product is making whole back office stop loading, I have to delete my browser history etc to log in again. When I am pressing F12 there is message in the console: Failed to load resource: the server responded with a status of 500 () Also in debugging there is 500 in red (as in picture attached), I have tried to search thru this but there is nothing I could follow up on. Link to comment Share on other sites More sharing options...
juanrojas Posted November 1, 2022 Share Posted November 1, 2022 Hello, if you do it, for example, with only 3 combinations, the same thing happens to you? If not, how many combinations are we talking about in total? version php? Link to comment Share on other sites More sharing options...
Zawada Posted November 1, 2022 Author Share Posted November 1, 2022 7 minutes ago, juanrojas said: Hello, if you do it, for example, with only 3 combinations, the same thing happens to you? If not, how many combinations are we talking about in total? version php? I created a new product, I can't save it when there is even only 1 combination. When I choose simple product (without combinations) it saves without problems then, turn them on again and it stops working. My php version is 7.3.33 Link to comment Share on other sites More sharing options...
juanrojas Posted November 1, 2022 Share Posted November 1, 2022 I'm seeing a detail in the screenshot, I'm not sure it's the problem but try, see that the combination you have by default has a zero quantity, try with 1 Link to comment Share on other sites More sharing options...
Zawada Posted November 1, 2022 Author Share Posted November 1, 2022 3 minutes ago, juanrojas said: I'm seeing a detail in the screenshot, I'm not sure it's the problem but try, see that the combination you have by default has a zero quantity, try with 1 it is actually 1, I was trying to make it 0 because I sold that item in my stationary shop, when I refresh the page the quantity is 1. I tried to just change deafult to combination that I actually have on stock, without making change to quantity, still same problem. This problem occurs in every other product, doesn't matter what change I try to make, I can't even change price on products with combinations, it started week ago when I had delivery and tried to change that I have them on stock and update the price, so it was other way around. Link to comment Share on other sites More sharing options...
ComGrafPL Posted November 1, 2022 Share Posted November 1, 2022 Have you made any updates at that time? Check also hosting settings. Maybe host made some changes. Tried on other browser with cleared cache? Link to comment Share on other sites More sharing options...
Zawada Posted November 1, 2022 Author Share Posted November 1, 2022 27 minutes ago, ComGrafPL said: Have you made any updates at that time? Check also hosting settings. Maybe host made some changes. Tried on other browser with cleared cache? Last changes to theme, files etc were months before this problem. Host settings seems same as they were. Other browsers, devices, all with cleared cache (also tried to clear and turn of cache in back office), nothing is changing. Link to comment Share on other sites More sharing options...
Muzammil Mac Posted November 1, 2022 Share Posted November 1, 2022 Hello zawada, Before clicking on save press F-12 and check in network tab what is beign returned. when you make the save request. Link to comment Share on other sites More sharing options...
Zawada Posted November 1, 2022 Author Share Posted November 1, 2022 12 minutes ago, Muzammil Mac said: Hello zawada, Before clicking on save press F-12 and check in network tab what is beign returned. when you make the save request. hello, screen shot attached below Link to comment Share on other sites More sharing options...
Muzammil Mac Posted November 1, 2022 Share Posted November 1, 2022 can you click on it and then preview tab and make sure debug mode is on. Link to comment Share on other sites More sharing options...
Zawada Posted November 1, 2022 Author Share Posted November 1, 2022 debug in back office is on Link to comment Share on other sites More sharing options...
Muzammil Mac Posted November 1, 2022 Share Posted November 1, 2022 So i can not see any errors in post call return. Have you installed any new module recently in your shop? Link to comment Share on other sites More sharing options...
Zawada Posted November 1, 2022 Author Share Posted November 1, 2022 1 minute ago, Muzammil Mac said: So i can not see any errors in post call return. Have you installed any new module recently in your shop? I didn't make any changes in last couple of months, it just stopped working by itself. Anything I was doing is changing quantities and prices in existing products, and it just stopped working at some point, it's strange but that's it Link to comment Share on other sites More sharing options...
ComGrafPL Posted November 1, 2022 Share Posted November 1, 2022 Also check F12 console tab while saving. See what it will show. Whats your settings in advanced? Template compilation : Force compilation Cache : YES Multi-front optimizations : YES Caching type: File System Clear cache : Clear cache everytime something has been modified Disable non PrestaShop modules : NO Disable all overrides : NO Enable or disable debug mode. : NO Features : YES Customer groups : YES Smart cache for CSS : YES Smart cache for JavaScript : YES Apache optimization : YES Link to comment Share on other sites More sharing options...
Zawada Posted November 2, 2022 Author Share Posted November 2, 2022 18 hours ago, ComGrafPL said: Also check F12 console tab while saving. See what it will show. Whats your settings in advanced? Template compilation : Force compilation Cache : YES Multi-front optimizations : YES Caching type: File System Clear cache : Clear cache everytime something has been modified Disable non PrestaShop modules : NO Disable all overrides : NO Enable or disable debug mode. : NO Features : YES Customer groups : YES Smart cache for CSS : YES Smart cache for JavaScript : YES Apache optimization : YES I noticed that when I am entering the products with combinations there is error 404 (preview tab in network is also clear), when I try to make save changes there comes error 500. Neither of them showed when I am entering or changing products without combinations. Template compilation : Never Compile Cache : YES Multi-front optimizations : NO (one shop on one server) *Caching type: File System Clear cache : Clear cache everytime something has been modified Disable non PrestaShop modules : NO Disable all overrides : YES Enable debug mode. : YES Features : YES Customer groups : YES Smart cache for CSS : NO Smart cache for JavaScript : NO Apache optimization : NO There is another Tab at very bottom "Cache" with option Cache set to NO Link to comment Share on other sites More sharing options...
Zawada Posted November 3, 2022 Author Share Posted November 3, 2022 (edited) It gone worse, I can't acces any tab from home page, can't go to product, not even setting for debugging etc Edited November 3, 2022 by Zawada added screen shot (see edit history) Link to comment Share on other sites More sharing options...
ComGrafPL Posted November 3, 2022 Share Posted November 3, 2022 (edited) Try with scan files. Maybe you got some hack. Either https://build.prestashop-project.org/news/major-security-vulnerability-on-prestashop-websites/ Module in comments to scan. Edited November 3, 2022 by ComGrafPL (see edit history) Link to comment Share on other sites More sharing options...
JBW Posted November 4, 2022 Share Posted November 4, 2022 (edited) 15 hours ago, Zawada said: Delete /var/cache on your server should resolve the issue, but might reoccur due to second issue (missing disk space, see below) 15 hours ago, Zawada said: Check the available space on your server, seems your are exceeding your limits Edited November 4, 2022 by JBW (see edit history) Link to comment Share on other sites More sharing options...
Zawada Posted November 6, 2022 Author Share Posted November 6, 2022 Deleting cache didn't help, also I am using 3% of my space, so unfortunately that's not it. I tried to restore backup of server and database, after that still some errors. I contacted my host about it, they restored backups from 23.10.2022, it is a date when everything was working, and site is accessible now, but combinations are not working as they were after 25.10.2022, shouldn't restoring backups fix everything? 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