Support

Akeeba Backup for Joomla!

#40661 Akeeba will not save configuration.

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
‎4.4.3
PHP version
7.4.33
Akeeba Backup version
9.9.2

Latest post by nicholas on Wednesday, 01 May 2024 04:46 CDT

williams

EXTREMELY IMPORTANT: Please attach a ZIP file containing your Akeeba Backup log file in order for us to help you with any backup or restoration issue. If the file is over 10MiB, please upload it on your server and post a link to it.

Β 

I get the following error when I try to save my configuration in Akeeba.

Not Acceptable

An appropriate representation of the requested resource could not be found on this server.

Additionally, a 406 Not Acceptable error was encountered while trying to use an ErrorDocument to handle the request.

nicholas
Akeeba Staff
Manager

Call your host and ask them to check the maximum number of POST variables. If it's 100, ask them to increase it to 150. Right now, the Configuration page has 107 variables across all features you can configure (less than half are shown on the screen at a time, but all of them are in the form). That's why you get the HTTP 406 error on servers with a very conservative 100 POST variables limit.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

nicholas
Akeeba Staff
Manager

In the meantime, I created a workaround. Please download and install this dev release: https://www.akeeba.com/download/akeebabackuppro-dev/9-9-3-dev202405010941-revcdc2ccc.html I believe you'll find your problem has gone away.

As I mentioned earlier, the problem is that there are just over 100 individual parameters in the HTML form which is being sent to the server when you save the configuration of a backup profile. There a few servers which have a limit on the maximum number of POST parameters set to something equal to or lower than 100. This is why saving the configuration fails, and why sometimes saving an article in Joomla! fails if you have dozens of user groups (each user group adds a number of separate parameters in the HTML form).

Modern browsers -- released in the last 5 to 6 years -- have a new feature which allows us to serialise a form as a JSON document. In other words, instead of having to submit 107 individual parameters we only need to submit three: the task (save & close, apply, save & new) you asked Joomla! to perform, an anti-CSRF security token, and a big JSON document with the other 104 parameters of the form. Since the big JSON document counts as one parameter and is small enough (just a couple of kilobytes) so as not to trigger any maximum POST size limits the save goes through without getting an HTTP 406 error.

Please do let me know if that works for you.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!