Innosons Posted December 9, 2017 Share Posted December 9, 2017 Hi there, I encountered the following bug after importing +/-300 products from Prestashop 1.6 into 1.7.2.4: If click to save a product, a red error message appears saying: 'Unable to update settings'. See image enclosed. Also in the top left corner it looks like it keeps on saving. Console in Google Chrome reports this: Quote main.bundle.js:57623 POST http://.../beheer/index.php/product/form/392?_token=HV9PyVNsZbjH2TdkAMjsOAbDsJqfc0-pVzi-hdRsmSY 500 (Internal Server Error) send @ main.bundle.js:57623 ajax @ main.bundle.js:57104 send @ form.js?1.7.0:858 (anonymous) @ form.js?1.7.0:1032 dispatch @ main.bundle.js:53185 elemData.handle @ main.bundle.js:52997 VM1202:1 Uncaught SyntaxError: Unexpected token < in JSON at position 0 at JSON.parse (<anonymous>) at Function.jQuery.parseJSON (main.bundle.js:56412) at Object.error (form.js?1.7.0:909) at fire (main.bundle.js:51635) at Object.fireWith [as rejectWith] (main.bundle.js:51765) at done (main.bundle.js:57207) at XMLHttpRequest.<anonymous> (main.bundle.js:57571) Can someone help me please?! Many thanks in advance! Link to comment Share on other sites More sharing options...
tjs90 Posted February 7, 2018 Share Posted February 7, 2018 did you find a fix for this? Same issue very annoying haha. Link to comment Share on other sites More sharing options...
Innosons Posted February 7, 2018 Author Share Posted February 7, 2018 (edited) Hi there, Try to have a look at your file permissions first, make sure they correspond to this example: http://www.innosons.nl/bestandsrechten-prestashop-file-permissions/ Try to switch off debug mode from Advanced Parameters > Performance > Let me know if this helped! Edited February 7, 2018 by Innosons (see edit history) Link to comment Share on other sites More sharing options...
Aissabenabbou Posted May 17, 2018 Share Posted May 17, 2018 On 2/7/2018 at 7:48 PM, Innosons said: Hi there, Try to have a look at your file permissions first, make sure they correspond to this example: http://www.innosons.nl/bestandsrechten-prestashop-file-permissions/ Try to switch off debug mode from Advanced Parameters > Performance > Let me know if this helped! it is not in English language can you help me Understand this please. Link to comment Share on other sites More sharing options...
mariuccio Posted November 14, 2018 Share Posted November 14, 2018 did you resolve the problem? I'm having the same 1 Link to comment Share on other sites More sharing options...
Jasput Posted March 24, 2019 Share Posted March 24, 2019 Hi, I'm having the same problem, it happen when I set the product combination color more than 10 colors. Now I have to divide the product into 2 lists. Link to comment Share on other sites More sharing options...
Xland Posted April 16, 2019 Share Posted April 16, 2019 Having the same problem. I originally got a message at the top saying to increase max_input_vars to 57000 in the php.ini which I did, but it still won't save certain products. Anyone found a fix for this? Link to comment Share on other sites More sharing options...
Dan1 Posted July 27, 2019 Share Posted July 27, 2019 Same problem here with 1.7.6. Happens only with products that have combinations. Imported with presto changeo migration module from PS 1.4.9. Link to comment Share on other sites More sharing options...
prestol Posted September 8, 2019 Share Posted September 8, 2019 same problem Link to comment Share on other sites More sharing options...
prestol Posted September 19, 2019 Share Posted September 19, 2019 same problem in 1.7.6.1 Link to comment Share on other sites More sharing options...
surtidorel Posted October 13, 2019 Share Posted October 13, 2019 (edited) Same problem for me Pretashop 1.7.6.1 i can`t add new products. Advance Parameters > Cahe: Yes Smart cache for CSS: Yes Smart cache for JavaScript: Yes Apache optimization : Yes Use cache: No This work for me to add new products. Edited October 13, 2019 by surtidorel (see edit history) 1 Link to comment Share on other sites More sharing options...
tpavlou Posted October 28, 2019 Share Posted October 28, 2019 Same problem for me, Prestashop 1.7.6.1. Seems to be when i add HTML content into the description or summary. I can save text without any problem, but as soon as I add an image in, or if i try a copy & paste on anything that's not plain text, I get the "Unable to Save Settings" When I've researched this error, a lot of suggestions involve using combinations, but I'm not using any. It's a simple product. Help!! Link to comment Share on other sites More sharing options...
oscarga00 Posted December 4, 2019 Share Posted December 4, 2019 same problem, cant modify products any fix ?? thanks Link to comment Share on other sites More sharing options...
Innosons Posted December 4, 2019 Author Share Posted December 4, 2019 (edited) English translation of the article in my last post: ( https://www.innosons.nl/bestandsrechten-prestashop-file-permissions/ ) File rights for prestashop Setting the correct file permissions on your Prestashop server is important for trouble-free and safe operation of your web store. The rights of your files (file rights in English) determine who can read, write and execute files and folders on your server. This is not only important to ensure the safety of your Prestashop store, but essential to keep the frontend and backend from Prestashop to the requirement. Common problems are modules that do not work and problems with uploading images and other files such as themes and modules. You can set your public file or folder via your FTP program or only give the owner access to certain read, write and export rights to files and folders. For Prestashop we set the file permission for the directories below to 644 for files and 755 for folders. 644 ensures that the server owner can both write and read the files, but the files can only be read publicly. 755 ensures that the directories alone cannot be described by public rights. Quote Set (up to and including Prestashop 1.6) the relevant folders and underlying folders to 755, and only the underlying files in these folders to 644: config / cache / log / img / mails / modules / themes / your_theme / long / themes / your_theme / pdf / lang / themes / your_theme / cache / translations / upload/ Download/ Quote Set (from Prestashop 1.7) the underlying folders and underlying folders to 755, and only the underlying files in these folders to 644: config / cache / log / img / mails / modules / themes / your_theme / long / themes / your_theme / cache / translations / upload/ Now the file rights of file rights would no longer be the cause of issues with your Prestashop webshop. If you still have problems, you can always contact us to see if we can help you further with your web store. Last but not least: Switch off debug mode in Advanced Parameters > Performance Hope this helps guys! Edited December 4, 2019 by Innosons (see edit history) Link to comment Share on other sites More sharing options...
gm1697 Posted December 23, 2019 Share Posted December 23, 2019 hello, am having the same problem here when i am changing the carrier for each product I tried changing the file permission via FTP but they are all good. when i inspect the page with the "unable to save setting" problem i get this error: : Link to comment Share on other sites More sharing options...
ElenaAlexi Posted December 23, 2019 Share Posted December 23, 2019 Similar problem here but happens every time I try to update a product. Also happened after I imported my products from 1.6 to 1.7.6.2. Here's a screenshot from my inspection on the page: Link to comment Share on other sites More sharing options...
ElenaAlexi Posted December 27, 2019 Share Posted December 27, 2019 On 12/23/2019 at 3:56 PM, ElenaAlexi said: Similar problem here but happens every time I try to update a product. Also happened after I imported my products from 1.6 to 1.7.6.2. Here's a screenshot from my inspection on the page: My problem was linked to my database. When I upgraded to 1.7, I copied the whole database from 1.6, instead of just the tables I needed for my products, so there must have been some sort of clash there. I reinstalled Prestashop and only migrated selected tables from my database this time. Products seem to be updated fine with no errors. Link to comment Share on other sites More sharing options...
GRFFX STUDIO Posted November 26, 2020 Share Posted November 26, 2020 On 10/13/2019 at 4:20 AM, surtidorel said: SOOOOOOOOOLLLLVVVVVVEEEEDDD!!!!!!!!!!!!!! OOOOOOOOOOH LORD THANK THIS MAN FROM THE BOTTOM OF MY HEART THAAAAAAAANNNNNK YOUUUUUUU KIND HUMAN YOU ARE DA MAAAAANNNN!!! IM USING PRESTA 1.7 I HAD THIS SAME ISSUE HERE AND WAS ABLE TO USE THESE SETTINGS UNDER MENU TAB " ADVANCED PARAMETERS " THEN CLICKING ON " PERFORMACE " TAB AND SIMPLY FOLLOWING THE SAME ON OFF LISTED BELOW : THIS WORKS PERFECTLY!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Advance Parameters > Cahe: Yes Smart cache for CSS: Yes Smart cache for JavaScript: Yes Apache optimization : Yes Use cache: No This work for me to add new products. ILL ADD MY EXACT SETTINGS BUT YOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO!!!!! IT WORKS AND FIXED IT NOW MY PRODUCTS WITH " COMBINATIONS " SAVE QUICK!!! 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 Media server #1 blank. Media server #2 blank. Media server #3 blank. Use cache NO THANK YOU SOOOOOOOOOO VERY MUCH AND GOD BLESS YOU ALL! Quote Same problem for me Pretashop 1.7.6.1 i can`t add new products. Advance Parameters > Cahe: Yes Smart cache for CSS: Yes Smart cache for JavaScript: Yes Apache optimization : Yes Use cache: No This work for me to add new products. Link to comment Share on other sites More sharing options...
PrestashopLearner Posted August 12, 2021 Share Posted August 12, 2021 I am having same problem after host migration Link to comment Share on other sites More sharing options...
cunni Posted July 5, 2023 Share Posted July 5, 2023 On 11/26/2020 at 6:08 AM, GRFFX STUDIO said: ILL ADD MY EXACT SETTINGS BUT YOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO!!!!! IT WORKS AND FIXED IT NOW MY PRODUCTS WITH " COMBINATIONS " SAVE QUICK!!! 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 Media server #1 blank. Media server #2 blank. Media server #3 blank. Use cache NO THANK YOU SOOOOOOOOOO VERY MUCH AND GOD BLESS YOU ALL! I've had this same issue, and on 1.7.8, this worked a treat!!! Thank you! 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