Askbot installation error Column 'session_key' cannot be null"

Hi,

I am doing a new deployment of Askbot by cloning AskBot Gitgub (ASKBOT/askbot-devel.git) and following installation instructions at askbot.org/doc

I tried two installs one with mysql and one with db.sqlite3. "Allow asking without registration" is set to false. Both times, I started server using runserver and tried to post a question without logging in. Both times I get the error session_key' cannot be null. It did not take me to signup page. Upon investigation, it seems that for table anonymous_question, session key is not set in the code and hence this validation is failing. How do I fix this problem?

Error : With MySql: (1048,Column 'session_key' cannot be null") With sqlite3: NOT NULL constraint failed: askbot_anonymousquestion.session_key

How do I fix this problem?

rgovind's avatar
11
rgovind
asked 2016-03-08 00:57:21 -0600
Evgeny's avatar
13.2k
Evgeny
updated 2016-03-09 06:00:54 -0600
edit flag offensive 0 remove flag close merge delete

Comments

No one has an answer?

rgovind's avatar rgovind (2016-03-23 16:40:02 -0600) edit

I am also facing the same problem please reply at the earliest

spbraju's avatar spbraju (2016-05-30 05:51:56 -0600) edit

Please include the version you're facing this issue with, also - have you customized anything in the settings file?

Evgeny's avatar Evgeny (2016-06-15 05:52:36 -0600) edit
add a comment see more comments