Project

General

Profile

Actions

Bug #37539

closed

Static function t3lib_file_Driver_AbstractDriver::verifyConfiguration() should not be abstract

Added by Thomas Deinhamer over 12 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2012-05-28
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
5.4
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:

Description

PHP Runtime Notice: Static function t3lib_file_Driver_AbstractDriver::verifyConfiguration() should not be abstract in /t3lib/file/Driver/AbstractDriver.php line 144
Actions #1

Updated by Jigal van Hemert over 12 years ago

  • Category set to File Abstraction Layer (FAL)
  • Status changed from New to Accepted
  • Complexity set to easy

A method cannot be abstract and static at the same time. A child class can have a static method with the same name, but it will not be an implementation like you try to enforce with an abstract method.
There is late static binding in PHP 5.3+, but this is slightly different.

Actions #2

Updated by Thomas Deinhamer over 12 years ago

I guess using an interface instead of the abstract method could be a solution?!

Actions #3

Updated by Helmut Hummel almost 12 years ago

  • Target version changed from 6.0.0-alpha2 to 6.0.1
Actions #4

Updated by Gerrit Code Review almost 11 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/26777

Actions #5

Updated by Xavier Perseguers almost 11 years ago

  • Assignee set to Xavier Perseguers
  • Is Regression set to No

How-to Reproduce

Use PHP 5.4

Add this to AdditionalConfiguration.php:

$GLOBALS['TYPO3_CONF_VARS']['SYS']['errorHandlerErrors'] = E_ALL ^ E_NOTICE;
$GLOBALS['TYPO3_CONF_VARS']['SYS']['exceptionalErrors'] = E_ALL ^ E_NOTICE ^ E_WARNING ^ E_USER_ERROR ^ E_USER_NOTICE;

Try to show Backend Login form.

Actions #6

Updated by Gerrit Code Review almost 11 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/26777

Actions #7

Updated by Gerrit Code Review almost 11 years ago

Patch set 1 for branch TYPO3_6-1 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/26843

Actions #8

Updated by Helmut Hummel almost 11 years ago

  • Target version deleted (6.0.1)
Actions #9

Updated by Xavier Perseguers almost 11 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #10

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF