[TYPO3-core] RFC #: 0015807: Bug: No thumbnails generated with thumbs.php

Susanne Moog info at susannemoog.de
Mon Oct 11 13:48:47 CEST 2010


On 11.10.2010 13:32, Bjoern Pedersen wrote:
> Am 11.10.2010 11:32, schrieb Ernesto Baschny [cron IT]:
>> I think the patch works but it only hides the main problem: That we
>> require a FE class in the BE. So instead of "adding the FE to
>> thumbs.php", I prefer to make sure the FE classes are only loaded in the
>> FE. Else we will end up having other places where this gets into conflic.
>>
>> So I propose the attached patch, which also fixes the problem in
>> thumbs.php. Please test.
>>
>> Cheers,
>> Ernesto
>>
> 
> It also unveals another problem: there are some scripts which do not
> call the common init files. That also means that if you change e.e.
> TYPO3_mainDir, you have to find all files where it is set. Shouldn't all
> BE scripts that are called "stand-alone" still include init.php? Or
> maybe init.php should be used as dispatcher also for these request with
> some short-circuit routing?

Yes, that should be the long-term goal, to refactor all those scripts
which define all these things again and again.

Susanne


More information about the TYPO3-team-core mailing list