Cookie Problem in Django admin

Cookie Problem in Django admin

I recently setup a new Server, I was having trouble logging into the django admin. It kept telling me I didn't have cookies enabled. The problem, it turns out, was a conflict between php5 and mod_python.

The temporary solution to this is to disable 'mhash' in your php.ini, then restart apache.

I think a bug has been opened with Ubuntu on this and hopefully it will be sorted out shortly.

Posted on May 20, 2007
Tags: Django, Python

Comments

1

James commented, on October 15, 2007 at 5:43 p.m.:

Hello,

I'm getting this error but I don't have mhash anywhere in /etc/php5/apache2/php.ini... any ideas?

Thanks,
James

2

James commented, on October 15, 2007 at 5:46 p.m.:

Doh, found it in conf.d :)

3

macdet commented, on June 28, 2008 at 10:29 a.m.:

Wau, i looked for that such a long time!

You make my D-Day :) Thanks!

http://wiki.mobbing-gegner.de/Python/...

Post a comment

Your name:

Comment: