Closed (fixed)
Project:
Flag
Version:
7.x-3.9
Component:
Flag core
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Dec 2009 at 17:56 UTC
Updated:
19 Sep 2025 at 10:59 UTC
Jump to comment: Most recent
same prob reported here, I am running into it as well.
Comments
Comment #1
gappleduplicate of #512818: Flag: "Bad token" message
Comment #2
shashank5563 commentedI just installed the flag module and when I click on any flag link I get the next error message:
"Bad token. You seem to have followed an invalid link."
and an access denied.
How can I fix it? Is it something I forgot to configure? Does it has to be with the Token Module?
thanks in advance
Comment #3
shashank5563 commentedComment #4
joachim commentedNo idea -- is there any more detail in the log? can you debug?
Comment #5
shashank5563 commentedYes, I am debug but not found any errors in log.
Comment #6
joachim commentedYou'll need to debug the code that checks the token on the link.
Comment #7
shashank5563 commentedOk, I will try.
Comment #8
socialnicheguru commentedI have this too.
I am using the flag field it in a panelizer.
Comment #9
shashank5563 commentedHi,
This is to inform you that when we tried to debug the code as per the instructions given by your end, we found that we get tokens. But when we try to get that token at flag.page.inc, it gets changed. This makes the former token invalid.
We also updated the Drupal version to the latest one. Still, the issue is not getting resolved.
Comment #10
shashank5563 commentedHi,
My issue has been resolved after updating php version 5.6 into 7.
Comment #11
shashank5563 commentedHi,
The issue has been resolved after updating php version 5.6 into 7.
Comment #13
ivnish