mChat

Unable to generate a URL for the named route "dmzx_mchat_pag - mChat

Unable to generate a URL for the named route "dmzx_mchat_pag

by noth » Sun Jun 11, 2017 9:08 am

just installed this ext

Code: Select all

Fatal error: Uncaught exception 'Symfony\Component\Routing\Exception\RouteNotFoundException' with message 'Unable to generate a URL for the named route "dmzx_mchat_page_custom_controller" as such route does not exist.' in /home/ntmaster/nationaltraffic.co.uk/cache/production/url_generator.php:55 Stack trace: #0 /home/ntmaster/nationaltraffic.co.uk/phpbb/routing/router.php(168): phpbb_url_generator->generate('dmzx_mchat_page...', Array, 1) #1 /home/ntmaster/nationaltraffic.co.uk/phpbb/routing/helper.php(148): phpbb\routing\router->generate('dmzx_mchat_page...', Array, 1) #2 /home/ntmaster/nationaltraffic.co.uk/phpbb/controller/helper.php(114): phpbb\routing\helper->route('dmzx_mchat_page...', Array, true, false, 1) #3 /home/ntmaster/nationaltraffic.co.uk/ext/dmzx/mchat/core/mchat.php(817): phpbb\controller\helper->route('dmzx_mchat_page...') #4 /home/ntmaster/nationaltraffic.co.uk/ext/dmzx/mchat/core/mchat.php(157): dmzx\mchat\core\mchat->render_page('index') #5 /home/ntmaster/nationaltraffic.co.uk/ext/dmzx/mchat/event/mai in /home/ntmaster/nationaltraffic.co.uk/cache/production/url_generator.php on line 55
went onto the index page, this comes up

I have to disable the ext to actually get onto my index page :o
UK planning forums got a planning application in the UK?
User avatar
noth
Registered User
Posts: 2439
Joined: Fri Jan 07, 2005 7:10 pm
Location: North Surrey
Contact:

Re: Unable to generate a URL for the named route "dmzx_mchat

by kasimi » Sun Jun 11, 2017 9:30 am

Your routing.yml file looks fine. Delete all files in your cache folder except for index.html and .htaccess.
User avatar
kasimi
Extension Customisations
Extension Customisations
Posts: 2457
Joined: Sat Sep 10, 2011 7:12 pm
Location: Germany
Contact:

Re: Unable to generate a URL for the named route "dmzx_mchat

by noth » Sun Jun 11, 2017 10:46 am

cheers, works fine after that

blimmin GORGEOUS!!
UK planning forums got a planning application in the UK?
User avatar
noth
Registered User
Posts: 2439
Joined: Fri Jan 07, 2005 7:10 pm
Location: North Surrey
Contact:

Re: Unable to generate a URL for the named route "dmzx_mchat

by Cable Player » Fri Nov 17, 2017 7:09 pm

Hi, I had the same issue (which was also fixed by clearing the cache via FTP). It seems to happen when enabling the extension. Is there a way to prevent this from happening? Thanks
Cable Player
Registered User
Posts: 516
Joined: Thu Feb 03, 2011 4:45 pm
Location: Hampshire, England
Contact: