1
votes

I use TYPO3 7.6.2with Flux 7.3.0, fluidcontent 4.4.0 and vhs 2.4.0 I've made a lot of FluidTYPO3 Content Elements before. At my current project, I'll use an image / FAL upload. If I try to upload an image, I've got an Server Error 500. I cannot upload an image.

I also try it with standard code from an example like this. And here's my example, no chance to upload any image.

<flux:form id="carousel" options="{useTypoScript: 0, Fluidcontent: {sorting: 101}, group: 'FCE', icon: '{f:uri.resource(path: \'Icons/Content/Carousel.png\')}'}">

            <flux:form.sheet name="imgGallerySheetImages">
                <flux:field.inline.fal name="settings.imgGalleryFalImageItems" multiple="true"
                                       maxItems="45"
                                       collapseAll="true" />
            </flux:form.sheet>


        </flux:form>
...

I'm using this snippet at the same server, another TYPO3 (6.2) and another subdomain. It's the same server. But I've no problems in the past with it.

I also can upload 'normal' images via text&media-Content Element, but not with my flux-flexform

500 error image upload flexform typo3

2
Use the inspection tool of your browser to check the response for this request, it's quite possible you have error stack there. Also check sys_log table and Apache error log. Rise the log level if required in the Install Toolbiesior
Oha, some errors .. /typo3/index.php?ajaxID=%2Fajax%2Frecord%2Finline%2Fcreate&ajaxToken=5b80c2d3499389fa6c0718c706086659478cb871 Failed to load resource: the server responded with a status of 500 (Internal Server Error) at my browser inspect tool ...user2310852
... and at sys_log: Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1446996319: Configuration retrieved from FlexForm is incomplete or not of type "inline". | UnexpectedValueException thrown in file /homepages/.../Controller/FormInlineAjaxController.php in line 855. Requested URL: http://domain.de/typo3/index.php?ajaxID=%%2Fajax%%2Frecord%%2Finline%%2Fcreate&ajaxToken=5b80c2d3499389fa6c0718c706086659478cb871user2310852
I also found github flux issue, that's my problem: [github.com/FluidTYPO3/flux/issues/1013]user2310852

2 Answers

1
votes

I found the issue to my problem at FluidTYPO3/Flux: https://github.com/FluidTYPO3/flux/issues/1013

Here's the TYPO3 Core fix: http://p.cweiske.de/270 typo3/sysext/backend/Classes/Controller/FormInlineAjaxController.php and Fluidcontnet fix: https://github.com/monosize/fluidcontent/blob/3556fe61f996fc0eec7e02e91b9c3a50071073b3/Classes/Provider/ContentProvider.php fluidcontent/Classes/Provider/ContentProvider.php

It worked fine and I hope the problem will be solved with TYPO3 7.6.3 FAL upload typo3 fluidcontent/flux

0
votes

With flux 7.4.0 no patches are necessary anymore. flux contains a workaround now, see https://github.com/NamelessCoder/flux/commit/6508a5fb26af1511ab5d6309d7e6ffffcc222f1d