[TYPO3-UG Dutch] TemplaVoila maakt verkeerde XML code aan

Rutger Mik rutgermik at gmail.com
Fri Jun 15 09:45:37 CEST 2012


Het probleem is opgelost, en ik wil de geïnteresseerden de oplossing 
niet onthouden. Hierbij dus wat er aan de hand was:


Het probleem had er mee te maken dat Suhosin protection een aantal 
variabelen gefilterd had.

Het heeft een limiet voor de array index grootte van 64 karakters 
terwijl de tijdelijke index voor het aanmaken van de afbeelding (3e 
niveau) binnen een paragraaf (2e niveau) 75 karakters was.

Op het moment dat eerst de paragraaf (2e niveau) gesaved wordt wordt de 
tijdelijke index omgezet in een permanente index (gewoon een getal), die 
dus een stuk korter is.

Om dit probleem te fixen kun je aan je php.ini de volgende regel toevoegen:

suhosin.request.max_totalname_length = 512

Daarna werkt alles weer.



Met vriendelijke groet,

Rutger Mik


Op 24-5-2012 9:31, Rutger Mik schreef:
> Beste Daniel,
>
> Bedankt voor je reactie.
> Ik had een aantal stappen wel al ondernomen, maar ik zie wel eens iets
> over het hoofd.
> Ik was nog niet op het idee gekomen extensies uit te schakelen
> bijvoorbeeld.
>
> Jammer genoeg heb ik het probleem er niet mee op kunnen lossen.
> Echter dit probleem ontstond ook bij een verse installatie, ik denk dus
> dat het iets structureels is.
>
> Maar wel bedankt, want elke hint helpt altijd.
>
>
> Met vriendelijke groet,
>
> Rutger Mik
>
>
> Op 22-5-2012 20:52, Daniel Doesburg | DOESBURG.BIZ schreef:
>> Een poging, maar jou kennende heb jij dit allemaal al gedaan:
>>
>> cachefiles verwijderen
>> typo3temp dir helemaal legen (rm -r *)
>> alle cache tabellen legen
>> de extensie deinstalleren en VOLLEDIG verwijderen (niet de db tabellen,
>> uiteraard) en vervolgens opnieuw installeren (zou het een hikje bij het
>> uitpakken geweest kunnen zijn?)
>>
>> Ja, en dan, als dat nog niet helpt?
>>
>> Nou, een voor een de andere extensies even uit zetten tot je misschien
>> een boosdoener vindt.
>> Soms commentaar ik ook wel eens alle regels van localconf uit en zet ze
>> dan successievelijk weer "aan".
>>
>> Nogmaals, ik denk dat je dit allemaal al gedaan hebt. Maar je vroeg om
>> hints, dus hierbij . . .
>>
>>
>> Met vriendelijke groeten,
>>
>> Daniel Doesburg
>>
>>
>>
>>
>>
>>
>>
>>
>> "Rutger Mik" schreef in bericht
>> news:mailman.1.1337582927.13238.typo3-ug-dutch at lists.typo3.org...
>>
>> Heeft niemand hier enig idee?
>> Elke hint is welkom.
>>
>> Alvast bedankt.
>>
>> Met vriendelijke groet,
>>
>> Rutger Mik
>>
>>
>>
>> Op 10-5-2012 10:01, Rutger Mik schreef:
>>> Beste Mensen,
>>>
>>> Ik heb onderstaande vraag geplaatst in de TemplaVoila lijst, maar ik
>>> probeer het hier ook maar even.
>>>
>>> Elke hint of suggestie is welkom.
>>> Het probleem is nu dat als het aan onze server ligt, ik geen idee heb
>>> wat ik moet doorgeven aan de gene die onze server beheert, zodat ze het
>>> kunnen fixen.
>>>
>>> Alvast bedankt.
>>>
>>>
>>>
>>> Met vriendelijke groet,
>>>
>>> Rutger Mik
>>>
>>> Zeeman Reclamegroep
>>>
>>>
>>> -------- Originele bericht --------
>>> Onderwerp: [TYPO3-templavoila] TV adds some weird extra code in XML in
>>> tt_content
>>> Datum: Wed, 09 May 2012 12:27:31 +0200
>>> Van: Rutger Mik <rutgermik at gmail.com>
>>> Organisatie: TYPO3 Association
>>> Nieuwsgroepen: typo3.projects.templavoila
>>>
>>> I moved a few website to our new (cPanel driven) server.
>>> After that, some FCE's have problems adding images.
>>>
>>>
>>> I use FCE's with nested sections, this means in practice that you first
>>> can add a paragraph to an article, and within every paragraph it's
>>> possible to add 1 or more images.
>>> This is a very flexible way of working with FCE's and has always worked
>>> very well.
>>>
>>> But on the new server when I add a paragraph and directly after that I
>>> add an image, in the 'tx_templavoila_flex' column it adds some
>>> additional XML code but doesn't add the image.
>>>
>>> If I try to add an image the second time, it does add the image (in the
>>> code), but the image is not shown in the FE because the additional XML
>>> code is still in front of it. If I remove that additional XML code, the
>>> image is shown again in the FE as it should.
>>>
>>> The way around the problem is to create an article of the FCE, fill it
>>> out but not the images and save it. Then add the images, and no problems
>>> are found.
>>>
>>>
>>> Does anybody have any idea why this happens?
>>>
>>> By the looks of it I would say it's a TV issue, but I cannot duplicate
>>> this problem on our old server. So it must have something to do with our
>>> new server configuration as well.
>>>
>>>
>>> This problem only occurs with nested sections.
>>> I did try different versions of TV (1.5.5, 1.6.1, 1.7.0)
>>> I use TYPO3 version 4.5.15, but I also tried 4.5.13.
>>> Attachment: http://ftp2.zrgbv.nl/attachment_TV_FCE_problem.zip
>>>
>>> The additional code that creates the problem:
>>>
>>> <field
>>> index="ID-136cbe057a-idx1336488495919-aaf290a059-71803f3831-idx1336488502074-form">
>>>
>>>
>>>
>>> <value index="_TOGGLE">0</value>
>>> </field>
>>
>



More information about the TYPO3-UG-Dutch mailing list