Support

Akeeba Backup for Joomla!

#17615 Warning mysqli

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 Monday, 23 September 2013 04:53 CDT

cdh
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? yes
Have I searched the tickets before posting? yes
Have I read the documentation before posting (which pages?)? yes
Joomla! version: 2.5.14
PHP version: 5.3.26
MySQL version:5.5.32
Host: allinkl.com
Akeeba Backup version: 3.8.1

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:

Software bug info.

While starting backup via cronjob I receive the following warning by email:

mysqli_set_charset() expects parameter 1 to be mysqli, string given in /www/htdocs/w00f5b94/administrator/components/com_akeeba/akeeba/drivers/mysqli.php on line 349

Line 349 of mysqli.php says:
return mysqli_set_charset('utf8', $this->connection);

A short internet research led to: http://php.net/manual/en/mysqli.set-charset.php

Therefore the two parameters have to be exchanged:
return mysqli_set_charset($this->connection, 'utf8');

After changing the code accordingly, the warning vanished.

Kind regards from Germany

Claus Dieter

nicholas
Akeeba Staff
Manager
You are absolutely correct. This was fixed in our Git repository last Thursday. Unfortunately I had to attend Joomla! Day Switzerland and didn't have time to publish a new, fixed version. The fixed version will be published tomorrow afternoon (Eastern European time).

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!