Re: Django on Apache (mod_python) administration cookie problem

2008-11-04 Thread Dave Dash

I had cleared the cookies, I also tried in another browser as well -
same result.

On Nov 3, 10:50 pm, Graham Dumpleton <[EMAIL PROTECTED]>
wrote:
> On Nov 4, 5:08 pm, Dave  Dash <[EMAIL PROTECTED]> wrote:
>
> > I am witnessing this issue using manage.py runserver.
>
> > The only useful information I can give is this was working when I was
> > running .97 (or whatever was the trunk a few months back), I recently
> > upgraded to the latest trunk (~1.1) and now continually get this
> > message.
>
> > I suspect something has changed in the last few months and I missed
> > whatever it was.  I'm going to attempt to setup a dummy project and
> > try this again.
>
> > If anybody has some clue, please let me know,
>
> Clear the cookie for the application from your browser cache.
>
> Graham
>
> > Cheers,
>
> > Dave Dash
>
> > On Sep 30, 5:05 pm, Álvaro Justen <[EMAIL PROTECTED]> wrote:
>
> > > 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-11-03 Thread Graham Dumpleton



On Nov 4, 5:08 pm, Dave  Dash <[EMAIL PROTECTED]> wrote:
> I am witnessing this issue using manage.py runserver.
>
> The only useful information I can give is this was working when I was
> running .97 (or whatever was the trunk a few months back), I recently
> upgraded to the latest trunk (~1.1) and now continually get this
> message.
>
> I suspect something has changed in the last few months and I missed
> whatever it was.  I'm going to attempt to setup a dummy project and
> try this again.
>
> If anybody has some clue, please let me know,

Clear the cookie for the application from your browser cache.

Graham

> Cheers,
>
> Dave Dash
>
> On Sep 30, 5:05 pm, Álvaro Justen <[EMAIL PROTECTED]> wrote:
>
> > 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-11-03 Thread Dave Dash

I am witnessing this issue using manage.py runserver.

The only useful information I can give is this was working when I was
running .97 (or whatever was the trunk a few months back), I recently
upgraded to the latest trunk (~1.1) and now continually get this
message.

I suspect something has changed in the last few months and I missed
whatever it was.  I'm going to attempt to setup a dummy project and
try this again.

If anybody has some clue, please let me know,

Cheers,

Dave Dash

On Sep 30, 5:05 pm, Álvaro Justen <[EMAIL PROTECTED]> wrote:
> 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-10-24 Thread Graham Dumpleton



On Oct 25, 11:59 am, "M.Ganesh" <[EMAIL PROTECTED]> wrote:
> Graham,
> Option 3: I use other utilities like wordpress and phpMyAdmin, so I cannot 
> afford to disable php completely
> Option 2: I use Linux Mint (Ubuntu variant) for developement and Debian Etch 
> for production. So for option 2, I will require two sets of instructions, 
> which means more trouble for you. So let me skip that.
> Option 1: If this work around works for me, I'll get going and think of 
> better permanent solutions later
> Kindly help me on option one (disabling PHP mhash)

That one I can't help you with as know nothing about PHP. I presume
there is a configuration file for PHP somewhere you need to edit and
comment out load line for PHP mhash module.

Graham

> Thanks in advance
> Regards Ganesh
> Graham Dumpleton wrote:Disabling the PHP mhash module is only a workaround 
> even if it does work. The proper fix if it is this issue is to refresh your 
> Python 2.4 installation to get fixed version from Debian repository, or even 
> perhaps upgrade to Python 2.5 and newer mod_python version which uses Python 
> 2.5. Alternatively, disable PHP from Apache completely if you do not need it. 
> Which of the three options don't you understand and are wanting more detail 
> for? GrahamThanks in advance Regards Ganesh Daniel bodom_lx Graziotin 
> wrote:Thank you very much for your replies, Alvaro and Graham! Removing 
> php5-mhash solved the problem
--~--~-~--~~~---~--~~
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-10-24 Thread M.Ganesh





Graham,
Option 3: I use other utilities like wordpress and phpMyAdmin, so I
cannot afford to disable php completely
Option 2: I use Linux Mint (Ubuntu variant) for developement and Debian
Etch for production. So for option 2, I will require two sets of
instructions, which means more trouble for you. So let me skip that.
Option 1: If this work around works for me, I'll get going and think of
better permanent solutions later
Kindly help me on option one (disabling PHP mhash)

Thanks in advance

Regards Ganesh

Graham Dumpleton wrote:

  Disabling the PHP mhash module is only a workaround even if it does
work.

The proper fix if it is this issue is to refresh your Python 2.4
installation to get fixed version from Debian repository, or even
perhaps upgrade to Python 2.5 and newer mod_python version which uses
Python 2.5.

Alternatively, disable PHP from Apache completely if you do not need
it.

Which of the three options don't you understand and are wanting more
detail for?

Graham

  
  
Thanks in advance

Regards Ganesh

Daniel bodom_lx Graziotin wrote:


  Thank you very much for your replies, Alvaro and Graham!
Removing php5-mhash solved the problem
  

  
  

  



--~--~-~--~~~---~--~~
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-10-21 Thread Graham Dumpleton



On Oct 22, 10:52 am, "M.Ganesh" <[EMAIL PROTECTED]> wrote:
> Hi Daniel,
>
> I am also facing the same problem. I really can't understand the
> technicalities of the solution offered in this thread. Since you seemed
> to have solved the problem, can you please give a little more details on
> how to do it

Disabling the PHP mhash module is only a workaround even if it does
work.

The proper fix if it is this issue is to refresh your Python 2.4
installation to get fixed version from Debian repository, or even
perhaps upgrade to Python 2.5 and newer mod_python version which uses
Python 2.5.

Alternatively, disable PHP from Apache completely if you do not need
it.

Which of the three options don't you understand and are wanting more
detail for?

Graham

> Thanks in advance
>
> Regards Ganesh
>
> Daniel bodom_lx Graziotin wrote:
> > Thank you very much for your replies, Alvaro and Graham!
> > Removing php5-mhash solved the problem
--~--~-~--~~~---~--~~
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-10-21 Thread M.Ganesh

Hi Daniel,

I am also facing the same problem. I really can't understand the 
technicalities of the solution offered in this thread. Since you seemed 
to have solved the problem, can you please give a little more details on 
how to do it

Thanks in advance

Regards Ganesh

Daniel bodom_lx Graziotin wrote:
> Thank you very much for your replies, Alvaro and Graham!
> Removing php5-mhash solved the problem
> >
>
>   


--~--~-~--~~~---~--~~
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-10-10 Thread Daniel bodom_lx Graziotin

Thank you very much for your replies, Alvaro and Graham!
Removing php5-mhash solved the problem
--~--~-~--~~~---~--~~
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 Graham Dumpleton



On Oct 1, 10:56 am, Álvaro Justen <[EMAIL PROTECTED]> wrote:
> 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 onhttp://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/

If it is that problem, the proper fix is to update your Python
installation to one that Debian hasn't broken. See:

http://code.google.com/p/modwsgi/wiki/ApplicationIssues#Python_MD5_Hash_Module_Conflict
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=440272

Graham
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Django on Apache (mod_python) administration cookie problem

2008-09-29 Thread Daniel "bodom_lx" Graziotin

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



-- 
Daniel "bodom_lx" Graziotin
- http://bd-things.net
- http://bd-things.net/bodom_lx.asc - GPG public key


-- 
Daniel "bodom_lx" Graziotin
- http://bd-things.net
- http://bd-things.net/bodom_lx.asc - GPG public key

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---