Support

Admin Tools

#36478 AJAX Loading Error: Forbidden

Posted in ‘Admin Tools 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
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by enclavecoa on Friday, 21 January 2022 15:16 CST

enclavecoa

I'm trying to update Joomla from 3.10.4 to 3.10.5 and I'm getting the following pop-up message: AJAX Loading Error: Forbidden.   Could this error possibly be caused by a setting that I've set inside Admin Tools Pro?

I can't seem to find the cause of this error.

nicholas
Akeeba Staff
Manager

The only thing that could have gotten in your way is the .htaccess Maker but it includes an exception for the Joomla Update files out of the box. It's possible that you accidentally removed it. Let's make sure this is not the case or, if it is, fix it.

Go to Components, Admin Tools.

Click on .htaccess Maker.

Find Allow direct access to these files

Make sure there is a line reading administrator/components/com_joomlaupdate/restore.php . If not, add it now.

Click on Save and Create .htaccess in the toolbar at the top of the page.

If this did not help the problem does not come from Admin Tools. You would need to contact your host about it. A very likely issue is that your host's server configuration (most likely a mod_security2 rule) is blocking the request Joomla Update's JavaScript code makes to the administrator/components/com_joomlaupdate/restore.php file. This file is what extracts the update ZIP file Joomla has downloaded and triggers the update finalisation code after the extraction is over.

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!

enclavecoa

Thanks, Nickolas!!

The problem turned out to be a blocked I.P. address in my firewall. (Sucuri firewall, GoDaddy).  The Joomla update worked just fine once I whitelisted the I.P. address that I was trying to execute the update.  I found this article on Google and it showed how to resolve the error - https://courtlandconsulting.com/sucuri-firewall-and-joomla-upgrades-ajax-loading-error/

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!