Error with Image Browser Controller

Hello all,

I just started with Neos and set up my first project and setup the demo page. So I thought I start with playing around and testing it for my Photography website.

I started by uploading pictures (around 30-50 pics each 10 MB). Suddenly there was a error in the uploading and I could not open the Media Part in the Backend Panel. I searched around in the logs and after a while I could not open the page at all (Backend and Frontend). It throws only “500 Internal Server Error” messages. I had a look at the logs but couldn’t figure it out what the problem is.
I enclosed one log from neocms/data/logs/exceptions

Hope you can help me.

Cheers,
EXXON
########################################
Uncaught exception: Required class “TYPO3\Neos\Controller\Backend\ImageBrowserController” could not be loaded properly for reflection.

Possible reasons are:

  • Requiring non-existent classes
  • Using non-supported annotations
  • Class-/filename missmatch.

The “TYPO3.Flow.object.excludeClasses” setting can be used to skip classes from being reflected.

22 TYPO3\Flow\Reflection\ClassReflection::TYPO3\Flow\Reflection{closure}(“TYPO3\Neos\Controller\Backend\ImageBrowserController”)
21 spl_autoload_call(“TYPO3\Neos\Controller\Backend\ImageBrowserController”)
20 ReflectionClass::__construct(“TYPO3\Neos\Controller\Backend\ImageBrowserController”)
19 TYPO3\Flow\Reflection\ClassReflection::__construct(“TYPO3\Neos\Controller\Backend\ImageBrowserController”)
18 TYPO3\Flow\Reflection\ReflectionService::reflectClass(“TYPO3\Neos\Controller\Backend\ImageBrowserController”)
17 TYPO3\Flow\Reflection\ReflectionService::reflectEmergedClasses()
16 TYPO3\Flow\Reflection\ReflectionService::buildReflectionData(array|17|)
15 TYPO3\Flow\Object\CompileTimeObjectManager::initialize(array|32|)
14 TYPO3\Flow\Core\Booting\Scripts::initializeObjectManagerCompileTimeFinalize(TYPO3\Flow\Core\Bootstrap)
13 call_user_func(array|2|, TYPO3\Flow\Core\Bootstrap)
12 TYPO3\Flow\Core\Booting\Step::__invoke(TYPO3\Flow\Core\Bootstrap)
11 TYPO3\Flow\Core\Booting\Sequence::invokeStep(TYPO3\Flow\Core\Booting\Step, TYPO3\Flow\Core\Bootstrap)
10 TYPO3\Flow\Core\Booting\Sequence::invokeStep(TYPO3\Flow\Core\Booting\Step, TYPO3\Flow\Core\Bootstrap)
9 TYPO3\Flow\Core\Booting\Sequence::invokeStep(TYPO3\Flow\Core\Booting\Step, TYPO3\Flow\Core\Bootstrap)
8 TYPO3\Flow\Core\Booting\Sequence::invokeStep(TYPO3\Flow\Core\Booting\Step, TYPO3\Flow\Core\Bootstrap)
7 TYPO3\Flow\Core\Booting\Sequence::invokeStep(TYPO3\Flow\Core\Booting\Step, TYPO3\Flow\Core\Bootstrap)
6 TYPO3\Flow\Core\Booting\Sequence::invokeStep(TYPO3\Flow\Core\Booting\Step, TYPO3\Flow\Core\Bootstrap)
5 TYPO3\Flow\Core\Booting\Sequence::invokeStep(TYPO3\Flow\Core\Booting\Step, TYPO3\Flow\Core\Bootstrap)
4 TYPO3\Flow\Core\Booting\Sequence::invoke(TYPO3\Flow\Core\Bootstrap)
3 TYPO3\Flow\Cli\CommandRequestHandler::boot(“Compiletime”)
2 TYPO3\Flow\Cli\CommandRequestHandler::handleRequest()
1 TYPO3\Flow\Core\Bootstrap::run()

Previous exception: Uncaught exception: Required class “TYPO3\Neos\Controller\Backend\MediaBrowserController” could not be loaded properly for reflection.

Possible reasons are:

  • Requiring non-existent classes
  • Using non-supported annotations
  • Class-/filename missmatch.

The “TYPO3.Flow.object.excludeClasses” setting can be used to skip classes from being reflected.

