National Flags

Issue using memcached.php - National Flags

Issue using memcached.php

by wrkalot » Sun Oct 22, 2017 11:29 am

phpBB 3.1.9
php 5.6
National Flags 2.1.2
using memcached.php

This only happens when enabling memcached. Using file or redis and there is no error. Disabling National Flags and everything works as it should
Fatal error: Uncaught exception 'Symfony\Component\Routing\Exception\InvalidParameterException' with message 'Parameter "flag_id" for route "rmcgirr83_nationalflags_getflags" must match "[^/]++" ("" given) to generate a corresponding URL.' in /home/site/public_html/vendor/symfony/routing/Symfony/Component/Routing/Generator/UrlGenerator.php:163 Stack trace: #0 /home/site/public_html/vendor/symfony/routing/Symfony/Component/Routing/Generator/UrlGenerator.php(136): Symfony\Component\Routing\Generator\UrlGenerator->doGenerate(Array, Array, Array, Array, Array, 'rmcgirr83_natio...', false, Array) #1 /home/site/public_html/phpbb/controller/helper.php(188): Symfony\Component\Routing\Generator\UrlGenerator->generate('rmcgirr83_natio...', Array, false) #2 /home/site/public_html/ext/rmcgirr83/nationalflags/core/nationalflags.php(220): phpbb\controller\helper->route('rmcgirr83_natio...', Array) #3 /home/site/public_html/ext/rmcgirr83/nationalflags/event/listener.php(167): r in /home/site/public_html/vendor/symfony/routing/Symfony/Component/Routing/Generator/UrlGenerator.php on line 163
Tutorial: How to add ads to your forum viewtopic.php?f=64&t=2417316
wrkalot
Registered User
Posts: 108
Joined: Tue Oct 02, 2012 10:07 pm

Re: Issue using memcached.php

by wrkalot » Mon Oct 23, 2017 10:38 am

Looks to be the same on NF v 2.1.3
Fatal error: Uncaught exception 'Symfony\Component\Routing\Exception\InvalidParameterException' with message 'Parameter "flag_id" for route "rmcgirr83_nationalflags_getflags" must match "[^/]++" ("" given) to generate a corresponding URL.' in /home/site/public_html/vendor/symfony/routing/Symfony/Component/Routing/Generator/UrlGenerator.php:163 Stack trace: #0 /home/site/public_html/vendor/symfony/routing/Symfony/Component/Routing/Generator/UrlGenerator.php(136): Symfony\Component\Routing\Generator\UrlGenerator->doGenerate(Array, Array, Array, Array, Array, 'rmcgirr83_natio...', false, Array) #1 /home/site/public_html/phpbb/controller/helper.php(188): Symfony\Component\Routing\Generator\UrlGenerator->generate('rmcgirr83_natio...', Array, false) #2 /home/site/public_html/ext/rmcgirr83/nationalflags/core/nationalflags.php(220): phpbb\controller\helper->route('rmcgirr83_natio...', Array) #3 /home/site/public_html/ext/rmcgirr83/nationalflags/event/listener.php(167): r in /home/site/public_html/vendor/symfony/routing/Symfony/Component/Routing/Generator/UrlGenerator.php on line 163
Tutorial: How to add ads to your forum viewtopic.php?f=64&t=2417316
wrkalot
Registered User
Posts: 108
Joined: Tue Oct 02, 2012 10:07 pm

Re: Issue using memcached.php

by RMcGirr83 » Mon Oct 23, 2017 12:27 pm

Is this on the index page or where? Try purging the cache as the flags are cached or remove the data_user_flags file from the cache.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
RMcGirr83
Former Team Member
Posts: 22105
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Issue using memcached.php

by wrkalot » Sun Nov 05, 2017 11:45 am

Everywhere but the acp. I was also getting an ajax error when submitting a new post so I ended up going back to file for the cache for now. FYI, purging the cache had no effect.
Tutorial: How to add ads to your forum viewtopic.php?f=64&t=2417316
wrkalot
Registered User
Posts: 108
Joined: Tue Oct 02, 2012 10:07 pm