[TYPO3] debugData returns an empty array

Søren Schimkat schimkat at hum.aau.dk
Tue Oct 31 09:26:26 CET 2006


Dmitry Dulepov wrote:

>Hi!
>
>Søren Schimkat wrote:
>  
>
>>Anyway .. I'm trying to get debugData to return a list of available 
>>variables - but all I get is an empty array:
>>
>>$cObj->data:
>>
>>.. and that's basicly it. The code looks like this:
>>
>>page = PAGE
>>page.typeNum = 0
>>page.10 = USER
>>page.10.userFunc = tx_templavoila_pi1->main_page
>>page.20 = TEXT
>>page.20.debugData = 1
>>
>>Could someone please tell me what I'm doing wrong?
>>    
>>
>
>All is correct. You are trying to output debug information for page.20 
>object, which is obviously empty :)
>  
>
Could you tell me where to add the debugData value, in order to see the 
page variables (title, crdate etc) like the example on this page: 
http://typo3.org/documentation/document-library/core-documentation/doc_core_tsbyex/current/view/4/2/

-- 
Regards Søren Schimkat

_____________________________________

int main() {
  irr::game(device->makegame(FARCRY));
}





More information about the TYPO3-english mailing list