Hi Guys,

Been trying to get the Admin deployed on Apache mod_python and after
the login screen I get this:

Traceback (most recent call last):
File
"~/python2.4/site-packages/Django-0.95-py2.4.egg/django/core/handlers/base.py"
in get_response
  74. response = callback(request, *callback_args, **callback_kwargs)
File
"~/python2.4/site-packages/Django-0.95-py2.4.egg/django/contrib/admin/views/decorators.py"
in _checklogin
  49. if request.user.is_authenticated() and request.user.is_staff:
File
"~/python2.4/site-packages/Django-0.95-py2.4.egg/django/contrib/auth/__init__.py"
in get_user
  71. user_id = request.session[SESSION_KEY]
File
"~/python2.4/site-packages/Django-0.95-py2.4.egg/django/contrib/sessions/middleware.py"
in __getitem__
  18. return self._session[key]
File
"~/python2.4/site-packages/Django-0.95-py2.4.egg/django/contrib/sessions/middleware.py"
in _get_session
  57. self._session_cache = s.get_decoded()
File
"~/python2.4/site-packages/Django-0.95-py2.4.egg/django/contrib/sessions/models.py"
in get_decoded
  65. raise SuspiciousOperation, "User tampered with session cookie."

  SuspiciousOperation at /admin/
  User tampered with session cookie.

However, when I jumped into my error log the error returned is this


[Fri Nov 03 20:08:20 2006] [error] [client 74.97.107.46] PythonHandler
django.core.handlers.modpython:   File
"~/python2.4/site-packages/Django-0.95-py2.4.egg/django/core/handlers/base.py",
line 95, in get_response\n    return callback(request, **param_dict),
referer: http://galadriel.grokthis.net:9999/admin/
[Fri Nov 03 20:08:20 2006] [error] [client 74.97.107.46] PythonHandler
django.core.handlers.modpython:   File
"~/python2.4/site-packages/Django-0.95-py2.4.egg/django/views/defaults.py",
line 78, in page_not_found\n    t = loader.get_template(template_name),
referer: http://galadriel.grokthis.net:9999/admin/
[Fri Nov 03 20:08:20 2006] [error] [client 74.97.107.46] PythonHandler
django.core.handlers.modpython:   File
"~/python2.4/site-packages/Django-0.95-py2.4.egg/django/template/loader.py",
line 79, in get_template\n    return
get_template_from_string(*find_template_source(template_name)),
referer: http://galadriel.grokthis.net:9999/admin/

I've tried directly setting the template url directories inside
settings.py to point to where admin/templates should exist, but that
hasn't done anything for me.  I'm just lost on what to do here


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to