zikula-modules / DizkusModule

Official repository for Dizkus, a fully integrated forum solution for Zikula 1.4+
21 stars 7 forks source link

Error when installing Dizkus #244

Open ghost opened 10 years ago

ghost commented 10 years ago

I'm trying to install Dizkus (Zikula build 150) but I get the following error: ContextErrorException: User Warning: Smarty error: img: Image 'icons/small/folder_new.png' not found in /var/www/vhosts/.../httpdocs/newsite/vendor/drak/smarty/Smarty/Smarty.class.php line 1094 Thoughts?

ghost commented 10 years ago

The full error:

ContextErrorException: User Warning: Smarty error: img: Image 'icons/small/folder_new.png' not found in /var/www/vhosts/.../httpdocs/newsite/vendor/drak/smarty/Smarty/Smarty.class.php line 1094

in /var/www/vhosts/.../httpdocs/newsite/vendor/drak/smarty/Smarty/Smarty.class.php line 1094
at ErrorHandler->handle('512', 'Smarty error: img: Image 'icons/small/folder_new.png' not found', '/var/www/vhosts/.../httpdocs/newsite/vendor/drak/smarty/Smarty/Smarty.class.php', '1094', array('error_msg' => 'img: Image 'icons/small/folder_new.png' not found', 'error_type' => '512', 'msg' => 'img: Image 'icons/small/folder_new.png' not found'))
at trigger_error('Smarty error: img: Image 'icons/small/folder_new.png' not found', '512') in /var/www/vhosts/.../httpdocs/newsite/vendor/drak/smarty/Smarty/Smarty.class.php line 1094
at Smarty->trigger_error('img: Image 'icons/small/folder_new.png' not found') in /var/www/vhosts/.../httpdocs/newsite/lib/legacy/viewplugins/function.img.php line 203
at smarty_function_img(array('modname' => 'core', 'src' => 'folder_new.png', 'set' => 'icons/small', 'alt' => 'Install'), object(Zikula_View)) in /var/www/vhosts/.../httpdocs/newsite/app/cache/dev/ztemp/view_compiled/Zikula/Module/ExtensionsModule/Admin/initialise--t_Zikula/Theme/Andreas08Theme-l_en.php line 8
at include('/var/www/vhosts/.../httpdocs/newsite/app/cache/dev/ztemp/view_compiled/Zikula/Module/ExtensionsModule/Admin/initialise--t_Zikula/Theme/Andreas08Theme-l_en.php') in /var/www/vhosts/.../httpdocs/newsite/lib/legacy/Zikula/View.php line 2960
at Zikula_View->_fetch('Admin/initialise.tpl', '', '', false) in /var/www/vhosts/.../httpdocs/newsite/lib/legacy/Zikula/View.php line 763
at Zikula_View->fetch('Admin/initialise.tpl') in /var/www/vhosts/.../httpdocs/newsite/system/Zikula/Module/ExtensionsModule/Controller/AdminController.php line 543
at AdminController->initialiseAction()
at call_user_func_array(array(object(AdminController), 'initialiseAction'), array()) in /var/www/vhosts/.../httpdocs/newsite/lib/util/ModUtil.php line 1151
at ModUtil::exec('ZikulaExtensionsModule', 'admin', 'initialise', array(), false, null) in /var/www/vhosts/.../httpdocs/newsite/lib/util/ModUtil.php line 1203
at ModUtil::func('ZikulaExtensionsModule', 'admin', 'initialise') in /var/www/vhosts/.../httpdocs/newsite/lib/Zikula/Bundle/CoreBundle/EventListener/LegacyRouteListener.php line 116
at LegacyRouteListener->onKernelRequest(object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher))
at call_user_func(array(object(LegacyRouteListener), 'onKernelRequest'), object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher)) in /var/www/vhosts/.../httpdocs/newsite/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php line 388
at Symfony\Component\HttpKernel\Debug\{closure}(object(GetResponseEvent), 'kernel.request', object(Zikula_EventManager))
at call_user_func(object(Closure), object(GetResponseEvent), 'kernel.request', object(Zikula_EventManager)) in /var/www/vhosts/.../httpdocs/newsite/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php line 164
at EventDispatcher->doDispatch(array(object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure)), 'kernel.request', object(GetResponseEvent)) in /var/www/vhosts/.../httpdocs/newsite/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php line 53
at EventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) in /var/www/vhosts/.../httpdocs/newsite/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php line 167
at ContainerAwareEventDispatcher->dispatch('kernel.request', object(GetResponseEvent), null) in /var/www/vhosts/.../httpdocs/newsite/lib/legacy/Zikula/EventManager.php line 99
at Zikula_EventManager->dispatch('kernel.request', object(GetResponseEvent)) in /var/www/vhosts/.../httpdocs/newsite/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php line 138
at TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) in /var/www/vhosts/.../httpdocs/newsite/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 107
at HttpKernel->handleRaw(object(Zikula_Request_Http), '1') in /var/www/vhosts/.../httpdocs/newsite/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 66
at HttpKernel->handle(object(Zikula_Request_Http), '1', true) in /var/www/vhosts/.../httpdocs/newsite/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php line 64
at ContainerAwareHttpKernel->handle(object(Zikula_Request_Http), '1', true) in /var/www/vhosts/.../httpdocs/newsite/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php line 185
at Kernel->handle(object(Zikula_Request_Http)) in /var/www/vhosts/.../httpdocs/newsite/index.php line 21
craigh commented 10 years ago

I cannot reproduce this error locally. I had some similar issues when I was upgrading the zikula.org site. I remember having to compensate for a similar error, but cannot now remember exactly what the problem was (again this was an upgrade, not install).

Did you experience this error immediately after hitting the install button or after clicking the 'accept' button on the dependencies page?

@cmfcmf do you have any ideas on this? It seems like a very odd error because it is failing to find a core icon that is certainly present.

cmfcmf commented 10 years ago

I just installed Dizkus in my dev-setup without problems :/

ghost commented 10 years ago

It happens when I click on the 'Install ZikulaDizkusModule' button. Where would I find the Dependencies page?

craigh commented 10 years ago

you must already have Akismet installed or it would alert you to the dependency. Or more likely, there is a problem in exactly that spot

ghost commented 10 years ago

I uninstalled Akismet and then tried installing Dizkus with the same results.