[TYPO3-dev] how to include t3lib_http_Request and PEAR packages from contrib/pear folder

Michael typo3ml at schams.net
Sat Jan 28 13:31:17 CET 2012


On 28/01/12 03:17, Philipp Gampe wrote:

>> PHP Fatal error: require_once(): Failed opening required 'Net/URL2.php'
>> (include_path='.:/usr/share/php:/usr/share/pear') in
[...]
> See: http://forge.typo3.org/issues/33497

Works perfectly fine with TYPO3 version 4.6.4 and the set_include_path()
as suggested, thanks Philipp :-)

In TYPO3 versions prior version 4.6.4, the following absolute path in
file "typo3/contrib/pear/HTTP/Request2.php" is an issue, too (line 52);

require_once '/Request2/Exception.php';

Should be:

require_once 'HTTP/Request2/Exception.php';

This has been fixed in 4.6.4.

Cheers
Michael



More information about the TYPO3-dev mailing list