26 TYPO3\Flow\Reflection\ClassReflection::TYPO3\Flow\Reflection{closure}(“TYPO3\Neos\Controller\Backend\MediaBrowserController”)
25 spl_autoload_call(“TYPO3\Neos\Controller\Backend\MediaBrowserController”)
24 include("/kunden/469841_85521/webseiten/neoscms/Packages/Application/TYPO3.Neos/Classes/TYPO3/Neos/Controller/Backend/ImageBrowserController.php")
23 TYPO3\Flow\Core\ClassLoader::loadClassFromPossiblePaths(array|1|, array|5|, 2)
22 TYPO3\Flow\Core\ClassLoader::loadClass(“TYPO3\Neos\Controller\Backend\ImageBrowserController”)
21 spl_autoload_call(“TYPO3\Neos\Controller\Backend\ImageBrowserController”)
20 ReflectionClass::__construct(“TYPO3\Neos\Controller\Backend\ImageBrowserController”)
19 TYPO3\Flow\Reflection\ClassReflection::__construct(“TYPO3\Neos\Controller\Backend\ImageBrowserController”)
18 TYPO3\Flow\Reflection\ReflectionService::reflectClass(“TYPO3\Neos\Controller\Backend\ImageBrowserController”)
17 TYPO3\Flow\Reflection\ReflectionService::reflectEmergedClasses()
16 TYPO3\Flow\Reflection\ReflectionService::buildReflectionData(array|17|)
15 TYPO3\Flow\Object\CompileTimeObjectManager::initialize(array|32|)
14 TYPO3\Flow\Core\Booting\Scripts::initializeObjectManagerCompileTimeFinalize(TYPO3\Flow\Core\Bootstrap)
13 call_user_func(array|2|, TYPO3\Flow\Core\Bootstrap)
12 TYPO3\Flow\Core\Booting\Step::__invoke(TYPO3\Flow\Core\Bootstrap)
11 TYPO3\Flow\Core\Booting\Sequence::invokeStep(TYPO3\Flow\Core\Booting\Step, TYPO3\Flow\Core\Bootstrap)
10 TYPO3\Flow\Core\Booting\Sequence::invokeStep(TYPO3\Flow\Core\Booting\Step, TYPO3\Flow\Core\Bootstrap)
9 TYPO3\Flow\Core\Booting\Sequence::invokeStep(TYPO3\Flow\Core\Booting\Step, TYPO3\Flow\Core\Bootstrap)
8 TYPO3\Flow\Core\Booting\Sequence::invokeStep(TYPO3\Flow\Core\Booting\Step, TYPO3\Flow\Core\Bootstrap)
7 TYPO3\Flow\Core\Booting\Sequence::invokeStep(TYPO3\Flow\Core\Booting\Step, TYPO3\Flow\Core\Bootstrap)
6 TYPO3\Flow\Core\Booting\Sequence::invokeStep(TYPO3\Flow\Core\Booting\Step, TYPO3\Flow\Core\Bootstrap)
5 TYPO3\Flow\Core\Booting\Sequence::invokeStep(TYPO3\Flow\Core\Booting\Step, TYPO3\Flow\Core\Bootstrap)
4 TYPO3\Flow\Core\Booting\Sequence::invoke(TYPO3\Flow\Core\Bootstrap)
3 TYPO3\Flow\Cli\CommandRequestHandler::boot(“Compiletime”)
2 TYPO3\Flow\Cli\CommandRequestHandler::handleRequest()
1 TYPO3\Flow\Core\Bootstrap::run()

Previous exception: Uncaught exception: Required class “TYPO3\Neos\Controller\Module\Management\AssetController” could not be loaded properly for reflection.

Possible reasons are:

  • Requiring non-existent classes
  • Using non-supported annotations
  • Class-/filename missmatch.

The “TYPO3.Flow.object.excludeClasses” setting can be used to skip classes from being reflected.

