[TYPO3-bugs] FIXED: Bug #5488 Fatal Error flexformtools at exporting

Sebastian Böttger sebastian.boettger at gmail.com
Sun May 6 17:05:34 CEST 2007


Finally I found out how you can reproduce this error.
The problem is a erroneous data structure (xml). I used german Umlauts ä 
ö ü, and therefore the parser will ends up with an error in line xy. But 
TYPO3 won't notice this, and therefore will just say the editData is empty.

Imho you can fix this like I did, because I could export and import the 
project after I inserted the fix above, and the project worked like before.

So please changethe status to fixed.

Thank you,
Sebastian Böttger


Sebastian Böttger schrieb:


skype:cozwei?add


> Hi Martin,
> it's me again :-).
> 
> I have an idea why editData is not an array here. My data structure was 
> corrupt, so in the TV Page module, you will see in
> 
> "edit page properties" at place "content" :
> 'Data Structure ERROR: Line 13: Invalid character'
> 
> May be that's why editData is not an array.
> 
> Best wishes,
> Sebastian Böttger
> 
> Sebastian Böttger schrieb:
> 
> 
> skype:cozwei?add
> 
> 
>> Hi Martin,
>> the blank screen I don't get anymore. It was abug of myself, I forgot 
>> to delete a debug "die()" at another file.
>> Also you can change the settings now,there is no problem anymore.
>>
>> I exported my project, and imported it. It works.
>>
>> But still: why editData is no array there? I would be glad to help out 
>> more, but someone should tell me more about the core at this place.
>>
>> Best regards,
>> Sebastian Böttger
>>
>> <skype:cozwei?add>
>>
>>
>>
>>
>> Martin Kutschker schrieb:
>>> Sebastian Böttger schrieb:
>>>  
>>>> Hi,
>>>>
>>>> I uploaded a unified diff for bug 
>>>> http://bugs.typo3.org/view.php?id=5488 to the bugtracker. Would 
>>>> please someone bring it into the core.
>>>>
>>>> Thank you,
>>>> Sebastian Böttger
>>>>
>>>>
>>>> 0005488: Fatal error: Cannot use string offset as an array in 
>>>> C:\xampp\htdocs\dev\TYPO\dummy\t3lib\class.t3lib_flexformtools.php 
>>>> on line 252
>>>>     
>>>
>>> But does it work?
>>>
>>> I quote you:
>>>
>>> "if (is_array($editData)){...} you won't et this error anymore. but 
>>> if you choose some changes and try to update after this, you will get 
>>> a blank screen."
>>>
>>> I don't think this patch should be used as-is before not some 
>>> question are answered:
>>>
>>> Why is edit data not an array at this point? Why does this happen 
>>> with the TV page and standard page module? What is this "blank screen 
>>> stuff"?
>>>
>>> Masi
>>> _______________________________________________
>>> TYPO3-team-bugs mailing list
>>> TYPO3-team-bugs at lists.netfielders.de
>>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-team-bugs
>>>   


More information about the TYPO3-team-bugs mailing list