same prob reported here, I am running into it as well.

Comments

gapple’s picture

Status: Active » Closed (duplicate)
shashank5563’s picture

Version: 6.x-1.1 » 7.x-3.9
Assigned: Unassigned » shashank5563
Issue summary: View changes

I 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

shashank5563’s picture

Status: Closed (duplicate) » Needs work
joachim’s picture

Status: Needs work » Postponed (maintainer needs more info)

No idea -- is there any more detail in the log? can you debug?

shashank5563’s picture

Yes, I am debug but not found any errors in log.

joachim’s picture

You'll need to debug the code that checks the token on the link.

shashank5563’s picture

Ok, I will try.

socialnicheguru’s picture

I have this too.
I am using the flag field it in a panelizer.

shashank5563’s picture

Hi,
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.

shashank5563’s picture

Hi,
My issue has been resolved after updating php version 5.6 into 7.

shashank5563’s picture

Status: Postponed (maintainer needs more info) » Fixed

Hi,
The issue has been resolved after updating php version 5.6 into 7.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

ivnish’s picture

Assigned: shashank5563 » Unassigned