[TYPO3-core] RFC #11027: Warning is issued when creating first template

Michael Stucki michael at typo3.org
Mon Jul 6 17:29:43 CEST 2009


Hi Xavier,

there is a reply from Benni on June 26th which you haven't answered yet. 
Did you see his question?

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.
>>
>>
> 
> 


-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/


More information about the TYPO3-team-core mailing list