I’ve installed Mautic on my own server and everything seemed to be working fine. I’ve created custom email templates and was building an email from a template when the file manager stopped loading.
I click in the email template ‘slot’ field, select the image icon to load the image properties dialogue, click the Browse Server button and the file manager TRIES to open but won’t. I get a blank window with the spinning pinwheel. I’ve tried from multiple browsers and multiple computers with the same outcome. Any ideas?
I fixed it by re-uploading all the files in the /app/bundles/CoreBundle/Assets/ folder from a fresh version. I’m not sure which file(s) were corrupted or what actually was replaced but the problem was fixed.
I tried to fix per @lwdeddie but no luck. I see a number of threads from folks with this same problem but the threads are toooo over my head. Does anyone have a solution the average guy cam implement?
Yes I found the answer. See this link https://github.com/mautic/mautic/pull/1506/files
It requires you add three lines of code (in green) and delete one line (in red) from this file …undles/CoreBundle/Assets/js/libraries/ckeditor/filemanager/connectors/php/user.config.php.
After I did this my problem was fixed.
I have the same problem. I am not a PHP developer, but I also found this possible link to a solution in StackOverflow:
http://stackoverflow.com/questions/8822463/symfony2-templating-without-request/24382994#24382994
The reason I believe this could be the root of the problem is as follows:
When the File Manager is opened the below (long) error message is written to the error.log file. I have googled on the specifics of that error message and think that the above might be a solution. However, I will have to leave it to the specialists to create the code fix.
2016/04/10 15:30:26 [error] 10128#0: *10914 FastCGI sent in stderr: "PHP message
: PHP Fatal error: Uncaught exception 'SymfonyComponentDependencyInjectionEx
ceptionInactiveScopeException' with message 'You cannot create a service ("temp
lating.helper.assets") of an inactive scope ("request").' in /home/vaino/myMauti
c.com/public_html/app/cache/prod/appProdProjectContainer.php:2765
Stack trace:
#0 /home/vaino/myMautic.com/public_html/app/bootstrap.php.cache(2125): appProdProjectContainer->getTemplating_Helper_AssetsService()
#1 /home/vaino/myMautic.com/public_html/app/bundles/CoreBundle/Factory/MauticFactory.php(749): SymfonyComponentDependencyInjectionContainer->get('templating.help...')
#2 /home/vaino/myMautic.com/public_html/app/bundles/CoreBundle/Templating/Twig/Extension/AssetExtension.php(28): MauticCoreBundleFactoryMauticFactory->getHelper('template.assets')
#3 /home/vaino/myMautic.com/public_html/app/cache/prod/appProdProjectContainer.php(2824): MauticCoreBundleTemplatingTwigExtensionAssetExtension->__construct(Object(MauticCoreBundleFactoryMauticFac" while reading response header from upstream, client: 77.53.176.88, server: mautic2.digitizeordie.se, request: "GET /app/bundles/CoreBundle/Assets/js/libraries/ckeditor/filemanager/connectors/php/filemanager.php?path=%2F&mode=getfolder&showThumbs=true&time=284&type=Images HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm-vaino.sock:", host: "mautic2.digitizeordie.se:81", referrer: "http://mautic2.digitizeordie.se:81/app/bundles/CoreBundle/Assets/js/libraries/ckeditor/filemanager/index.html?type=Images&CKEditor=page_customHtml&CKEditorFuncNum=1&langCode=en"
2016/04/10 15:30:26 [error] 10128#0: *10916 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught exception 'SymfonyComponentDependencyInjectionExceptionInactiveScopeException' with message 'You cannot create a service ("templating.helper.assets") of an inactive scope ("request").' in /home/vaino/myMautic.com/public_html/app/cache/prod/appProdProjectContainer.php:2765
Stack trace:
#0 /home/vaino/myMautic.com/public_html/app/bootstrap.php.cache(2125): appProdProjectContainer->getTemplating_Helper_AssetsService()
#1 /home/vaino/myMautic.com/public_html/app/bundles/CoreBundle/Factory/MauticFactory.php(749): SymfonyComponentDependencyInjectionContainer->get('templating.help...')
#2 /home/vaino/myMautic.com/public_html/app/bundles/CoreBundle/Templating/Twig/Extension/AssetExtension.php(28): MauticCoreBundleFactoryMauticFactory->getHelper('template.assets')
2016/04/10 15:30:26 [error] 10128#0: *10914 FastCGI sent in stderr: "PHP message
: PHP Fatal error: Uncaught exception 'SymfonyComponentDependencyInjectionEx
ceptionInactiveScopeException' with message 'You cannot create a service ("temp
lating.helper.assets") of an inactive scope ("request").' in /home/vaino/myMauti
c.com/public_html/app/cache/prod/appProdProjectContainer.php:2765
Stack trace:
#0 /home/vaino/myMautic.com/public_html/app/bootstrap.php.cache(2125): appProdProjectContainer->getTemplating_Helper_AssetsService()
#1 /home/vaino/myMautic.com/public_html/app/bundles/CoreBundle/Factory/MauticFactory.php(749): SymfonyComponentDependencyInjectionContainer->get('templating.help...')
#2 /home/vaino/myMautic.com/public_html/app/bundles/CoreBundle/Templating/Twig/Extension/AssetExtension.php(28): MauticCoreBundleFactoryMauticFactory->getHelper('template.assets')
#3 /home/vaino/myMautic.com/public_html/app/cache/prod/appProdProjectContainer.php(2824): MauticCoreBundleTemplatingTwigExtensionAssetExtension->__construct(Object(MauticCoreBundleFactoryMauticFac" while reading response header from upstream, client: 77.53.176.88, server: mautic2.digitizeordie.se, request: "GET /app/bundles/CoreBundle/Assets/js/libraries/ckeditor/filemanager/connectors/php/filemanager.php?path=%2F&mode=getfolder&showThumbs=true&time=284&type=Images HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm-vaino.sock:", host: "mautic2.digitizeordie.se:81", referrer: "http://mautic2.digitizeordie.se:81/app/bundles/CoreBundle/Assets/js/libraries/ckeditor/filemanager/index.html?type=Images&CKEditor=page_customHtml&CKEditorFuncNum=1&langCode=en"
2016/04/10 15:30:26 [error] 10128#0: *10916 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught exception 'SymfonyComponentDependencyInjectionExceptionInactiveScopeException' with message 'You cannot create a service ("templating.helper.assets") of an inactive scope ("request").' in /home/vaino/myMautic.com/public_html/app/cache/prod/appProdProjectContainer.php:2765
Stack trace:
#0 /home/vaino/myMautic.com/public_html/app/bootstrap.php.cache(2125): appProdProjectContainer->getTemplating_Helper_AssetsService()
#1 /home/vaino/myMautic.com/public_html/app/bundles/CoreBundle/Factory/MauticFactory.php(749): SymfonyComponentDependencyInjectionContainer->get('templating.help...')
#2 /home/vaino/myMautic.com/public_html/app/bundles/CoreBundle/Templating/Twig/Extension/AssetExtension.php(28): MauticCoreBundleFactoryMauticFactory->getHelper('template.assets')
#3 /home/vaino/myMautic.com/public_html/app/cache/prod/appProdProjectContainer.php(2824): MauticCoreBundleTemplatingTwigExtensionAssetExtension->__construct(Object(MauticCoreBundleFactoryMauticFac" while reading response header from upstream, client: 77.53.176.88, server: mautic2.digitizeordie.se, request: "GET /app/bundles/CoreBundle/Assets/js/libraries/ckeditor/filemanager/connectors/php/filemanager.php?path=%2F&mode=getfolder&showThumbs=true&time=308&type=Images HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm-vaino.sock:", host: "mautic2.digitizeordie.se:81", referrer: "http://mautic2.digitizeordie.se:81/app/bundles/CoreBundle/Assets/js/libraries/ckeditor/filemanager/index.html?type=Images&CKEditor=page_customHtml&CKEditorFuncNum=1&langCode=en"
I’ve installed Mautic on my own server and everything seemed to be working fine. I’ve created custom email templates and was building an email from a template when the file manager stopped loading.
I click in the email template ‘slot’ field, select the image icon to load the image properties dialogue, click the Browse Server button and the file manager TRIES to open but won’t. I get a blank window with the spinning pinwheel. I’ve tried from multiple browsers and multiple computers with the same outcome. Any ideas?