[TYPO3-core] RFC #17250: Bug: BE ajax request fails on some systems with php 5.3

Johannes Feustel j at feustel.eu
Mon Jan 24 10:05:03 CET 2011


Am 24.01.11 08:16, schrieb Ernesto Baschny [cron IT]:

>
> I would prefer to make it work with t3lib_div::_GP anyway and make the
> requirement load.
>
> ajax.php loads "init.php" some lines below your change, which means that
> the auto-loader is then available. Try it out if you move the init.php
> loading to the start and then no further "require" should be needed and
> you can keep on using t3lib_div.

This wont work since init.php needs TYPO3_PROCEED_IF_NO_USER which is 
set depending on ajaxID.
Other solution would be to wrap if(class_exists('t3lib_div') around 
require_once(PATH_t3lib.'class.t3lib_div.php') in init.php
Tolleiv will take a look at this.

Cheers,
Johannes


More information about the TYPO3-team-core mailing list