Project

General

Profile

Actions

Bug #40672

closed

Including DatabaseUtility fails due to Null Character

Added by Sebastian Michaelsen over 11 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Must have
Category:
-
Target version:
Start date:
2012-09-06
Due date:
% Done:

100%

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

Description

(This one is strange and it took me a while to figure it out)

In typo3/sysext/extensionmanager/Classes/Utility/DatabaseUtility.php line 129, position 38 there seems to be a so called Null Character1 which raises an error when the file is included. In my case the whole PHP process seems to be killed - the browser receives no response from the server. This way the EM and the Language module fail to load.

I found the problem via Command Line:

$ php -l DatabaseUtility.php
Bus error: 10

When I erase the Null character everything works fine.

Attention: I'm experiencing this on a Mac with Intel chip. This smells system dependant to me.

(I can't even provide a patch because git seems to handle DatabaseUtility.php as a binary file because of the Null character)

[1] http://en.wikipedia.org/wiki/Null_character


Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #40533: Uncaught TYPO3 Exception with new extensionmanagerClosed2012-09-02

Actions
Actions #1

Updated by Felix Kopp over 11 years ago

I can confirm this. When the character is removed the extension manager and language manager work fine again.

Also see #40672 for error dump I added

Actions #2

Updated by Jigal van Hemert over 11 years ago

  • Assignee set to Jigal van Hemert
  • Target version set to 6.0.0-beta2
Actions #3

Updated by Gerrit Code Review over 11 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14603

Actions #4

Updated by Jigal van Hemert over 11 years ago

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

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF