Jump to content
Lord_Chris

"Incorrect cross site request forgery token"

Recommended Posts

Anyone else getting these errors lately? "Incorrect cross request forgery token".


Quote

The fields have eyes, and the woods have ears.

⁠— Geoffrey Chaucer, The Canterbury Tales: The Knight's Tale

Useful Articles

Share this post


Link to post
Share on other sites

It's been happening a lot for me. I'm guessing it's something to do with the fact I'm logged in twice. Are either of you when this happens?


Quote

The fields have eyes, and the woods have ears.

⁠— Geoffrey Chaucer, The Canterbury Tales: The Knight's Tale

Useful Articles

Share this post


Link to post
Share on other sites

Seems to be a pretty common error..... I'll take a look at it.


Quote

The fields have eyes, and the woods have ears.

⁠— Geoffrey Chaucer, The Canterbury Tales: The Knight's Tale

Useful Articles

Share this post


Link to post
Share on other sites

And in case that it's simply about forum software, how easy would it be to migrate the forum into a more modern one? That might be a way to "fix" nite "issues", including not having a mobile friendly theme, and the ability to enable Tapatalk.

Share this post


Link to post
Share on other sites
Seems to be a pretty common error..... I'll take a look at it.

Should mention I'm only ever logged in on one device with one tab open, so I doubt it's an issue with syncing to multiple devices with the same IP address. Then again I do have NAT issues on my network.


Mqb938i.png

Do you crave a life of adventure? Check out our Adventures in the Duchy of Riverborne and apply here to join the action!

Share this post


Link to post
Share on other sites

Hmm. Whatever the issue, we'll be refactoring CSRF tokens in the next release so it should be fixed. I can't provide a time limit folks though, I'm afraid. Probably a couple months I should think.


Quote

The fields have eyes, and the woods have ears.

⁠— Geoffrey Chaucer, The Canterbury Tales: The Knight's Tale

Useful Articles

Share this post


Link to post
Share on other sites

Anyone still getting this error?


Quote

The fields have eyes, and the woods have ears.

⁠— Geoffrey Chaucer, The Canterbury Tales: The Knight's Tale

Useful Articles

Share this post


Link to post
Share on other sites

I think I got this error yesterday. In the Warlords thread I made a mistake when writing the url bbcode, and I was unable to fix it due to errors. I think it's the same error. I wanted to let you know about it, but now I see that the bad bbcode had been fixed (by someone :) ).

 

Now I suppose that you have fixed done both - fixed my bbcode, and found the error? :)

Share this post


Link to post
Share on other sites

Yes it was me who fixed the code when I viewed the thread :)

 

The error itself I noticed generally when posting....... I honestly thought it had gone again. Hmmm .......


Quote

The fields have eyes, and the woods have ears.

⁠— Geoffrey Chaucer, The Canterbury Tales: The Knight's Tale

Useful Articles

Share this post


Link to post
Share on other sites

I saw the error:

 

"Incorrect cross site request forgery token sent. You were referred to this page from an unauthorised source. If the issue persists please ensure that you are navigating around the forum by using the correct URL."

 

right now. But last time when it happened, when I was trying to fix my message, it we worse. Refreshing wasn't helping at all. That's the one post you fixed. But something like that hasn't happened to me ever since. :)

Edited by EaglePrince

Share this post


Link to post
Share on other sites

Seems like the problem persists! I had problems registering today, and when uploading a scenario I got the error message mentioned above. So tried uploading a second time, and then I'm told that there's already a submission by that name. Very confusing!

 

When submitting this text I got the error message "Incorrect cross site request forgery token sent. You were referred to this page from an unauthorised source. If the issue persists please ensure that you are navigating around the forum by using the correct URL."

Share this post


Link to post
Share on other sites

Sorry to hear you're having this problem. Could you try re-uploading your file now please, but under a different name? I will edit your submission and rename it once approved.

 

Let me know how it goes and I'll try to fix this as soon as possible for you. If the problem persists, you can always email it to me and I can upload it for you- lordchris [at] strongholdnation [dot] co [dot] uk


Quote

The fields have eyes, and the woods have ears.

⁠— Geoffrey Chaucer, The Canterbury Tales: The Knight's Tale

Useful Articles

Share this post


Link to post
Share on other sites

Tried to submit the scenario "Desert Breeze" again, but under the name "Desert Breeze2". Got the following error message:

 

"Server Error

The server encountered an internal error or misconfiguration, we've been unable to display the page you requested.

 

We apologise for the inconvenience this may have caused, use the link below to try again, alternatively you can return to the board index.

 

Errno [] Missing argument 3 for email\parser::parse_email(), called in /home/stroivug/public_html/include/SHN/downloads/submission.php on line 312 and defined in include/classes/email/parser.php on line 14

 

Back to the indexTry again"

 

I then tried again and got the following message:

 

"Submission Errors:

 

The following errors must be corrected:

Another file already has this name.

The uploaded preview already exists.

Please go back and correct these errors."

 

What do I do now???

Share this post


Link to post
Share on other sites

Typical, the last point it could fail on! I've fixed this now & verified that it's working. I sincerely apologise for the delay in you being able to upload your file!


Quote

The fields have eyes, and the woods have ears.

⁠— Geoffrey Chaucer, The Canterbury Tales: The Knight's Tale

Useful Articles

Share this post


Link to post
Share on other sites

Got this famous error while trying to post a comment at the new Stronghold Crusader scenario, Desert Breeze. :( Didn't manage to post the comment at all I'm the end.

 

One side note. I have noticed that with this new forum theme which is mobile friendly there is no link for the Downloads Central. Or I might be missing something... :)

Edited by EaglePrince

Share this post


Link to post
Share on other sites

Thanks for letting me know. I'll take a look at this for you. In the meantime, does it work if you try now?

 

Also I removed the extra links as in subforums. Unless I've misunderstood what you meant- could you post a screenshot so I can compare between themes?


Quote

The fields have eyes, and the woods have ears.

⁠— Geoffrey Chaucer, The Canterbury Tales: The Knight's Tale

Useful Articles

Share this post


Link to post
Share on other sites

I tried it now again to post a comment at Desert Breeze map. In Google Chrome on my phone I get the server error, while in Opera I get the incorrect cross site request error.

 

I wanted to say that it would be nice if there were some link directly from the forum to the Downloads Central. A link in the hamburger menu would also do the job well. I mean, right now I don't see any direct link.

Share this post


Link to post
Share on other sites

That's an excellent idea about the additional link. I've added it in now :)

 

As far as the server error goes in Chrome (which is very strange I agree), do you have any idea what the actual error was? This could be very important in helping me fix this ongoing issue.


Quote

The fields have eyes, and the woods have ears.

⁠— Geoffrey Chaucer, The Canterbury Tales: The Knight's Tale

Useful Articles

Share this post


Link to post
Share on other sites

I am sorry for writing a reply about this so late.

 

This is one of the errors.

 

Server Error

 

The server encountered an internal error or misconfiguration, we've been unable to display the page you requested.

 

We apologize for the inconvenience this may have caused, use the link below to try again, alternatively you can return to the board index.

 

Erno [2]

require(/home/stroivug/public_html/include/failed to open stream: No such file or directory in home/strouivug/public_html/app/registry.php on line 42)

 

And the other one is:

 

Incorrect cross site request forgery token sent. You were referred to this page from an unauthorised source. If the issue persists please unsure that you are navigating around the forum by using the correct URL.

 

All this I typed manually now, from the screenshot. I hope I haven't misspelled anything.

Share this post


Link to post
Share on other sites

I've noticed another server error. When I followed your link:

 

https://forums.strongholdnation.co.uk/help/#bbcode

 

Also, below this box in which I type this post, there are links: BBCode: on URL tag: on IMG tag: on Smilies: on. When I click on them, I get the server server error.

SERVER ERROR

The server encountered an internal error or misconfiguration, we've been unable to display the page you requested.

 

We apologise for the inconvenience this may have caused, use the link below to try again, alternatively you can return to the board index.

 

Errno [1] Class 'message\parser' not found in include/applications/forums/public/modules/board/help.php on line 30

Back to index Try again

Contact server administrator

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Topics

    • Site Downloads Renovation

      I'm pleased to announce that after a small (and complex) renovation, the site downloads section is now back online and running as usual. You can now submit your files to us again. Not much has visually changed, however there have been massive changes behind the scenes that have taken many hours to complete. I've essentially rewritten the entire downloads section from the ground up and restructured all of the database tables, which is not easy considering it's live data. One of the major cha

      in The Town Crier

    • Small site changes

      I've recently re-coded the main site, and although there aren't any design changes, you should notice it's running faster. I've added a new menu item when you're logged in which is a link to submit to the gallery. I've also removed and combined several redundant pages.   I'm also excited to announce that there is a new feature on the site: from now on we have a page here which will show historical events and facts for whatever the current day is. As our expert historian, @Crusader1307 will be po

      in The Town Crier

    • Request: Let's make our own Skirmish Trail

      Lately for some reason I've had this urge to try a new challenge on SHC2 by playing custom skirmishes and setting up things in a way that it would look like a skirmish trail. Well, now I want to make my own skirmish trail with 7 maps but the problem is I don't have all the time to do that which is why I make this request to all map creators of the forum. I want to make this thread a discussion about what would go in the skirmishes (enemy lords, starting goods etc). What we need to make this happ

      in Stronghold Crusader 2

    • Code for Research Pack, Premium Token and 200 Card Points!

      Hey, guys! I have received an email from Firefly, they gave me a code for Research Pack, Premium Token and 200 Card Points as their newsletter subscriber, but I don't play Stronghold Kingdoms, so I decided to share it with one of you.   This is the code: 4A95-C099-33A0-EF4F To claim this code, simply log into Stronghold Kingdoms and redeem your code under 'Account Details'.   PS. If this is by any mean violating of any rules, moderators, please do remove the code and/or the entire post. In that

      in Stronghold Kingdoms

    • Tutorial perspective request

      I'm planning on making more tutorials for Stronghold Kingdoms in the near future, they'll probably just be video tutorials but we'll see how much time I have. Anyways I'd like to get the perspective of players unfamiliar with Stronghold Kingdoms, what mechanic would you like to see an in depth explanation of?

      in Stronghold Kingdoms

×
×
  • Create New...