[TYPO3-english] Multiple Content (jfmulticontent) in 7.6LTS?

Jigal van Hemert jigal.van.hemert at typo3.org
Wed Feb 3 13:30:55 CET 2016


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


More information about the TYPO3-english mailing list