Project

General

Profile

Actions

Bug #47308

closed

DatabaseConnection::$link problem crashes backend

Added by Vincent Mans over 11 years ago. Updated over 11 years ago.

Status:
Rejected
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2013-04-17
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.1
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Version 6.1 beta2.

[Wed Apr 17 11:04:10 2013] [error] [...] PHP Fatal error: Cannot access protected property TYPO3\\CMS\\Core\\Database\\DatabaseConnection::$link in /.../typo3conf/ext/realurl/class.tx_realurl.php on line 239, referer: http://.../typo3/backend.php

This is line 239:

if (!t3lib_extMgm::isLoaded('dbal') && strpos(get_resource_type($GLOBALS['TYPO3_DB']->link), 'mysql link') !== false) {

No problem in 6.0.4 with same latest version of RealURL (1.12.4), and also, no message in the deprecation log for this.

Actions #1

Updated by Wouter Wolters over 11 years ago

  • Status changed from New to Rejected

Hi Vincent.

This is not a Core-problem but a RealUrl problem which has been fixed in RealUrl GIT master. See https://review.typo3.org/#/c/19452/
So I guess Dmitry will release a new version of RealUrl before 6.1 release.

Due to the introduction of "mysqli" in the TYPO3 core some refactoring were done that caused this crash in RealUrl.

Actions

Also available in: Atom PDF