Support

Akeeba Backup for Joomla!

#27598 Joomla 3.7 Update Process fails

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 on Saturday, 27 May 2017 17:17 CDT

acatterson
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:

NOTE: I made the issue go away by downgrading the site to PHP 7.0.16 from PHP 7.1.2. I thought I'd submit anyway.

I'm trying to update to Joomla 3.7. In my first attempt, the Akeeba Backup on update plugin was enabled. I got the following error nearly instantly when I initiated the Joomla 3.7 update (which initiated an Akeeba backup). The update does not proceed.

ERROR:
Invalid AJAX data:
<head/><br/>
<b>Deprecated</b>: Methods with the same name as their class will not be constructors in a future version of PHP; Akeeba_Services_JSON has a deprecated constructor in <b>/home/domainname/public_html/administrator/components/com_joomlaupdate/restore.php</b> on line <b>263</b><br/>
<br/>
<b>Deprecated</b>: Methods with the same name as their class will not be constructors in a future version of PHP; Akeeba_Services_JSON_Error has a deprecated constructor in <b>/home/domainname/public_html/administrator/components/com_joomlaupdate/restore.php</b> on line <b>925</b><br/>

I disabled the Backup on update plugin and I initiated the Joomla 3.7 upgrade again. What is odd is that the backup still initiates?
In this case, it goes all the way through completion but then I get the above message as soon as it appears to hand control back to the Joomla Updater.

Any thoughts? I tried the update on my local laptop and it went just fine. The above error happens in production. Note, I changed the path component to "domainname" for security reasons.

Also, the akeeba.backend.log file is zero bytes. It doesn't seem to get written?

I did run a successful backup manually before attempting the upgrade. It seems directly related to the Joomla 3.7.0 update attempt. The Joomla update never occurs.

nicholas
Akeeba Staff
Manager
The messages come from a very old copy of Akeeba Restore (the restore.php file) which is included in Joomla! itself. Unfortunately we cannot provide support for old versions of our code included in third party software. This issue has been fixed in our software months ago. Please contact Joomla! and ask them to update the code they include with their CMS. I'm afraid they won't listen to me.

In the meantime you can simply ask your host to set error_reporting=E_NONE in the php.ini for your site, or tell you how to do that yourself. This will prevent the innocuous deprecated notice from interfering with the extraction of the Joomla! update package.

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!

acatterson
Thanks. I'll try :-)

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

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!