Jump to content
Innosons

'Unable to update settings' saving any product in 1.7

Recommended Posts

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!

screenshot-unable-to-update-error.jpg

Share this post


Link to post
Share on other sites

did you find a fix for this? Same issue very annoying haha.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

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. 

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 by surtidorel (see edit history)

Share this post


Link to post
Share on other sites

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!!

Capture.thumb.JPG.3e965fd920ee0634b13678731cb3c4a2.JPG

Share this post


Link to post
Share on other sites

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 by Innosons (see edit history)

Share this post


Link to post
Share on other sites

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:1819921809_Screenshot2019-12-23at14_40_25.thumb.png.1a083589c6124ce29011e21c0fab9bfa.png :

Share this post


Link to post
Share on other sites

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:

image.thumb.png.d8d04b67476c69c122254dc4ff9b1acd.png

Share this post


Link to post
Share on other sites
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:

image.thumb.png.d8d04b67476c69c122254dc4ff9b1acd.png

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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More