Re: Cookie problem

2008-09-30 Thread Álvaro Justen

I was with this bug but now it's corrected. Please see:
http://groups.google.com/group/django-users/browse_thread/thread/676a90769fe2aec9?pli=1

--
 Cheers,
  Álvaro Justen
  Debian GNU/Linux user
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Django on Apache (mod_python) administration cookie problem

2008-09-30 Thread Álvaro Justen

Ah, some details:
-> Admin interface runs OK with python manage.py runserver - as of it
is an Apache error, Django's web server isn't affected by this bug.
-> I'm using Debian etch as server: I've installed Apache, PHP and
mod_php with Debian packages, but Django installed manually.
-> Versions:
  * Apache: Server version: Apache/2.2.3
Server built:   Mar 22 2008 09:29:10
  * PHP: PHP 5.2.0-8+etch11 (cli) (built: May 10 2008 10:46:24)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2006 Zend Technologies
  * Django: 1.0-final-SVN-unknown

--
 Cheers,
  Álvaro Justen
  Debian GNU/Linux user
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Django on Apache (mod_python) administration cookie problem

2008-09-30 Thread Álvaro Justen

Daniel bodom_lx Graziotin wrote:
> Hi everybody! I'm a new Django developer and for learning the
> framework I decided to create (another) pastebin clone that I
> published on http://incollo.com
> The application works very well and I'm very proud of it because I
> started learning Django six days ago :-)
> Anyway..
> I'm having problems in accessing the Django administration panel,
> which works perfectly with the development built-in webserver.
> This is what I receive when I try to login:
> ---
> Looks like your browser isn't configured to accept cookies. Please
> enable cookies, reload this page, and try again.
> ---
> It makes me think that this is a Apache + mod_python related
> problem..The Django application works..The media directory for admin
> is correctly served (I created a media-admin directory and copied in
> it the content django/contrib/admin/media
>
> Any help? Thank you very much

Hello,
I was with the same error and romke in [EMAIL PROTECTED] helped
me to solve this problem.
The solution is to disable mhash in PHP (or other mod_* that uses
this). To do this, comment the line that enable mhash extension in
your php.ini - in my caseI edited /etc/php5/conf.d/mhash.ini (I use
Debian).

I found this information in: 
http://blog.foozia.com/blog/2007/may/20/cookie-problem-django-admin/

--
 Cheers,
  Álvaro Justen
  Debian GNU/Linux user

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---