Jump to content

totocoto

Members
  • Posts

    17
  • Joined

  • Last visited

totocoto's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Now django is working and gives: ImproperlyConfigured at /school/dispatch.wsgi/hello Error loading psycopg2 module: No module named psycopg2 I've already had this problem http://www.helionet.org/index/index.php?sh...amp;hl=psycopg2 Can you fix it again?
  2. Thank you for quick reaction. Now an error occurs in dispatch.wsgi. Have you changed the django version?
  3. Hi! My site had worked good untill I received error: [Thu Sep 02 14:25:25 2010] [error] [client 178.210.142.170] mod_wsgi (pid=1224): Exception occurred processing WSGI script '/home/pavlok31/public_html/school/dispatch.wsgi'. [Thu Sep 02 14:25:25 2010] [error] [client 178.210.142.170] mod_wsgi (pid=1224): Target WSGI script '/home/pavlok31/public_html/school/dispatch.wsgi' cannot be loaded as Python module. Can you check this out please? my user name is: pavlok31 site: sokiljnyky.heliohost.org
  4. It's perfect now, thank you very much!
  5. username: pavlok31 domain: sokiljnyky.heliohost.org
  6. Hi! I everithing was good on my site but suddenly, when I tried to log in I received: DatabaseError at /dispatch.wsgi/admin/ could not extend relation 1663/839323/840673: No space left on device HINT: Check free disk space. when I tried open my database by phpPgAdmin on cpanel I received: Error Loading schemas.php?subject=database&server=%3A5432%3Aallow&database=pavlok31_school&action=tree (200: OK) sql error: SQL error: ERROR: write failed In statement: SELECT pn.nspname, pu.usename AS nspowner, pg_catalog.obj_description(pn.oid, 'pg_namespace') AS nspcomment FROM pg_catalog.pg_namespace pn LEFT JOIN pg_catalog.pg_user pu ON (pn.nspowner = pu.usesysid) WHERE nspname NOT LIKE 'pg@_%' ESCAPE '@' AND nspname != 'information_schema' ORDER BY nspname and also: Fatal error: Call to a member function recordCount() on a non-object in /usr/local/cpanel/base/3rdparty/phpPgAdmin/classes/Misc.php on line 1630 Where is the problem? Had someone deleted my database inserting harmfull SQL in the login field, or it's connected with latest server down? Or something else? Also I can't create a new database.
  7. Hi! What is going on with Heliohost? I can't access to my cpanel now, and sometimes my page doesn't load. There are moments when even heliohost.org doesn't load. Is it coused by some options on my side: ip, provider, country or something else? My cpanel: http://sokiljnyky.heliohost.org/cpanel
  8. Thank you for quick reaction. But the problem remains the same. My username is pavlok31. You can see django debug page on http://sokiljnyky.heliohost.org/school/hello
  9. Hi! Are the PostgreSQL adapter for django installed on your server? I tried also: DATABASE_ENGINE = 'mysql' in my django settings.py, but it raises: Exception Value: MySQLdb-1.2.1p2 or newer is required; you have 1.2.1 How can I install appropriate adapter?
  10. Solved! I forgot that at home I use the newest django instead of on Heliohost. So, I needed to change settings.py to fit with the django version installed on Heliohost.
  11. Hi! My views.py is: from django.http import HttpResponse from django.shortcuts import render_to_response def hello(request): menu_list = create_menu() try: return render_to_response('hello.html', locals()) except Exception, e: return HttpResponse(e) So it results exception: Module "django.template.loaders.filesystem" does not define a "Loader", instead of loading the hello.html. settings.py: TEMPLATE_LOADERS = ( 'django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader', 'django.template.loaders.eggs.Loader', ) ROOT_URLCONF = 'urls' TEMPLATE_DIRS = ("/home/pavlok31/public_html/templates/", # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates". # Always use forward slashes, even on Windows. # Don't forget to use absolute paths, not relative paths. ) Would you be so kind to suggest where can be the problem? Thanks.
×
×
  • Create New...