Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I get the following message when accessing pages with the meta tag shortlink in the headers :
Excluded: Not invoked using an allowed front controller.
The error is generated by :
https://dev-ent.univ-nc.nc/authcache.php?a=&r=frag/menu-local-tabs&o[q]=...
which seems to relate to the following tag in the header of the page :
<link rel="shortlink" href="/node/68">
The route to menu-local-tabs exists :
frag/menu-local-tabs AuthcacheP13nDefaultRequestHandler AuthcacheP13nDefaultRequestUrlGenerator
How do I get rid of this message ?
Thanks.
Seb
Comments
Comment #1
sebnoumea CreditAttribution: sebnoumea commentedComment #2
sebnoumea CreditAttribution: sebnoumea commentedAfter deactivating authcache_menu module, the message disappears for menu-local-tabs.
BUT, whenever I have a block configured for authcache I get the same error :
Again the route exists :
The debug message (green) :
What am I doing wrong ?
Comment #3
sebnoumea CreditAttribution: sebnoumea commentedWell after deactivating authcache_menu I get :
Comment #4
znerol CreditAttribution: znerol commentedThanks for the report. This is a bit complicated to explain but I think you did your setup 100% correct, but then you did hit a bug with Authcache Debug and that probably did lead to unproductive experimentation. Sorry for that.
In short, what happens is that Authcache Debug logs a false negative. It means that the message Excluded: Not invoked using an allowed front controller. for the
authcache.php
URL is spurious, and should not be logged at all. I've opened a separate bug report for that issue: #2417707: Authcache Debug logs spurious messages for the personalized fragments front controller, you may choose to follow that.Just reactivate Authcache Menu again. The best way to examine whether a page is served from the cache is to examine the HTTP response header
X-Drupal-Cache
. It either saysHIT
orMISS
.Comment #5
znerol CreditAttribution: znerol commentedPatch mentioned in #4 landed.