First time here? Check out the FAQ!
1

CSRF verification failed. Request aborted.

  • retag add tags

Hello everyone, i have a problem with my askbot installation. After installing it and setting cookie domain to proper address, i'm getting CSRF verification failed. Request aborted. error when trying to accomplish things like logging-in [as admin] or trying to login with any OpenID provider. The only uncommon thing about my installation is that i'm using hosts file to set my website address.

Have you any clues or advices what should i check or change? Thanks in advance!

mbajur's avatar
11
mbajur
asked 2012-03-08 12:58:18 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

0

There already is a question like this http://askbot.org/en/question/3211/create-admin-user-error-csrf-verification-failed please take a look.

Evgeny's avatar
13.2k
Evgeny
answered 2012-03-08 13:37:39 -0500
edit flag offensive 0 remove flag delete link

Comments

yes i know, i've seen any CSRF error releated question here but i still can't figure it out.

mbajur's avatar mbajur (2012-03-08 13:42:30 -0500) edit

If you post contents of your settings.py file I might be able to help.

Evgeny's avatar Evgeny (2012-03-08 17:21:08 -0500) edit
add a comment see more comments
0

This error occurs when you use django version 1.4 or from repository. If you are using django stable version 1.3 series then you should not get this error.

Try to install django stable version, you should not get this error.

Incheon's avatar
11
Incheon
answered 2012-03-08 21:23:17 -0500
edit flag offensive 0 remove flag delete link

Comments

We did not yet test Django 1.4 but it seems that soon we will have to as it may be released this spring/summer.

Evgeny's avatar Evgeny (2012-03-10 13:46:59 -0500) edit
add a comment see more comments