Adrian Thanks for your help. I check the logs and the error generated was "TemplateNotFound" for 404.html. So I created a 404 template and now it works fine (even though the page doesn't generate a 404 error),
Curiously it only did that on pages that are served by the flatpages app, must be something in django.flatpages that needs a 404 template I guess. And yes I am running django through mod_python Anyway it works now. Thanks again. cheers sng On 12/5/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > > On 12/6/06, luxagraf <[EMAIL PROTECTED]> wrote: > > I'm trying to launch a site and every time I turn off django's > > debugging or python debugging I start getting 500 error pages, but > > when the debugging is on none of those pages throw any errors? > > > > Anyone seen this before? > > > > Am I missing something. > > Hi luxagraf, > > I assume you're using mod_python and you're getting the standard > Apache "500 Server Error" pages, in which case you should check your > Apache error log. If your error page is being served by Django, make > sure your ADMINS and EMAIL_HOST settings are correct -- then, Django > will e-mail you the tracebacks for any error. > > Adrian > > -- > Adrian Holovaty > holovaty.com | djangoproject.com > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---