Jump to content

Recommended Posts

Posted

Hi!,

 

my username is perriman and the site is http://djdardos.heliohost.org/. I have two django projects:

 

http://djdardos.heliohost.org/djdardos/

 

and

 

http://djdardos.heliohost.org/djtest/

 

I the log I see the error but it doesn't give me the traceback to see what is happend:

 

[sat Jul 03 06:31:49 2010] [error] [client 85.54.157.200] File does not exist: /home/perriman/public_html/404.shtml

[sat Jul 03 06:31:49 2010] [error] [client 85.54.157.200] File does not exist: /home/perriman/public_html/favicon.ico

[sat Jul 03 08:31:49 2010] [error] [client 85.54.157.200] File does not exist: /home/perriman/public_html/500.shtml

[sat Jul 03 08:31:49 2010] [error] [client 85.54.157.200] File "/home/perriman/public_html/djtest/dispatch.wsgi", line 12, in application

 

Can I activate a more detailed log? Can you help me with the errors?

 

Thanks!!!

Posted
Hi!,

 

my username is perriman and the site is http://djdardos.heliohost.org/. I have two django projects:

 

http://djdardos.heliohost.org/djdardos/

 

and

 

http://djdardos.heliohost.org/djtest/

 

I the log I see the error but it doesn't give me the traceback to see what is happend:

 

[sat Jul 03 06:31:49 2010] [error] [client 85.54.157.200] File does not exist: /home/perriman/public_html/404.shtml

[sat Jul 03 06:31:49 2010] [error] [client 85.54.157.200] File does not exist: /home/perriman/public_html/favicon.ico

[sat Jul 03 08:31:49 2010] [error] [client 85.54.157.200] File does not exist: /home/perriman/public_html/500.shtml

[sat Jul 03 08:31:49 2010] [error] [client 85.54.157.200] File "/home/perriman/public_html/djtest/dispatch.wsgi", line 12, in application

 

Can I activate a more detailed log? Can you help me with the errors?

 

Thanks!!!

 

I had a similar problem with an Internal Server Error which was caused by '~/.python_egg_cache' having 775 permissions instead of 777, but it doesn't look like that's what's happening here - but check all your permissions match just in case. Also, I got a detailed-enough log just by looking in the Error log section of CPanel, but I imagine that's where you're looking anyway!

 

If it helps, byron provided me with working templates for dispatch.wsgi, etc. in this thread - try them and see: http://www.helionet.org/index/index.php?s=...ost&p=52303.

Posted

Thanks a lot Lithonian!

 

It works fine but I need to see more detailed log (in the error log) because I cannot see the problems with my real project :(

 

 

  • 8 months later...
Posted

Hi guys!

 

I try to start a basic django project, based on http://byrondallas.heliohost.org/djangotest.zip

Unfortunatelly it does not work: i got a 500 error: http://spapp.heliohost.org/djangotest/

 

It looks, that it can not import django.core.handlers.wsgi in the dispatch.wsgi file.

 

the error in Cpanel log:

File does not exist: /home/spapp/public_html/500.shtml

File "/home/spapp/public_html/djangotest/dispatch.wsgi", line 13, in ?

mod_wsgi (pid=30587): Exception occurred processing WSGI script '/home/spapp/public_html/djangotest/dispatch.wsgi'.

mod_wsgi (pid=30587): Target WSGI script '/home/spapp/public_html/djangotest/dispatch.wsgi' cannot be loaded as Python module.

 

Any ideas?

 

my cpanel id: spapp

Thanks Laca

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...