30 TYPO3\Flow\Reflection\ClassReflection::TYPO3\Flow\Reflection{closure}(“TYPO3\Neos\Controller\Module\Management\AssetController”)
29 spl_autoload_call(“TYPO3\Neos\Controller\Module\Management\AssetController”)
28 include("/kunden/469841_85521/webseiten/neoscms/Packages/Application/TYPO3.Neos/Classes/TYPO3/Neos/Controller/Backend/MediaBrowserController.php")
27 TYPO3\Flow\Core\ClassLoader::loadClassFromPossiblePaths(array|1|, array|5|, 2)
26 TYPO3\Flow\Core\ClassLoader::loadClass(“TYPO3\Neos\Controller\Backend\MediaBrowserController”)
25 spl_autoload_call(“TYPO3\Neos\Controller\Backend\MediaBrowserController”)
24 include("/kunden/469841_85521/webseiten/neoscms/Packages/Application/TYPO3.Neos/Classes/TYPO3/Neos/Controller/Backend/ImageBrowserController.php")
23 TYPO3\Flow\Core\ClassLoader::loadClassFromPossiblePaths(array|1|, array|5|, 2)
22 TYPO3\Flow\Core\ClassLoader::loadClass(“TYPO3\Neos\Controller\Backend\ImageBrowserController”)
21 spl_autoload_call(“TYPO3\Neos\Controller\Backend\ImageBrowserController”)
20 ReflectionClass::__construct(“TYPO3\Neos\Controller\Backend\ImageBrowserController”)
19 TYPO3\Flow\Reflection\ClassReflection::__construct(“TYPO3\Neos\Controller\Backend\ImageBrowserController”)
18 TYPO3\Flow\Reflection\ReflectionService::reflectClass(“TYPO3\Neos\Controller\Backend\ImageBrowserController”)
17 TYPO3\Flow\Reflection\ReflectionService::reflectEmergedClasses()
16 TYPO3\Flow\Reflection\ReflectionService::buildReflectionData(array|17|)
15 TYPO3\Flow\Object\CompileTimeObjectManager::initialize(array|32|)
14 TYPO3\Flow\Core\Booting\Scripts::initializeObjectManagerCompileTimeFinalize(TYPO3\Flow\Core\Bootstrap)
13 call_user_func(array|2|, TYPO3\Flow\Core\Bootstrap)
12 TYPO3\Flow\Core\Booting\Step::__invoke(TYPO3\Flow\Core\Bootstrap)
11 TYPO3\Flow\Core\Booting\Sequence::invokeStep(TYPO3\Flow\Core\Booting\Step, TYPO3\Flow\Core\Bootstrap)
10 TYPO3\Flow\Core\Booting\Sequence::invokeStep(TYPO3\Flow\Core\Booting\Step, TYPO3\Flow\Core\Bootstrap)
9 TYPO3\Flow\Core\Booting\Sequence::invokeStep(TYPO3\Flow\Core\Booting\Step, TYPO3\Flow\Core\Bootstrap)
8 TYPO3\Flow\Core\Booting\Sequence::invokeStep(TYPO3\Flow\Core\Booting\Step, TYPO3\Flow\Core\Bootstrap)
7 TYPO3\Flow\Core\Booting\Sequence::invokeStep(TYPO3\Flow\Core\Booting\Step, TYPO3\Flow\Core\Bootstrap)
6 TYPO3\Flow\Core\Booting\Sequence::invokeStep(TYPO3\Flow\Core\Booting\Step, TYPO3\Flow\Core\Bootstrap)
5 TYPO3\Flow\Core\Booting\Sequence::invokeStep(TYPO3\Flow\Core\Booting\Step, TYPO3\Flow\Core\Bootstrap)
4 TYPO3\Flow\Core\Booting\Sequence::invoke(TYPO3\Flow\Core\Bootstrap)
3 TYPO3\Flow\Cli\CommandRequestHandler::boot(“Compiletime”)
2 TYPO3\Flow\Cli\CommandRequestHandler::handleRequest()
1 TYPO3\Flow\Core\Bootstrap::run()

Previous exception: Uncaught exception: Required class “TYPO3\Media\Controller\AssetController” could not be loaded properly for reflection.

Possible reasons are:

  • Requiring non-existent classes
  • Using non-supported annotations
  • Class-/filename missmatch.

The “TYPO3.Flow.object.excludeClasses” setting can be used to skip classes from being reflected.

