Support

Akeeba Backup for Joomla!

#21320 AJAX Error, 500 Internal Server Error

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
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by nicholas on Wednesday, 29 October 2014 02:18 CDT

bmm01
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 2Mb, please upload it on your server and post a link to it.

Description of my issue:

I had trouble upgrading from Akeeba Backup Pro 3.11.2 so I installed 4.0.4 and then upgraded that to 4.0.5 which seemed to work (no more AJAX errors).

I completed a backup but when I restore it, it gives me a 404 on the backend and many links are not working so I read the documentation that said it's probably only a partial restore.

I then went back to try again and now get the AJAX error once more.

I have run ALICE and tried the various troubleshooting steps but as it tells me the installation is broken I figure that there is something major wrong.

Log file is attached.

Thanks for your help.

nicholas
Akeeba Staff
Manager
Please go to your site's Global Configuration and set "Error Reporting" to "Development" and "Debug Site" to "Yes". Then retry the backup. Please copy the exact message you got and attach the new log file.

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!

bmm01
Thanks Nicholas

The error is:

Invalid AJAX data:
Fatal error: Call to a member function getExtension() on a non-object in ../administrator/components/com_akeeba/akeeba/utils/filesystem.php on line 165

Regards
Brett

bmm01
Log file with full reporting

nicholas
Akeeba Staff
Manager
That's interesting. This error means that you are missing necessary files. Please use an FTP programme or your hosting control panel's file manager to go into the directory administrator/components/com_akeeba/akeeba/engines/archiver. Do you see a file named jpa.php and another one named zip.php? If either of these files is missing the most likely explanation is a major issue with your host removing files without your consent for no good reason as detailed here: https://www.akeebabackup.com/home/news/1536-new-threat-hosts-delete-files-without-asking.html If this is the case the only sensible thing to do is first contact your host and if they decline to help you just move to a decent host.

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!

bmm01
OK thanks Nicholas

That was the issue - those files were missing!

Seems there is a script running that deletes them so I will take it up with the host.

Thanks for the quick resolution.

nicholas
Akeeba Staff
Manager
You're welcome!

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!