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

Also available in: Atom PDF