34 TYPO3\Flow\Reflection\ClassReflection::TYPO3\Flow\Reflection{closure}(“TYPO3\Media\Controller\AssetController”)
33 spl_autoload_call(“TYPO3\Media\Controller\AssetController”)
32 include("/kunden/469841_85521/webseiten/neoscms/Packages/Application/TYPO3.Neos/Classes/TYPO3/Neos/Controller/Module/Management/AssetController.php")
31 TYPO3\Flow\Core\ClassLoader::loadClassFromPossiblePaths(array|1|, array|6|, 2)
30 TYPO3\Flow\Core\ClassLoader::loadClass(“TYPO3\Neos\Controller\Module\Management\AssetController”)
29 spl_autoload_call(“TYPO3\Neos\Controller\Module\Management\AssetController”)
28 include("/kunden/469841_85521/webseiten/neoscms/Packages/Application/TYPO3.Neos/Classes/TYPO3/Neos/Controller/Backend/MediaBrowserController.php")
27 TYPO3\Flow\Core\ClassLoader::loadClassFromPossiblePaths(array|1|, array|5|, 2)
26 TYPO3\Flow\Core\ClassLoader::loadClass(“TYPO3\Neos\Controller\Backend\MediaBrowserController”)
25 spl_autoload_call(“TYPO3\Neos\Controller\Backend\MediaBrowserController”)
24 include("/kunden/469841_85521/webseiten/neoscms/Packages/Application/TYPO3.Neos/Classes/TYPO3/Neos/Controller/Backend/ImageBrowserController.php")
23 TYPO3\Flow\Core\ClassLoader::loadClassFromPossiblePaths(array|1|, array|5|, 2)
22 TYPO3\Flow\Core\ClassLoader::loadClass(“TYPO3\Neos\Controller\Backend\ImageBrowserController”)
21 spl_autoload_call(“TYPO3\Neos\Controller\Backend\ImageBrowserController”)
20 ReflectionClass::__construct(“TYPO3\Neos\Controller\Backend\ImageBrowserController”)
19 TYPO3\Flow\Reflection\ClassReflection::__construct(“TYPO3\Neos\Controller\Backend\ImageBrowserController”)
18 TYPO3\Flow\Reflection\ReflectionService::reflectClass(“TYPO3\Neos\Controller\Backend\ImageBrowserController”)
17 TYPO3\Flow\Reflection\ReflectionService::reflectEmergedClasses()
16 TYPO3\Flow\Reflection\ReflectionService::buildReflectionData(array|17|)
15 TYPO3\Flow\Object\CompileTimeObjectManager::initialize(array|32|)
14 TYPO3\Flow\Core\Booting\Scripts::initializeObjectManagerCompileTimeFinalize(TYPO3\Flow\Core\Bootstrap)
13 call_user_func(array|2|, TYPO3\Flow\Core\Bootstrap)
12 TYPO3\Flow\Core\Booting\Step::__invoke(TYPO3\Flow\Core\Bootstrap)
11 TYPO3\Flow\Core\Booting\Sequence::invokeStep(TYPO3\Flow\Core\Booting\Step, TYPO3\Flow\Core\Bootstrap)
10 TYPO3\Flow\Core\Booting\Sequence::invokeStep(TYPO3\Flow\Core\Booting\Step, TYPO3\Flow\Core\Bootstrap)
9 TYPO3\Flow\Core\Booting\Sequence::invokeStep(TYPO3\Flow\Core\Booting\Step, TYPO3\Flow\Core\Bootstrap)
8 TYPO3\Flow\Core\Booting\Sequence::invokeStep(TYPO3\Flow\Core\Booting\Step, TYPO3\Flow\Core\Bootstrap)
7 TYPO3\Flow\Core\Booting\Sequence::invokeStep(TYPO3\Flow\Core\Booting\Step, TYPO3\Flow\Core\Bootstrap)
6 TYPO3\Flow\Core\Booting\Sequence::invokeStep(TYPO3\Flow\Core\Booting\Step, TYPO3\Flow\Core\Bootstrap)
5 TYPO3\Flow\Core\Booting\Sequence::invokeStep(TYPO3\Flow\Core\Booting\Step, TYPO3\Flow\Core\Bootstrap)
4 TYPO3\Flow\Core\Booting\Sequence::invoke(TYPO3\Flow\Core\Bootstrap)
3 TYPO3\Flow\Cli\CommandRequestHandler::boot(“Compiletime”)
2 TYPO3\Flow\Cli\CommandRequestHandler::handleRequest()
1 TYPO3\Flow\Core\Bootstrap::run()
########################################

