Support

Akeeba Backup for Joomla!

#16362 PHP Warning in MySqli Driver

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 Tuesday, 11 June 2013 06:01 CDT

cloud-solutions
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? No
Have I searched the tickets before posting? Yes
Have I read the documentation before posting (which pages?)? Yes
Joomla! version: 3.1.1
PHP version: 5.3.25
MySQL version: 5.1.63
Host: (optional, but it helps us help you)
Akeeba Backup version: Pro 3.7.7

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:

Running the backup via the command line like

php <joomla_install>/cli/akeeba-backup.php

give the following warning:

PHP Warning: mysqli_query() expects parameter 1 to be mysqli, null given in <joomla_install>/administrator/components/com_akeeba/akeeba/drivers/mysqli.php on line 314

In the Akeeba log file the following warning appears:

PHP WARNING on line 124 in file <joomla_install>/administrator/components/com_akeeba/akeeba/drivers/mysql.php:
mysql_close() expects parameter 1 to be resource, boolean given

I already re-installed the latest version of Akeeba Backup Pro and tried with a new profile (with default settings) but that didn't help. The backup actually runs through successfully but we'd like to avoid the warning as we get notified about it when the backup runs automatically as a cronjob.

nicholas
Akeeba Staff
Manager
You can ignore that. My logger is overzealous and collects the warnings and notices from all code running during a backup, including Joomla! core code. This warning is a small (but otherwise benign) oversight in core Joomla! code. Just ignore it; your backup works just fine.

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!

cloud-solutions
ok thanks :)

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!