[TYPO3-core] RFC #11027: Warning is issued when creating first template
Xavier Perseguers
typo3 at perseguers.ch
Mon Jul 6 18:10:11 CEST 2009
Hi Michael,
> there is a reply from Benni on June 26th which you haven't answered yet.
You're right...
> Did you see his question?
Seems not, although I should have.
Thanks for pointing this out.
Regards
>
> Greetings, Michael
>
> Xavier Perseguers schrieb:
>> Hi,
>>
>> REMINDER #1 (sorry for the delay :D)
>>
>> Xavier Perseguers wrote:
>>> Warning is issued when creating first template
>>>
>>> Hi,
>>>
>>> This is a SVN patch.
>>>
>>> Type: Bugfix
>>>
>>> Branches: trunk
>>>
>>> BT reference: http://bugs.typo3.org/view.php?id=11027
>>>
>>> Problem:
>>> When creating the very first template a warning is issued (at least
>>> when Oracle is used):
>>> Warning: Invalid argument supplied for foreach() in
>>> /var/www/typo3_src-trunk/t3lib/cache/backend/class.t3lib_cache_backend_dbbackend.php
>>> on line 170
>>>
>>> Example how to reproduce:
>>> - Have a blank website
>>> - Create a page under root
>>> - Click Web > Template
>>> - Click button "Create template for a new site"
>>>
>>> Solution:
>>> Test that the returned value from
>>> $GLOBALS['TYPO3_DB']->exec_SELECTgetRows is an array before trying to
>>> iterate over it.
>>>
>>>
>>
>>
>
>
--
Xavier Perseguers
http://xavier.perseguers.ch/en
One contribution a day keeps the fork away
More information about the TYPO3-team-core
mailing list