Something is going wrong with the proxy class building. Did you try clearing the caches using ./flow flow:cache:flush --force? Very weird this would be related to an error during uploading though.

Hey aertmann,

I tried it but the first is only for the development context so I tried with Production and it throws the same error on the console as I get from the exception logs as posted before :frowning:

(09:36:43) [neoscms] ./flow flow:cache:flush --force
Force-flushed caches for “Development” context.
(09:42:27) [neoscms] FLOW_CONTEXT=Production ./flow flow:cache:flush
Required class “TYPO3\Neos\Controller\Backend\ImageBrowserController” could not be loaded properly for reflection.

Do you have more Ideas?

//edit: even
./flow help flow:cache
throws the error

Try rm -rf Data/Temporary/* and if that doesn’t work, you have probably messed with the classes in some way. Make sure your packages are unmodified and up to date.

Hey Thanks aertmann,

tried your advice but didn’t help. I reinstalled and start from scratch now. Thanks for the support. If I come across this error again I write here.

Cheers EXXON

Hey,
I started from scratch again and ran into the same error as soon i uploaded 23 pictures at once with size up to 2MB. Only backup the folder and not the database so it throws this error now after restoring only the folder (not DB, yeah I should have done it ^^). Somehow the media upload should have a problem I think.

As soon I want to enter the media part of the backend it throws this error:

Uncaught exception #1416221863 in line 431 of /kunden/469841_85521/webseiten/neoscms/Data/Temporary/Production/Doctrine/Proxies/__CG__TYPO3FlowResourceResource.php: Could not open stream for resource 3c1cf5c60cd43f9d6767b954f263ba3a101de924 (“DSC04155.jpg”) from collection “persistent” while trying to create a temporary local copy.

104 TYPO3\Flow\Resource\Resource_Original::createTemporaryLocalCopy()
103 TYPO3\Flow\Persistence\Doctrine\Proxies_CG_\TYPO3\Flow\Resource\Resource::createTemporaryLocalCopy()
102 TYPO3\Media\Domain\Service\ImageService_Original::processImage(TYPO3\Flow\Persistence\Doctrine\Proxies_CG_\TYPO3\Flow\Resource\Resource, array|1|)
101 call_user_func_array(array|2|, array|2|)
100 TYPO3\Flow\Object\DependencyInjection\DependencyProxy::_call(“processImage”, array|2|)
99 TYPO3\Flow\Object\DependencyInjection\DependencyProxy::processImage(TYPO3\Flow\Persistence\Doctrine\Proxies_CG
\TYPO3\Flow\Resource\Resource, array|1|)
98 TYPO3\Media\Domain\Model\Thumbnail_Original::refresh()
97 TYPO3\Media\Domain\Model\Thumbnail_Original::initializeObject(1)
96 TYPO3\Media\Domain\Model\Thumbnail::__construct(TYPO3\Media\Domain\Model\Image, “250”, “250”, “inset”, FALSE)
95 call_user_func_array(array|2|, array|5|)
94 TYPO3\Media\Domain\Model\Thumbnail::Flow_Aop_Proxy_invokeJoinPoint(TYPO3\Flow\Aop\JoinPoint)
93 TYPO3\Media\Domain\Model\Thumbnail::__construct(TYPO3\Media\Domain\Model\Image, “250”, “250”, “inset”, FALSE)
92 TYPO3\Media\Domain\Service\ThumbnailService_Original::getThumbnail(TYPO3\Media\Domain\Model\Image, “250”, “250”, “inset”, FALSE)
91 call_user_func_array(array|2|, array|5|)
90 TYPO3\Flow\Object\DependencyInjection\DependencyProxy::__call(“getThumbnail”, array|5|)
89 TYPO3\Flow\Object\DependencyInjection\DependencyProxy::getThumbnail(TYPO3\Media\Domain\Model\Image, “250”, “250”, “inset”, FALSE)
88 TYPO3\Media\Domain\Service\AssetService_Original::getImageThumbnailImage(TYPO3\Media\Domain\Model\Image, “250”, “250”, FALSE, FALSE)
87 TYPO3\Media\Domain\Service\AssetService_Original::getThumbnailUriAndSizeForAsset(TYPO3\Media\Domain\Model\Image, “250”, “250”, FALSE, FALSE)
86 TYPO3\Media\ViewHelpers\ImageViewHelper_Original::render(NULL, “250”, “250”, FALSE, FALSE)
85 call_user_func_array(array|2|, array|5|)
84 TYPO3\Fluid\Core\ViewHelper\AbstractViewHelper::callRenderMethod()
83 TYPO3\Fluid\Core\ViewHelper\AbstractViewHelper::initializeArgumentsAndRender()
82 TYPO3\Fluid\Core\Parser\SyntaxTree\ViewHelperNode_Original::evaluate(TYPO3\Fluid\Core\Rendering\RenderingContext)
81 TYPO3\Fluid\Core\Parser\SyntaxTree\AbstractNode::evaluateChildNodes(TYPO3\Fluid\Core\Rendering\RenderingContext)
80 TYPO3\Fluid\Core\ViewHelper\AbstractViewHelper::renderChildren()
79 TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper_Original::render(“edit”, array|1|, NULL, NULL, NULL, “”, “”, array|0|, FALSE, array|0|, FALSE, TRUE)
78 call_user_func_array(array|2|, array|12|)
77 TYPO3\Fluid\Core\ViewHelper\AbstractViewHelper::callRenderMethod()
76 TYPO3\Fluid\Core\ViewHelper\AbstractViewHelper::initializeArgumentsAndRender()
75 TYPO3\Fluid\Core\Parser\SyntaxTree\ViewHelperNode_Original::evaluate(TYPO3\Fluid\Core\Rendering\RenderingContext)
74 TYPO3\Fluid\Core\Parser\SyntaxTree\AbstractNode::evaluateChildNodes(TYPO3\Fluid\Core\Rendering\RenderingContext)
73 TYPO3\Fluid\Core\ViewHelper\AbstractViewHelper::renderChildren()
72 TYPO3\Fluid\Core\ViewHelper\AbstractViewHelper::TYPO3\Fluid\Core\ViewHelper{closure}()
71 TYPO3\Fluid\ViewHelpers\ForViewHelper_Original::renderStatic(array|5|, Closure, TYPO3\Fluid\Core\Rendering\RenderingContext)
70 TYPO3\Fluid\ViewHelpers\ForViewHelper_Original::render(TYPO3\Flow\Persistence\Doctrine\QueryResult, “asset”, “”, FALSE, NULL)
69 call_user_func_array(array|2|, array|5|)
68 TYPO3\Fluid\Core\ViewHelper\AbstractViewHelper::callRenderMethod()
67 TYPO3\Fluid\Core\ViewHelper\AbstractViewHelper::initializeArgumentsAndRender()
66 TYPO3\Fluid\Core\Parser\SyntaxTree\ViewHelperNode_Original::evaluate(TYPO3\Fluid\Core\Rendering\RenderingContext)
65 TYPO3\Fluid\Core\Parser\SyntaxTree\AbstractNode::evaluateChildNodes(TYPO3\Fluid\Core\Rendering\RenderingContext)
64 TYPO3\Fluid\Core\Parser\SyntaxTree\RootNode_Original::evaluate(TYPO3\Fluid\Core\Rendering\RenderingContext)
63 TYPO3\Fluid\ViewHelpers\RenderChildrenViewHelper_Original::render(array|1|)
62 call_user_func_array(array|2|, array|1|)
61 TYPO3\Fluid\Core\ViewHelper\AbstractViewHelper::callRenderMethod()
60 TYPO3\Fluid\Core\ViewHelper\AbstractViewHelper::initializeArgumentsAndRender()
59 FluidCache_TYPO3_Fluid_ViewHelpers_Widget_Paginate_action_index_f86b90a98c05abd6c08707db93ea89edf1bfff93::render(TYPO3\Fluid\Core\Rendering\RenderingContext)
58 TYPO3\Fluid\View\AbstractTemplateView::render()
57 TYPO3\Flow\Mvc\Controller\ActionController_Original::callActionMethod()
56 TYPO3\Flow\Mvc\Controller\ActionController_Original::processRequest(TYPO3\Flow\Mvc\ActionRequest, TYPO3\Flow\Http\Response)
55 TYPO3\Fluid\Core\Widget\AbstractWidgetController::processRequest(TYPO3\Flow\Mvc\ActionRequest, TYPO3\Flow\Http\Response)
54 TYPO3\Fluid\Core\Widget\AbstractWidgetViewHelper::initiateSubRequest()
53 TYPO3\Fluid\ViewHelpers\Widget\PaginateViewHelper_Original::render(TYPO3\Flow\Persistence\Doctrine\QueryResult, “paginatedAssets”, array|2|)
52 call_user_func_array(array|2|, array|3|)
51 TYPO3\Fluid\Core\ViewHelper\AbstractViewHelper::callRenderMethod()
50 TYPO3\Fluid\Core\Widget\AbstractWidgetViewHelper::initializeArgumentsAndRender()
49 TYPO3\Fluid\Core\Parser\SyntaxTree\ViewHelperNode_Original::evaluate(TYPO3\Fluid\Core\Rendering\RenderingContext)
48 TYPO3\Fluid\Core\Parser\SyntaxTree\AbstractNode::evaluateChildNodes(TYPO3\Fluid\Core\Rendering\RenderingContext)
47 TYPO3\Fluid\Core\Parser\SyntaxTree\RootNode_Original::evaluate(TYPO3\Fluid\Core\Rendering\RenderingContext)
46 TYPO3\Fluid\Core\Parser\ParsingState_Original::render(TYPO3\Fluid\Core\Rendering\RenderingContext)
45 TYPO3\Fluid\View\AbstractTemplateView::renderPartial(“ThumbnailView”, NULL, array|3|)
44 TYPO3\Fluid\ViewHelpers\RenderViewHelper_Original::render(NULL, “ThumbnailView”, array|2|, FALSE)
43 call_user_func_array(array|2|, array|4|)
42 TYPO3\Fluid\Core\ViewHelper\AbstractViewHelper::callRenderMethod()
41 TYPO3\Fluid\Core\ViewHelper\AbstractViewHelper::initializeArgumentsAndRender()
40 FluidCache_TYPO3_Neos__Module_Management_Asset_action_index_8fc75fc233a5b760c50a3d6ed70a659fadd944a0::{closure}()
39 TYPO3\Fluid\Core\ViewHelper\AbstractConditionViewHelper::renderThenChild()
38 TYPO3\Fluid\ViewHelpers\IfViewHelper_Original::render(TRUE)
37 call_user_func_array(array|2|, array|1|)
36 TYPO3\Fluid\Core\ViewHelper\AbstractViewHelper::callRenderMethod()
35 TYPO3\Fluid\Core\ViewHelper\AbstractViewHelper::initializeArgumentsAndRender()
34 FluidCache_TYPO3_Neos__Module_Management_Asset_action_index_8fc75fc233a5b760c50a3d6ed70a659fadd944a0::section_4f9be057f0ea5d2ba72fd2c810e8d7b9aa98b469(TYPO3\Fluid\Core\Rendering\RenderingContext)
33 TYPO3\Fluid\View\AbstractTemplateView::renderSection(“Content”, array|1|, FALSE)
32 TYPO3\Fluid\ViewHelpers\RenderViewHelper_Original::render(“Content”, NULL, array|0|, FALSE)
31 call_user_func_array(array|2|, array|4|)
30 TYPO3\Fluid\Core\ViewHelper\AbstractViewHelper::callRenderMethod()
29 TYPO3\Fluid\Core\ViewHelper\AbstractViewHelper::initializeArgumentsAndRender()
28 FluidCache_TYPO3_Neos__layout_Default_d56c73ad249fa0fdf0194d3c496ca1ce110b4001::render(TYPO3\Fluid\Core\Rendering\RenderingContext)
27 TYPO3\Fluid\View\AbstractTemplateView::render()
26 TYPO3\Flow\Mvc\Controller\ActionController_Original::callActionMethod()
25 TYPO3\Flow\Mvc\Controller\ActionController_Original::processRequest(TYPO3\Flow\Mvc\ActionRequest, TYPO3\Flow\Http\Response)
24 TYPO3\Flow\Mvc\Dispatcher_Original::initiateDispatchLoop(TYPO3\Flow\Mvc\ActionRequest, TYPO3\Flow\Http\Response)
23 TYPO3\Flow\Mvc\Dispatcher_Original::dispatch(TYPO3\Flow\Mvc\ActionRequest, TYPO3\Flow\Http\Response)
22 TYPO3\Neos\Controller\Backend\ModuleController_Original::indexAction(array|3|)
21 TYPO3\Neos\Controller\Backend\ModuleController::indexAction(array|3|)
20 call_user_func_array(array|2|, array|1|)
19 TYPO3\Neos\Controller\Backend\ModuleController::Flow_Aop_Proxy_invokeJoinPoint(TYPO3\Flow\Aop\JoinPoint)
18 TYPO3\Flow\Aop\Advice\AdviceChain::proceed(TYPO3\Flow\Aop\JoinPoint)
17 TYPO3\Flow\Security\Aspect\PolicyEnforcementAspect_Original::enforcePolicy(TYPO3\Flow\Aop\JoinPoint)
16 TYPO3\Flow\Aop\Advice\AroundAdvice::invoke(TYPO3\Flow\Aop\JoinPoint)
15 TYPO3\Flow\Aop\Advice\AdviceChain::proceed(TYPO3\Flow\Aop\JoinPoint)
14 TYPO3\Neos\Controller\Backend\ModuleController::indexAction(array|3|)
13 call_user_func_array(array|2|, array|1|)
12 TYPO3\Flow\Mvc\Controller\ActionController_Original::callActionMethod()
11 TYPO3\Flow\Mvc\Controller\ActionController_Original::processRequest(TYPO3\Flow\Mvc\ActionRequest, TYPO3\Flow\Http\Response)
10 TYPO3\Flow\Mvc\Dispatcher_Original::initiateDispatchLoop(TYPO3\Flow\Mvc\ActionRequest, TYPO3\Flow\Http\Response)
9 TYPO3\Flow\Mvc\Dispatcher_Original::dispatch(TYPO3\Flow\Mvc\ActionRequest, TYPO3\Flow\Http\Response)
8 call_user_func_array(array|2|, array|2|)
7 TYPO3\Flow\Object\DependencyInjection\DependencyProxy::__call(“dispatch”, array|2|)
6 TYPO3\Flow\Object\DependencyInjection\DependencyProxy::dispatch(TYPO3\Flow\Mvc\ActionRequest, TYPO3\Flow\Http\Response)
5 TYPO3\Flow\Mvc\DispatchComponent_Original::handle(TYPO3\Flow\Http\Component\ComponentContext)
4 TYPO3\Flow\Http\Component\ComponentChain_Original::handle(TYPO3\Flow\Http\Component\ComponentContext)
3 TYPO3\Flow\Http\Component\ComponentChain_Original::handle(TYPO3\Flow\Http\Component\ComponentContext)
2 TYPO3\Flow\Http\RequestHandler::handleRequest()
1 TYPO3\Flow\Core\Bootstrap::run()

HTTP REQUEST:
GET /neos/management/media HTTP/1.1

Host: ##################

User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0

Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8

Accept-Language: de,en-US;q=0.7,en;q=0.3

Accept-Encoding: gzip, deflate

Dnt: 1

Hey again

I can assure you that the media library works just fine in a lot of existing projects with many images larger than 2 MB, so it must be related to your setup.

Also the new error you’re having is because you have resources in the database that are missing on the filesystem, which is not handled in a very good way in Flow unfortunately. If you clear the resources database tables the error should disappear. However you might also need to clear the media database tables.

Not sure if it would help in your case, but running the following commands might help.

./flow resource:clean
./flow media:importresources

Hey,

thanks for your patience with me. The hint with cleaning the resources was helpful at least at another point.

I think I found the cause but I’m still not sure why it happens. When I upload a bunch of pictures at one time and they have a complete size of 19,x MB it works fine. As soon the pictures I upload at once are 20,x MB my installation crashes again (only the media part in the backend). Even so I set the upload limit in the php.ini up to 40M it doesn’t change the occurance. If someone has the patience to try it would be perfect. Maybe it’s just some server settings on my shared hoster I can’t influence.

Cheers
EXXON

Sounds like it might be due to post_max_size and not upload_max_filesize.

I already set both to 40M.

Sorry don’t have any other suggestions really, except to make sure those settings were actually changed in the correct web context and the web server reloaded. You can use phpinfo();

Ja I think I set everything right. For now I avoid uploading more then 20MB. Thank you for your help.

Neos is really awesome btw. super easy to use once it is setup and really convinient. Thanks to everyone who is contributing to it!

2 Likes