shamanas Posted July 8, 2011 Posted July 8, 2011 Hello I followed the guide to install my django application on the heliohost servers. However, I cannot succeed to do so, even after reading many threads of people with similar problems and checking my permissions a thousand times. Here is the output in my error log: [Fri Jul 08 06:23:48 2011] [error] [client 85.74.172.105] File "/home/shamanas/public_html/blog/dispatch.wsgi", line 9, in application, referer: http://shamanas.com/ [Fri Jul 08 06:23:48 2011] [error] [client 85.74.172.105] mod_wsgi (pid=12138): Exception occurred processing WSGI script '/home/shamanas/public_html/blog/dispatch.wsgi'., referer: http://shamanas.com/ My website is http://www.shamanas.com Username: shamanas Server: johnny On a sidenote, the snake charmer is down Quote
Guest Geoff Posted July 8, 2011 Posted July 8, 2011 Please fix this error: [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] Traceback (most recent call last): [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] File "/home/shamanas/public_html/blog/dispatch.wsgi", line 10, $ [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] return _application(environ, start_response) [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] File "/usr/local/lib/python2.7/site-packages/django/core/handle$ [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] self.load_middleware() [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] File "/usr/local/lib/python2.7/site-packages/django/core/handle$ [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] for middleware_path in settings.MIDDLEWARE_CLASSES: [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] File "/usr/local/lib/python2.7/site-packages/django/utils/funct$ [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] self._setup() [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] File "/usr/local/lib/python2.7/site-packages/django/conf/__init$ [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] self._wrapped = Settings(settings_module) [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] File "/usr/local/lib/python2.7/site-packages/django/conf/__init$ [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] raise ImportError("Could not import settings '%s' (Is it on s$ [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] ImportError: Could not import settings 'blog.settings' (Is it on $ Quote
shamanas Posted July 9, 2011 Author Posted July 9, 2011 Please fix this error: [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] Traceback (most recent call last): [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] File "/home/shamanas/public_html/blog/dispatch.wsgi", line 10, $ [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] return _application(environ, start_response) [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] File "/usr/local/lib/python2.7/site-packages/django/core/handle$ [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] self.load_middleware() [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] File "/usr/local/lib/python2.7/site-packages/django/core/handle$ [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] for middleware_path in settings.MIDDLEWARE_CLASSES: [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] File "/usr/local/lib/python2.7/site-packages/django/utils/funct$ [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] self._setup() [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] File "/usr/local/lib/python2.7/site-packages/django/conf/__init$ [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] self._wrapped = Settings(settings_module) [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] File "/usr/local/lib/python2.7/site-packages/django/conf/__init$ [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] raise ImportError("Could not import settings '%s' (Is it on s$ [Fri Jul 08 09:47:08 2011] [error] [client 74.197.184.234] ImportError: Could not import settings 'blog.settings' (Is it on $ I had changed os.environ['DJANGO_SETTINGS_MODULE'] to blog.settings out of dsperation, but with os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' the dispatch is still not working. Quote
Guest Geoff Posted July 9, 2011 Posted July 9, 2011 It's fixed; the problem was I needed to install Django Simple Captcha. You're site is still not working, but now it's outputting a traceback, so you should be able to take it from here. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.