Jump to content

fengshaun

Members
  • Posts

    31
  • Joined

  • Last visited

Posts posted by fengshaun

  1. That error is gone, but now loading the site waits indefinitely. The error log isn't helpful:

     

    [Tue May 11 15:28:06 2010] [error] [client xx.xxx.xxx.x] mod_wsgi (pid=25626): Exception occurred processing WSGI script '/home/amoradi/public_html/mysite/dispatch.wsgi'.

     

    (just this one line of error.)

     

    and this is my dispatch.wsgi:

     

    try:
        import os
        import sys
    
        sys.path.append("/home/amoradi/public_html/mysite")
    
        os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings'
        os.environ['PYTHON_EGG_CACHE'] = '/home/amoradi/.python_egg_cache'
    
        import django.core.handlers.wsgi
        application = django.core.handlers.wsgi.WSGIHandler()
    except Exception, e:
        def application(environ, start_response):
            output = "error: %s" % e
            status = '200 OK'
            response_headers = [('Content-type', 'text/plain'),
                                ('Content-Length', str(len(output)))]
            start_response(status, response_headers)
            return [output]

     

    Thank you for your help.

  2. Hi,

     

    I'm having trouble setting up a django project on heliohost. I have tried to track down the problem and it seems to be coming from dispatch.wsgi. Here is public_html/dispatch.wsgi:

     

    import os
    import sys
    output = ""
    
    
    sys.path.append('/home/amoradi/public_html')
    sys.path.append('/home/amoradi/public_html/mysite')
    os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings' #my project name mysite
    os.environ['PYTHON_EGG_CACHE'] = '/home/amoradi/.python_egg_cache' #right 775
    
    try:
        import django
    except Exception, e:
        output = "import django error: %s" % e
    
    def application(environ, start_response):
        status = '200 OK'
        #output = 'Hello World!'
    
        response_headers = [('Content-type', 'text/plain'),
                            ('Content-Length', str(len(output)))]
        start_response(status, response_headers)
    
        return [output]

     

    When I try to go to load a page, it gives me: "import django error: No module named django." Is there any problem with the django installation or am I missing something?

     

    username: amoradi

    url: fengshaun.heliohost.org

     

    Thank you.

  3. I have uploaded my site, but it's no available from internet..

    ftp and cpanel are working ok..

    ihtus.heliohost.org/quest

     

    As far as I'm aware, sites are not up yet. Will take a little more time!

     

    @Wizard: Thanks! :)

     

    EDIT: Oh my God, my account is activated too! :D

  4. Sorry for hijacking this thread, I wanted to know if my account got activated, is in queue, or got lost somewhere in the wild:

    username: amoradi

    url: http://amoradi.heliohost.org/

     

    Thanks in advance, and great to see HelioHost is back up!

    Queued. According to djbob, there's nothing wrong with the system, it's just backlogged. You'll have to wait it out though, sorry.

     

    That's ok, no worries. Will the server send me an email when my account is activated or I have to try to login everyday?

  5. Hi, I wanted to ask the admins if an account named "amoradi" is in queue. And also, is there a way to get heliohost to send me an email (the one I registered the account with) with my account information, such as username and password?

     

    Thank you

×
×
  • Create New...