Issue Bug Closed

#40672Including DatabaseUtility fails due to Null Character

Sebastian Michaelsen 09/06/12, 13:41 updated 10/23/17, 22:12

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

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.