zikula / core

Zikula Core Framework
GNU Lesser General Public License v3.0
237 stars 66 forks source link

Unable to generate a URL for the named route "zikularoutesmodule_route_view #1915

Closed phaidon closed 10 years ago

phaidon commented 10 years ago

I get the following error:

Unable to generate a URL for the named route "zikularoutesmodule_route_view" as such route does not exist.

index.php?module=routes&type=admin&func=index index.php?module=adminpanel&type=admin&func=adminpanel

Maybe it is just a update problem. @cmfcmf Do you know what coould be the problem. Otherwise I will investigate the error more and post more information.

cmfcmf commented 10 years ago

Please try calling index.php/routes/routes/reload?lct=admin&confirm=1 two times and see if the error goes away.

phaidon commented 10 years ago

Fatal error: Uncaught exception 'Symfony\Component\DependencyInjection\Exception\InvalidArgumentException' with message 'The service definition "doctrine_extensions" does not exist.' in /var/customers/webs/wuertz/plan/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/ContainerBuilder.php:873 Stack trace: #0 /var/customers/webs/wuertz/plan/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/ContainerBuilder.php(481): Symfony\Component\DependencyInjection\ContainerBuilder->getDefinition('doctrine_extens...') #1 /var/customers/webs/wuertz/plan/lib/legacy/Zikula/ServiceManager.php(117): Symfony\Component\DependencyInjection\ContainerBuilder->get('doctrine_extens...', 1) #2 /var/customers/webs/wuertz/plan/lib/util/ServiceUtil.php(95): Zikula_ServiceManager->get('doctrine_extens...') #3 /var/customers/webs/wuertz/plan/system/ZikulaRoutesModule/Base/bootstrap.php(24): ServiceUtil::get('doctrine_extens...') #4 system/ZikulaRoutesModule/bootstrap.php(24): include_once('/v in /var/customers/webs/wuertz/plan/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/ContainerBuilder.php on line 873

I will update composer tonight. Or do you have another idea.

cmfcmf commented 10 years ago

Do you have shorturls enabled? If so, disabled them (see #1858). Fix for this is pending.

phaidon commented 10 years ago

With shorturls disabled I could run index.php/routes/routes/reload?lct=admin&confirm=1

But the problem is still there

phaidon commented 10 years ago

I found the problem. The problem was that the table zikula_routes_route was empty. I guess something went wrong on a earlier update.

cmfcmf commented 10 years ago

Good to hear :+1: