RE: 500.shtml
Sorry, I am not sure I can help you wrt cookies :( I think you need to get the logs some how. > -Original Message- > From: django-users@googlegroups.com > [mailto:[EMAIL PROTECTED] On Behalf Of Ronaldo > Zacarias Afonso > Sent: 26 August 2008 12:49 > To: django-users@googlegroups.com > Subject: Re: 500.shtml > > > Hi Emily, > > Thanks for your help. I'll ask my service provider to provide > me with a better logging system, but I think the problem I'm > facing is something related with cookies. When the admin > interface tries to test the browser to check if it accepts > cookie, the dispatch.fgci process just dies. Have you face > something like that before? > Ronaldo. > > On Tue, Aug 26, 2008 at 5:36 AM, Emily Rodgers > <[EMAIL PROTECTED]> wrote: > > Hi Ronaldo, > > > > I really think that your providers can give you more help > than we can > > at the moment because they have clearly got some scripts in > place to > > start / stop the webserver. I would ask them if there is an > errorlog > > file for the webserver, and if not ask them if they can set one up. > > Trying to debug web apps without an error log is very > tedious and wastes a lot of time. > > > > Em > > > > > > From: django-users@googlegroups.com > > [mailto:[EMAIL PROTECTED] > > On Behalf Of James Matthews > > Sent: 22 August 2008 22:00 > > To: django-users@googlegroups.com > > Subject: Re: 500.shtml > > > > When i run on a shared provider i restart my server by > running touch > > /mywebdir/dispatch.fcgi > > > > > > On Fri, Aug 22, 2008 at 6:45 AM, Emily Rodgers > <[EMAIL PROTECTED]> > > wrote: > >> > >> Hi Ronaldo, > >> > >> It is not a python script, just a shell script that either runs > >> 'python manage.py runfcgi' with various options (the > errorlog being > >> one), or kills the django process if needed (I guess like you are > >> doing with "kill -HUP dispatch.pid"). > >> > >> I think you need to speak to the person who set up your > webserver and > >> get them to specify an errorlog file, because it sounds like it is > >> just throwing an error. Or at least find out how they are starting > >> the webserver. > >> > >> Em > >> > >> > -Original Message- > >> > From: django-users@googlegroups.com > >> > [mailto:[EMAIL PROTECTED] On Behalf Of Ronaldo > >> > Zacarias Afonso > >> > Sent: 22 August 2008 13:45 > >> > To: django-users@googlegroups.com > >> > Subject: Re: 500.shtml > >> > > >> > > >> > Hi Emily, > >> > > >> > Well, in fact I don't start/stop/restart my webserver. As I am > >> > using a shared host, the company where I host my website > do those > >> > things for me. > >> > When I do some modification to my site I only have to > issue a "kill > >> > -HUP dispatch.pid" command. Some thing that I notice is > that when I > >> > try to access the admin page, the dispach is killed (I > don't know > >> > why). > >> > Can you send me the python script you have that log > things for you? > >> > > >> > ps) I don't know if that is the right way to deploy jdango, I'm > >> > just learning it. > >> > > >> > Thank you very much > >> > Ronaldo. > >> > > >> > On Fri, Aug 22, 2008 at 4:54 AM, Emily Rodgers > >> > <[EMAIL PROTECTED]> wrote: > >> > > > >> > > How do you start / stop / restart your webserver? If you are > >> > > using fastcgi, you may not have it set up to give you > an error log. > >> > > > >> > > I have a script that starts / stops it, and I have > >> > specified and error > >> > > log for the django web server logs, and sent any errors > >> > with my script > >> > > commands to a file so that if it doesn't work I can see why: > >> > > > >> > > python ./manage.py runfcgi [...] errlog=/path/to/weblog >> > >> > > runfcgi_errors > >> > > 2>&1 > >> > > > >> > > Em > >> > > > >> > >> -Original Message- > >> > >> From: django-users@googlegroups.com > >> > >> [mailto:[EMAIL P
Re: 500.shtml
Hi Emily, Thanks for your help. I'll ask my service provider to provide me with a better logging system, but I think the problem I'm facing is something related with cookies. When the admin interface tries to test the browser to check if it accepts cookie, the dispatch.fgci process just dies. Have you face something like that before? Ronaldo. On Tue, Aug 26, 2008 at 5:36 AM, Emily Rodgers <[EMAIL PROTECTED]> wrote: > Hi Ronaldo, > > I really think that your providers can give you more help than we can at the > moment because they have clearly got some scripts in place to start / stop > the webserver. I would ask them if there is an errorlog file for the > webserver, and if not ask them if they can set one up. Trying to debug web > apps without an error log is very tedious and wastes a lot of time. > > Em > > > From: django-users@googlegroups.com [mailto:[EMAIL PROTECTED] > On Behalf Of James Matthews > Sent: 22 August 2008 22:00 > To: django-users@googlegroups.com > Subject: Re: 500.shtml > > When i run on a shared provider i restart my server by running touch > /mywebdir/dispatch.fcgi > > > On Fri, Aug 22, 2008 at 6:45 AM, Emily Rodgers <[EMAIL PROTECTED]> > wrote: >> >> Hi Ronaldo, >> >> It is not a python script, just a shell script that either runs 'python >> manage.py runfcgi' with various options (the errorlog being one), or kills >> the django process if needed (I guess like you are doing with "kill -HUP >> dispatch.pid"). >> >> I think you need to speak to the person who set up your webserver and get >> them to specify an errorlog file, because it sounds like it is just >> throwing >> an error. Or at least find out how they are starting the webserver. >> >> Em >> >> > -Original Message- >> > From: django-users@googlegroups.com >> > [mailto:[EMAIL PROTECTED] On Behalf Of Ronaldo >> > Zacarias Afonso >> > Sent: 22 August 2008 13:45 >> > To: django-users@googlegroups.com >> > Subject: Re: 500.shtml >> > >> > >> > Hi Emily, >> > >> > Well, in fact I don't start/stop/restart my webserver. As I >> > am using a shared host, the company where I host my website >> > do those things for me. >> > When I do some modification to my site I only have to issue a >> > "kill -HUP dispatch.pid" command. Some thing that I notice is >> > that when I try to access the admin page, the dispach is >> > killed (I don't know why). >> > Can you send me the python script you have that log things for you? >> > >> > ps) I don't know if that is the right way to deploy jdango, >> > I'm just learning it. >> > >> > Thank you very much >> > Ronaldo. >> > >> > On Fri, Aug 22, 2008 at 4:54 AM, Emily Rodgers >> > <[EMAIL PROTECTED]> wrote: >> > > >> > > How do you start / stop / restart your webserver? If you are using >> > > fastcgi, you may not have it set up to give you an error log. >> > > >> > > I have a script that starts / stops it, and I have >> > specified and error >> > > log for the django web server logs, and sent any errors >> > with my script >> > > commands to a file so that if it doesn't work I can see why: >> > > >> > > python ./manage.py runfcgi [...] errlog=/path/to/weblog >> >> > > runfcgi_errors >> > > 2>&1 >> > > >> > > Em >> > > >> > >> -Original Message- >> > >> From: django-users@googlegroups.com >> > >> [mailto:[EMAIL PROTECTED] On Behalf Of >> > Ronaldo Z. Afonso >> > >> Sent: 22 August 2008 01:29 >> > >> To: django-users@googlegroups.com >> > >> Subject: Re: 500.shtml >> > >> >> > >> >> > >> Hi Erik, >> > >> >> > >> I'm using a shared host with fast-cgi ... >> > >> I don´t know if I have a log ... I'll ask my hosting >> > service provider. >> > >> >> > >> >> > >> On Fri, 2008-08-22 at 03:24 +0300, Erik Allik wrote: >> > >> > Did you check the web server log? If you're using the built >> > >> in server, >> > >> > just look at the console output it produces. Because we >> > >> can't help you >> > >> > with the information you provided. >> > >> > >> > >>
RE: 500.shtml
Hi Ronaldo, I really think that your providers can give you more help than we can at the moment because they have clearly got some scripts in place to start / stop the webserver. I would ask them if there is an errorlog file for the webserver, and if not ask them if they can set one up. Trying to debug web apps without an error log is very tedious and wastes a lot of time. Em From: django-users@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of James Matthews Sent: 22 August 2008 22:00 To: django-users@googlegroups.com Subject: Re: 500.shtml When i run on a shared provider i restart my server by running touch /mywebdir/dispatch.fcgi On Fri, Aug 22, 2008 at 6:45 AM, Emily Rodgers <[EMAIL PROTECTED]> wrote: Hi Ronaldo, It is not a python script, just a shell script that either runs 'python manage.py runfcgi' with various options (the errorlog being one), or kills the django process if needed (I guess like you are doing with "kill -HUP dispatch.pid"). I think you need to speak to the person who set up your webserver and get them to specify an errorlog file, because it sounds like it is just throwing an error. Or at least find out how they are starting the webserver. Em > -Original Message- > From: django-users@googlegroups.com > [mailto:[EMAIL PROTECTED] On Behalf Of Ronaldo > Zacarias Afonso > Sent: 22 August 2008 13:45 > To: django-users@googlegroups.com > Subject: Re: 500.shtml > > > Hi Emily, > > Well, in fact I don't start/stop/restart my webserver. As I > am using a shared host, the company where I host my website > do those things for me. > When I do some modification to my site I only have to issue a > "kill -HUP dispatch.pid" command. Some thing that I notice is > that when I try to access the admin page, the dispach is > killed (I don't know why). > Can you send me the python script you have that log things for you? > > ps) I don't know if that is the right way to deploy jdango, > I'm just learning it. > > Thank you very much > Ronaldo. > > On Fri, Aug 22, 2008 at 4:54 AM, Emily Rodgers > <[EMAIL PROTECTED]> wrote: > > > > How do you start / stop / restart your webserver? If you are using > > fastcgi, you may not have it set up to give you an error log. > > > > I have a script that starts / stops it, and I have > specified and error > > log for the django web server logs, and sent any errors > with my script > > commands to a file so that if it doesn't work I can see why: > > > > python ./manage.py runfcgi [...] errlog=/path/to/weblog >> > > runfcgi_errors > > 2>&1 > > > > Em > > > >> -Original Message- > >> From: django-users@googlegroups.com > >> [mailto:[EMAIL PROTECTED] On Behalf Of > Ronaldo Z. Afonso > >> Sent: 22 August 2008 01:29 > >> To: django-users@googlegroups.com > >> Subject: Re: 500.shtml > >> > >> > >> Hi Erik, > >> > >> I'm using a shared host with fast-cgi ... > >> I don´t know if I have a log ... I'll ask my hosting > service provider. > >> > >> > >> On Fri, 2008-08-22 at 03:24 +0300, Erik Allik wrote: > >> > Did you check the web server log? If you're using the built > >> in server, > >> > just look at the console output it produces. Because we > >> can't help
Re: 500.shtml
When i run on a shared provider i restart my server by running touch /mywebdir/dispatch.fcgi On Fri, Aug 22, 2008 at 6:45 AM, Emily Rodgers <[EMAIL PROTECTED]>wrote: > > Hi Ronaldo, > > It is not a python script, just a shell script that either runs 'python > manage.py runfcgi' with various options (the errorlog being one), or kills > the django process if needed (I guess like you are doing with "kill -HUP > dispatch.pid"). > > I think you need to speak to the person who set up your webserver and get > them to specify an errorlog file, because it sounds like it is just > throwing > an error. Or at least find out how they are starting the webserver. > > Em > > > -Original Message- > > From: django-users@googlegroups.com > > [mailto:[EMAIL PROTECTED] On Behalf Of Ronaldo > > Zacarias Afonso > > Sent: 22 August 2008 13:45 > > To: django-users@googlegroups.com > > Subject: Re: 500.shtml > > > > > > Hi Emily, > > > > Well, in fact I don't start/stop/restart my webserver. As I > > am using a shared host, the company where I host my website > > do those things for me. > > When I do some modification to my site I only have to issue a > > "kill -HUP dispatch.pid" command. Some thing that I notice is > > that when I try to access the admin page, the dispach is > > killed (I don't know why). > > Can you send me the python script you have that log things for you? > > > > ps) I don't know if that is the right way to deploy jdango, > > I'm just learning it. > > > > Thank you very much > > Ronaldo. > > > > On Fri, Aug 22, 2008 at 4:54 AM, Emily Rodgers > > <[EMAIL PROTECTED]> wrote: > > > > > > How do you start / stop / restart your webserver? If you are using > > > fastcgi, you may not have it set up to give you an error log. > > > > > > I have a script that starts / stops it, and I have > > specified and error > > > log for the django web server logs, and sent any errors > > with my script > > > commands to a file so that if it doesn't work I can see why: > > > > > > python ./manage.py runfcgi [...] errlog=/path/to/weblog >> > > > runfcgi_errors > > > 2>&1 > > > > > > Em > > > > > >> -Original Message- > > >> From: django-users@googlegroups.com > > >> [mailto:[EMAIL PROTECTED] On Behalf Of > > Ronaldo Z. Afonso > > >> Sent: 22 August 2008 01:29 > > >> To: django-users@googlegroups.com > > >> Subject: Re: 500.shtml > > >> > > >> > > >> Hi Erik, > > >> > > >> I'm using a shared host with fast-cgi ... > > >> I don´t know if I have a log ... I'll ask my hosting > > service provider. > > >> > > >> > > >> On Fri, 2008-08-22 at 03:24 +0300, Erik Allik wrote: > > >> > Did you check the web server log? If you're using the built > > >> in server, > > >> > just look at the console output it produces. Because we > > >> can't help you > > >> > with the information you provided. > > >> > > > >> > Erik > > >> > > > >> > > > >> > On 22.08.2008, at 3:05, Ronaldo Z. Afonso wrote: > > >> > > > >> > > > > >> > > Hi all, > > >> > > > > >> > > This is my first post to this list. I'm trying to > > access an Admin > > >> > > page and I'm being redirected to a 500.shtml page. Does > > >> anyone know > > >> > > what could be happening? > > >> > > I'm using Django version 1.0.beta_1. > > >> > > Thanks in advance ... > > >> > > > > >> > > Ronaldo. > > >> > > > > >> > > > > >> > > > > > >> > > > >> > > > >> > > > > >> > > >> > > >> > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- http://www.goldwatches.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 -~--~~~~--~~--~--~---
RE: 500.shtml
Hi Ronaldo, It is not a python script, just a shell script that either runs 'python manage.py runfcgi' with various options (the errorlog being one), or kills the django process if needed (I guess like you are doing with "kill -HUP dispatch.pid"). I think you need to speak to the person who set up your webserver and get them to specify an errorlog file, because it sounds like it is just throwing an error. Or at least find out how they are starting the webserver. Em > -Original Message- > From: django-users@googlegroups.com > [mailto:[EMAIL PROTECTED] On Behalf Of Ronaldo > Zacarias Afonso > Sent: 22 August 2008 13:45 > To: django-users@googlegroups.com > Subject: Re: 500.shtml > > > Hi Emily, > > Well, in fact I don't start/stop/restart my webserver. As I > am using a shared host, the company where I host my website > do those things for me. > When I do some modification to my site I only have to issue a > "kill -HUP dispatch.pid" command. Some thing that I notice is > that when I try to access the admin page, the dispach is > killed (I don't know why). > Can you send me the python script you have that log things for you? > > ps) I don't know if that is the right way to deploy jdango, > I'm just learning it. > > Thank you very much > Ronaldo. > > On Fri, Aug 22, 2008 at 4:54 AM, Emily Rodgers > <[EMAIL PROTECTED]> wrote: > > > > How do you start / stop / restart your webserver? If you are using > > fastcgi, you may not have it set up to give you an error log. > > > > I have a script that starts / stops it, and I have > specified and error > > log for the django web server logs, and sent any errors > with my script > > commands to a file so that if it doesn't work I can see why: > > > > python ./manage.py runfcgi [...] errlog=/path/to/weblog >> > > runfcgi_errors > > 2>&1 > > > > Em > > > >> -----Original Message- > >> From: django-users@googlegroups.com > >> [mailto:[EMAIL PROTECTED] On Behalf Of > Ronaldo Z. Afonso > >> Sent: 22 August 2008 01:29 > >> To: django-users@googlegroups.com > >> Subject: Re: 500.shtml > >> > >> > >> Hi Erik, > >> > >> I'm using a shared host with fast-cgi ... > >> I don´t know if I have a log ... I'll ask my hosting > service provider. > >> > >> > >> On Fri, 2008-08-22 at 03:24 +0300, Erik Allik wrote: > >> > Did you check the web server log? If you're using the built > >> in server, > >> > just look at the console output it produces. Because we > >> can't help you > >> > with the information you provided. > >> > > >> > Erik > >> > > >> > > >> > On 22.08.2008, at 3:05, Ronaldo Z. Afonso wrote: > >> > > >> > > > >> > > Hi all, > >> > > > >> > > This is my first post to this list. I'm trying to > access an Admin > >> > > page and I'm being redirected to a 500.shtml page. Does > >> anyone know > >> > > what could be happening? > >> > > I'm using Django version 1.0.beta_1. > >> > > Thanks in advance ... > >> > > > >> > > Ronaldo. > >> > > > >> > > > >> > > > > >> > > >> > > >> > > > >> > >> > >> > > >> > > > > > > > > > > > > > > > --~--~-~--~~~---~--~~ 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: 500.shtml
Hi Emily, Well, in fact I don't start/stop/restart my webserver. As I am using a shared host, the company where I host my website do those things for me. When I do some modification to my site I only have to issue a "kill -HUP dispatch.pid" command. Some thing that I notice is that when I try to access the admin page, the dispach is killed (I don't know why). Can you send me the python script you have that log things for you? ps) I don't know if that is the right way to deploy jdango, I'm just learning it. Thank you very much Ronaldo. On Fri, Aug 22, 2008 at 4:54 AM, Emily Rodgers <[EMAIL PROTECTED]> wrote: > > How do you start / stop / restart your webserver? If you are using fastcgi, > you may not have it set up to give you an error log. > > I have a script that starts / stops it, and I have specified and error log > for the django web server logs, and sent any errors with my script commands > to a file so that if it doesn't work I can see why: > > python ./manage.py runfcgi [...] errlog=/path/to/weblog >> runfcgi_errors > 2>&1 > > Em > >> -Original Message- >> From: django-users@googlegroups.com >> [mailto:[EMAIL PROTECTED] On Behalf Of Ronaldo Z. Afonso >> Sent: 22 August 2008 01:29 >> To: django-users@googlegroups.com >> Subject: Re: 500.shtml >> >> >> Hi Erik, >> >> I'm using a shared host with fast-cgi ... >> I don´t know if I have a log ... I'll ask my hosting service provider. >> >> >> On Fri, 2008-08-22 at 03:24 +0300, Erik Allik wrote: >> > Did you check the web server log? If you're using the built >> in server, >> > just look at the console output it produces. Because we >> can't help you >> > with the information you provided. >> > >> > Erik >> > >> > >> > On 22.08.2008, at 3:05, Ronaldo Z. Afonso wrote: >> > >> > > >> > > Hi all, >> > > >> > > This is my first post to this list. I'm trying to access an Admin >> > > page and I'm being redirected to a 500.shtml page. Does >> anyone know >> > > what could be happening? >> > > I'm using Django version 1.0.beta_1. >> > > Thanks in advance ... >> > > >> > > Ronaldo. >> > > >> > > >> > > > >> > >> > >> > > >> >> >> > >> > > > > > > --~--~-~--~~~---~--~~ 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: 500.shtml
How do you start / stop / restart your webserver? If you are using fastcgi, you may not have it set up to give you an error log. I have a script that starts / stops it, and I have specified and error log for the django web server logs, and sent any errors with my script commands to a file so that if it doesn't work I can see why: python ./manage.py runfcgi [...] errlog=/path/to/weblog >> runfcgi_errors 2>&1 Em > -Original Message- > From: django-users@googlegroups.com > [mailto:[EMAIL PROTECTED] On Behalf Of Ronaldo Z. Afonso > Sent: 22 August 2008 01:29 > To: django-users@googlegroups.com > Subject: Re: 500.shtml > > > Hi Erik, > > I'm using a shared host with fast-cgi ... > I don´t know if I have a log ... I'll ask my hosting service provider. > > > On Fri, 2008-08-22 at 03:24 +0300, Erik Allik wrote: > > Did you check the web server log? If you're using the built > in server, > > just look at the console output it produces. Because we > can't help you > > with the information you provided. > > > > Erik > > > > > > On 22.08.2008, at 3:05, Ronaldo Z. Afonso wrote: > > > > > > > > Hi all, > > > > > > This is my first post to this list. I'm trying to access an Admin > > > page and I'm being redirected to a 500.shtml page. Does > anyone know > > > what could be happening? > > > I'm using Django version 1.0.beta_1. > > > Thanks in advance ... > > > > > > Ronaldo. > > > > > > > > > > > > > > > > > > > > > > --~--~-~--~~~---~--~~ 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: 500.shtml
Hi Erik, I'm using a shared host with fast-cgi ... I don´t know if I have a log ... I'll ask my hosting service provider. On Fri, 2008-08-22 at 03:24 +0300, Erik Allik wrote: > Did you check the web server log? If you're using the built in server, > just look at the console output it produces. Because we can't help you > with the information you provided. > > Erik > > > On 22.08.2008, at 3:05, Ronaldo Z. Afonso wrote: > > > > > Hi all, > > > > This is my first post to this list. I'm trying to access an Admin page > > and I'm being redirected to a 500.shtml page. Does anyone know what > > could be happening? > > I'm using Django version 1.0.beta_1. > > Thanks in advance ... > > > > Ronaldo. > > > > > > > > > > > --~--~-~--~~~---~--~~ 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: 500.shtml
Did you check the web server log? If you're using the built in server, just look at the console output it produces. Because we can't help you with the information you provided. Erik On 22.08.2008, at 3:05, Ronaldo Z. Afonso wrote: > > Hi all, > > This is my first post to this list. I'm trying to access an Admin page > and I'm being redirected to a 500.shtml page. Does anyone know what > could be happening? > I'm using Django version 1.0.beta_1. > Thanks in advance ... > > Ronaldo. > > > > --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---