Graham Dumpleton
graham.dumpleton at gmail.com
Sat Aug 25 00:04:21 EDT 2007
On 25/08/07, karn <kan2005 at gmail.com> wrote: > I found this problem too, but I am not expert in php. > Could you explain in detail , how to disable php mhash module? Did you > mean change configuration in php.ini? > > Karn I'm not a PHP person so have no idea. I have pushed your question back onto the mod_python list where there is no doubt someone who has had to do this who can tell you. Otherwise ask on a PHP list if you cant get an answer. Graham > On 10 ¾.¤., 08:10, Graham Dumpleton <Graham.Dumple... at gmail.com> > wrote: > > Tryreenabling PHP, but delve into the PHP setup and disable the > > loading of the PHP mhash module first. > > > > There have been cases where the PHP mhash module has clashed in some > > way with the Python md5 hash modules and caused the Python module to > > give back incorrect results. This may have an effect on sessioncookiesif a md5 hash is used in some way to generate it. > > > > Graham > > > > On May 9, 11:16 pm, "Diego pylorca" <pylo... at gmail.com> wrote: > > > > > > > > > Nop, > > > > > when I disable mod-php5, the admin works correctly :( > > > > > my web browsers are firefox and opera and IE, but it is not a client host > > > problem :'( > > > > > On 5/8/07, John DeRosa <stug... at qwest.net> wrote: > > > > > > Perhaps checkyourfirewall, anti-hijack, anti-trojan, etc. software. > > > > You may have a cookie guard enabled. > > > > > > For example, Webroot's Spy Sweeper has a set of "shields" for web > > > > browsers, and they include the blocking of certain trackingcookiesand > > > > some IE security 'protection'. Perhapsyoursystem is running a similar > > > > product? > > > > > > John > > > > > > Diego pylorca wrote: > > > > > mmmmm > > > > > > > I deployed my site, and in the admin when itryto login i get this > > > > message: > > > > > > > "Lookslikeyourbrowserisn'tconfiguredtoacceptcookies.Please > > > > >enablecookies,reloadthispage, andtryagain." > > > > > > > thecookiesis enabled. > > > > > > > my server is a debian etch stable (intalled modpython apache2 and mysql > > > > > from apt) > > > > > > > i ve run django/bin/daily_cleanup.py and flush the session table... > > > > > > > PD: sory by me bad english > > > > > > > On 4/4/07, *chasfs* <cha... at yahoo.com <mailto:cha... at yahoo.com>> wrote: > > > > > > > There are several things going on here. If you have multiple django > > > > > sites > > > > > all setting sessionscookies, make sure that the SESSION_COOKIE_NAME > > > > > and SESSION_COOKIE_DOMAIN are unique in the respective settings.py > > > > > files. > > > > > > > You also need to clean out old session rows in the django_session > > > > > database. > > > > > You can use django/bin/daily_cleanup.py to do this. > > > > > > > Good luck, > > > > > -chasfs > > > > > > > On Apr 3, 1:36 pm, "Ramdas S" < ram... at gmail.com > > > > > <mailto:ram... at gmail.com>> wrote: > > > > > > Since last few days I am getting this error on Django web sites > > > > > hosted. > > > > > > Obviously it is clashing with something. > > > > > > > > When I work on admin interface to add or delete content, I get > > > > > logged off > > > > > > and it takes some time for me to loginagain. > > > > > > > > I get the following messages > > > > > > > >Pleaseenter a correct username and password. Note that both > > > > > fields are > > > > > > case-sensitive. > > > > > > > > If I keep on trying then the message changes to > > > > > > > >Lookslikeyourbrowserisn'tconfiguredtoacceptcookies. > > > > > Pleaseenable > > > > > >cookies,reloadthispage, andtryagain. > > > > > > > > Later if I persist > > > > > > > > I get this error > > > > > > > > ----- > > > > > > > > SuspiciousOperation at /admin/ User may have tampered with > > > > session > > > > > > cookie. Request > > > > > > Method: POST Request URL:http://developeriq.com/admin/ > > > > > Exception Type: > > > > > > SuspiciousOperation Exception Value: User may have tampered with > > > > > session > > > > > > cookie. Exception Location: > > > > > > /usr/lib/python2.4/site-packages/django/contrib/admin/views/decorators.py > > > > > > > > in _decode_post_data, line 40 > > > > > > > > I am using the latest development version Mod_Python, Apache and > > > > > Ubuntu > > > > > > Linux > > > > > > > > What can be the reason > > > > > > > > Thanks > > > > > > > > Ramdas S > > > > > > > > The Server is a dedicated server, and it also runs PHP, MySQl and > > > > > some PHP > > > > > > and Python software. > > > > > > > -- > > > > > Diego F. Toritto. > > > > > -- > > > Diego F. Toritto.- «è͹¢éͤÇÒÁ·Õè¡ÁÒ - > > > > - áÊ´§¢éͤÇÒÁ·Õè¡ÁÒ - > >
|