Support

Admin Tools

#25724 AdminTools AJAX Loading Error

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 trlbldr on Friday, 29 July 2016 17:03 CDT

trlbldr
 PHP File Change Scanner throws the following error:

<strong>AJAX Loading Error</strong><br/>HTTP Status: 500 (Akeeba Engine detected a problem while saving temporary data. Please restart your backup.)<br/>Internal status: error<br/>XHR ReadyState: 4<br/>Raw server response:<br/><!DOCTYPE html>


I've searched the forums but the only similar issues I've found are about Akeeba Backup. I have no clue what happens when AdminTools throws this error, which occurs irregularly and unpredictably.

Thanks for your suggestions.

Don White

nicholas
Akeeba Staff
Manager
Please go to your site's Global Configuration page and check the Path to Temp Folder. If it's /tmp you have to change it. Otherwise go to your site's backend, click on the System, System Information menu item and then on the Folder Permissions tab. Scroll all the way to the bottom and check the badge to the right of the "(Temp folder)" indication. Does it say Writeable?

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!

trlbldr
Nicholas,

The only unwriteable item is the configuration.php file.

I don't understand "If it's /tmp you have to change it." The Path to Temp is, and always has been,' /[server]/[account]/public_html/[domain]/tmp'. That's how Admin Tools configured itself when I installed it, many prior versions ago.

If I must change the Path to Temp folder from '/tmp', how must I configure the path?

Cheers.

Don White

nicholas
Akeeba Staff
Manager
So your temp-path is not /tmp, it's /[server]/[account]/public_html/[domain]/tmp and doesn't need to change :) Since the folder is writeable we have to see why saving data there doesn't work. Do you have enough space on your server?

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!

trlbldr
I don't wish to be blythe about this, but I have as much space on the shared server as Bluehost gives me. Space hasn't been a problem and this error pops up randomly with other sites - all on Bluehost. Sometimes I wonder if they're using NGINX, which I don't but they may use with their Linux servers.

Cheers.

Don White

nicholas
Akeeba Staff
Manager
The error message literally tells us that at this point the server's operating system responds that no data can be written to the temporary directory. We established that directory exists and is writeable and you have enough space. So the only part we are sure about the error is that it comes from the host.

I suggest talking to Bluehost about it. It's strange that sometimes you can write to it and sometimes you can't. Do they have an I/O per second limit? That would explain why it happens randomly and sometimes: if the server's a bit busy and you're backing up lots of files you might end up going over the input/output operations per second limit.

If that's a thing we can make the backup slower (throttle it) to overcome the problem. We could go to the Configuration page and enter
Minimum execution time: 5 seconds
Maximum execution time: 3 seconds (yes, max is LESS than min, it's not a typo!)
Execution time bias: 50%
That's a 50% duty cycle which should work around that issue.

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!

trlbldr
Thanks!

Don White

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!