Jump to content

'Unable to update settings' saving any product in 1.7


Innosons

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

Link to comment
Share on other sites

  • 1 month later...
  • 3 months later...
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

  • 5 months later...
  • 4 months later...
  • 4 weeks later...

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

  • 3 months later...
  • 1 month later...
  • 2 weeks later...
  • 4 weeks later...
  • 3 weeks later...

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

Link to comment
Share on other sites

  • 1 month later...

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)
Link to comment
Share on other sites

  • 3 weeks later...

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 :

Link to comment
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.

Link to comment
Share on other sites

  • 10 months later...
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

  • 8 months later...
  • 1 year later...
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

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