Bug tracker

This ticket has been moved to our new tracker. Open Ticket PHPBB3-2490 now.

Error after backing up (fix completed in vcs)

This may be a result of fixing #6118.

After backing up with MySQL 3.23.58, the following error occurs:

[phpBB Debug] PHP Notice: in file /includes/acp/acp_database.php on line 1328: Undefined property: mysql_version

The backup itself completes properly, however. The stored file and it's content look good.

Comments / History

Posted by NeverPleat on Dec 11th 2006, 11:45

confirmed
bad compression file and in that file you have the error

<b>[phpBB Debug] PHP Notice</b>: in file <b>/includes/acp/acp_database.php</b> on line <b>1328</b>: <b>Undefined property: mysql_version</b><br />

Apache/2.0.59 (Win32) PHP/4.4.4
mysql 5.0.24a
10th December 2006 22:30 GMT+2
Download [ 1.44 MB]

Posted by NeverPleat on Dec 11th 2006, 12:04

if you disable line 1326 - > 1336 in acp_database.php then is everithing look good at first site

if ($has_index_type === null)
{
if ($db->sql_layer === 'mysqli' || version_compare($this->mysql_version, '4.0.2', '>='))
{
$has_index_type = true;
}
else
{
$has_index_type = false;
}
}

Posted by DavidMJ (Former Team Member) on Dec 11th 2006, 15:08

Gah, small typo. just change $this->mysql_version to $db->mysql_version

Linked ticket with changeset: r6747

Action performed by DavidMJ (Former Team Member) on Dec 11th 2006, 20:07

Ticket details

Related SVN changesets