Ask Your Question
1

CSRF verification failed. Request aborted.

asked 2012-03-08 12:58:18 -0600

mbajur gravatar image

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!

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2012-03-08 13:37:39 -0600

Evgeny gravatar image

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

edit flag offensive delete link more

Comments

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

mbajur gravatar imagembajur ( 2012-03-08 13:42:30 -0600 )edit

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

Evgeny gravatar imageEvgeny ( 2012-03-08 17:21:08 -0600 )edit
0

answered 2012-03-08 21:23:17 -0600

Incheon gravatar image

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.

edit flag offensive delete link more

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 gravatar imageEvgeny ( 2012-03-10 13:46:59 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2012-03-08 12:58:18 -0600

Seen: 1,318 times

Last updated: Mar 08 '12