[TYPO3-core] FYI24: #9469: Failed to load magic database

Dmitry Dulepov dmitry at typo3.org
Fri Oct 3 10:41:38 CEST 2008


Hi!

This is SVN patch request.

Type: bug, no-brainer

Branches: trunk, 4.2

BT reference: http://bugs.typo3.org/view.php?id=9469

Problem: if "magic" database is not installed on the server (it is optional actually), TYPO3 will emit PHP warning. The problem is that TYPO3 checks for the availability of the corresponding PHP extension but TYPO3 does not check the result of the call to this extension.

Solution: check if the call was successful.

-- 
Dmitry Dulepov
TYPO3 Core team
My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book
In the blog: http://typo3bloke.net/post-details/duplicate_content_with_realurl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 9469.diff
Type: text/x-diff
Size: 804 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20081003/fdf2ff74/attachment.diff 


More information about the TYPO3-team-core mailing list