WebFaction
Community site: login faq

I installed osqa with one click after application creation (about 5 minutes after ) I updated the app_url. as http://pramvir.webfactional.com . when I browse It get internal server error please help...

asked 09 Apr '12, 05:50

Pramvir Rath...
721117
accept rate: 0%

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

(09 Apr '12, 06:03) Pramvir Rath...
[Apr 08 13:07:51 2012] [error] [client 127.0.0.1]   File "/home/pramvir/webapps/osqa_server/lib/python2.7/django/core/handlers/base.py", line 39, in load_middleware
[Sun Apr 08 13:07:51 2012] [error] [client 127.0.0.1]     for middleware_path in settings.MIDDLEWARE_CLASSES:
[Sun Apr 08 13:07:51 2012] [error] [client 127.0.0.1]   File "/home/pramvir/webapps/osqa_server/lib/python2.7/django/utils/functional.py", line 276, in __getattr__
[Sun Apr 08 13:07:51 2012] [error] [client 127.0.0.1]     self._setup()
[Sun Apr 08 13:07:51 2012] [error] [client 127.0.0.1]   File "/home/pramvir/webapps/osqa_server/lib/python2.7/django/conf/__init__.py", line 42, in _setup
[Sun Apr 08 13:07:51 2012] [error] [client 127.0.0.1]     self._wrapped = Settings(settings_module)
[Sun Apr 08 13:07:51 2012] [error] [client 127.0.0.1]   File "/home/pramvir/webapps/osqa_server/lib/python2.7/django/conf/__init__.py", line 89, in __init__
[Sun Apr 08 13:07:51 2012] [error] [client 127.0.0.1]     raise ImportError("Could not import settings '%s' (Is it on sys.path?): %s" % (self.SETTINGS_MODULE, e))
[Sun Apr 08 13:07:51 2012] [error] [client 127.0.0.1] ImportError: Could not import settings 'osqa.settings' (Is it on sys.path?): No module named forum.base
[Sun Apr 08 13:07:52 2012] [error] [client 127.0.0.1] mod_wsgi (pid=13010): Exception occurred processing WSGI script '/home/pramvir/webapps/osqa_server/osqa/osqa.wsgi'.
[Sun Apr 08 13:07:52 2012] [error] [client 127.0.0.1] Traceback (most recent call last):
[Sun Apr 08 13:07:52 2012] [error] [client 127.0.0.1]   File "/home/pramvir/webapps/osqa_server/lib/python2.7/django/core/handlers/wsgi.py", line 250, in __call__
[Sun Apr 08 13:07:52 2012] [error] [client 127.0.0.1]     self.load_middleware()
[Sun Apr 08 13:07:52 2012] [error] [client 127.0.0.1]   File "/home/pramvir/webapps/osqa_server/lib/python2.7/django/core/handlers/base.py", line 39, in load_middleware
[Sun Apr 08 13:07:52 2012] [error] [client 127.0.0.1]     for middleware_path in settings.MIDDLEWARE_CLASSES:
[Sun Apr 08 13:07:52 2012] [error] [client 127.0.0.1]   File "/home/pramvir/webapps/osqa_server/lib/python2.7/django/utils/functional.py", line 276, in __getattr__
[Sun Apr 08 13:07:52 2012] [error] [client 127.0.0.1]     self._setup()
[Sun Apr 08 13:07:52 2012] [error] [client 127.0.0.1]   File "/home/pramvir/webapps/osqa_server/lib/python2.7/django/conf/__init__.py", line 42, in _setup
[Sun Apr 08 13:07:52 2012] [error] [client 127.0.0.1]     self._wrapped = Settings(settings_module)
[Sun Apr 08 13:07:52 2012] [error] [client 127.0.0.1]   File "/home/pramvir/webapps/osqa_server/lib/python2.7/django/conf/__init__.py", line 89, in __init__
[Sun Apr 08 13:07:52 2012] [error] [client 127.0.0.1]     raise ImportError("Could not import settings '%s' (Is it on sys.path?): %s" % (self.SETTINGS_MODULE, e))
[Sun Apr 08 13:07:52 2012] [error] [client 127.0.0.1] ImportError: Could not import settings 'osqa.settings' (Is it on sys.path?): No module named forum.base
[Sun Apr 08 13:07:52 2012] [error] [client 127.0.0.1] ImportError: Could not import settings 'osqa.settings' (Is it on sys.path?): No module named forum.base
(09 Apr '12, 06:29) Pramvir Rath...

that is error log

(09 Apr '12, 06:39) Pramvir Rath...

It appears that your "osqa" directory (containing settings.py) is not on the Python search path. Please check our docs on how to fix this. If you still can't get it working, please open a support ticket, so we can take a look at it for you.

permanent link

answered 09 Apr '12, 07:46

todork
1.2k5
accept rate: 34%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×43

question asked: 09 Apr '12, 05:50

question was seen: 16,624 times

last updated: 09 Apr '12, 11:51

                              
WEBFACTION
REACH US
SUPPORT
LEGAL
© COPYRIGHT 2003-2021 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM