[TYPO3-english] Multiple Content (jfmulticontent) in 7.6LTS?
Scotty C
superscotty19 at yahoo.com
Fri Feb 5 00:17:04 CET 2016
Hey Jigal,
Very helpful yet again! Your explanation made perfect sense, and I implemented both the renderType changes to flexform_ds and ran DB analyzer ... to no avail. I still get the 'No renderType definition found' error.
Where else could renderType be required?
Thanks again,
-Scott.
----- Original Message -----
> From: Jigal van Hemert <jigal.van.hemert at typo3.org>
> To: typo3-english at lists.typo3.org
> Sent: Wednesday, February 3, 2016 6:30 AM
> Subject: Re: [TYPO3-english] Multiple Content (jfmulticontent) in 7.6LTS?
>
> Hi Scott,
>
> On 01/02/2016 21:43, Scotty C wrote:
>> I installed jfmulticontent 2.9.9 and implemented the 6 changes. I can
>> now create a content element of typo "Multiple Content", however
> when
>> Iattempt to save it I get the following error:
>>
>> Fatal error: Uncaught exception
> 'TYPO3\CMS\Backend\Form\Exception'
>> with message 'No renderType definition found'
>>
> in/typo/typo3_src-7.6.2/typo3/sysext/backend/Classes/Form/NodeFactory.php:95
>
> This is another thing that changed in 7 LTS: in TCA and flexforms the
> select boxes need to have a render type defined [1]. In previous
> versions it was attempted to conclude from the other settings how it
> should be rendered, but this didn't always produced the result that was
> wanted by the programmer.
>
> In your case the file flexform_ds.xml in the root of jfmulticontent
> needs to be edited. There are 28 select fields in it.
> If you change
>
> <type>select</type>
>
> into
>
> <type>select</type>
> <renderType>selectSingle</renderType>
>
> this error should go away.
>
>> I'm also getting a Database Error:
>>
>> You have an error in your SQL syntax; check the manual that
>> corresponds to your MySQL server version for the right syntax to use
>> near '' at line 1<br /> A SQL error occurred. This may
> indicate a
>> schema mismatch between TCA and the database. Try running database
>> compare in the Install Tool.
>>
>>
>> Unfortunately, I have no idea what this means (never seen this error
>> in 10 years), nor do I know where to start in tracing/debugging.
>
> It could be that this can be solved -- as the error message says -- by
> running the database compare tool in the Install Tool (Important Actions
> page).
>
> I just had a better look at jfmulticontent and there are some things
> that were already deprecated in 6.2 and dropped in 7 LTS. It could be
> that a programmer needs to replace some code here and there.
>
> Another thing is the TS constant useStoragePidOnly. This makes the code
> use the General Record Storage Page only; that is a thing of the past,
> so you really need to set that constant to 0.
>
> [1]
> https://docs.typo3.org/typo3cms/TCAReference/Reference/Columns/Select/Index.html#rendertype
>
> --
> Jigal van Hemert
> TYPO3 CMS Active Contributor
>
> TYPO3 .... inspiring people to share!
> Get involved: typo3.org
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>
More information about the TYPO3-english
mailing list