When you ran the 'syncdb' management command, was 'auth_user' listed in the
output as a table that was created?


On Sat, Mar 1, 2014 at 3:52 PM, Omar Acevedo <oma...@gmail.com> wrote:

> Hello people, I'm having an issue in/with Django, which is on a shared
> hosting, and I'm using virtualenv and fastcgi.  (<- saying this, just in
> case it helps in something)
>
> I'm getting
> "OperationalError at /admin/
> no such table: auth_user"
> after entering my credentials (username & pw) set when asked after running
> the syncdb.
> Yes, I created a project (django-admin.py startproject the_project),  then
> ran python manage.py syncdb.
> So it's supposed (which it says it does) to create the tables for the
> admin, but still, I'm getting that error when going to the admin through
> mydomain.com/admin.
>
> I'm a first-timer hosting a django app, so, what else I'm supposed to
> know, to do?  
>
> When I put Debug to False (DEBUG = False) inside the settings.py file and
> my email in the ADMINS tuple (inside settings.py) I do get this error
> message to my email.
> Which is (I'm posting it, to see if someone can tell me what's going on.):
>
>  'HTTP_CONNECTION': 'close',
>  'HTTP_COOKIE': 'csrftoken=Ds5T9Lx4JLgO9m6vCu0EEeLX4tVHr7dH',
>  'HTTP_HOST': 'thisisnottherealdomain .com',
>  'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.3; WOW64)
> AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.117 Safari/537.36',
>  'HTTP_X_FORWARDED_FOR': '##.###.###.###',
>  'HTTP_X_REAL_IP': '##.###.###.###',
>  'PATH': '/sbin:/usr/sbin:/bin:/usr/bin',
>  'PATH_INFO': u'/',
>  'PATH_TRANSLATED': 'redirect:/dispatch.fcgi/',
>  'QUERY_STRING': '',
>  'REDIRECT_STATUS': '200',
>  'REDIRECT_UNIQUE_ID': 'UxJiK0Fj7YUAAE6ava0AAAAN',
>  'REDIRECT_URL': '/',
>  'REMOTE_ADDR': '##.###.###.###',
>  'REMOTE_PORT': '39403',
>  'REQUEST_METHOD': 'GET',
>  'REQUEST_URI': '/',
>  'SCRIPT_FILENAME': '/home/somename/public_html/dispatch.fcgi',
>  'SCRIPT_NAME': u'',
>  'SERVER_ADDR': '###.##.##.###',
>  'SERVER_ADMIN': 'webmaster @ thisisnottherealdomain .com',
>  'SERVER_NAME': 'thisisnottherealdomain .com',
>  'SERVER_PORT': '80',
>  'SERVER_PROTOCOL': 'HTTP/1.0',
>  'SERVER_SIGNATURE': '',
>  'SERVER_SOFTWARE': 'Apache',
>  'UNIQUE_ID': 'UxJiK0Fj7YUAAE6ava0AAAAN',
>  'wsgi.errors': <flup.server.fcgi_base.OutputStream object at
> 0x7f0b2868bf50>,
>  'wsgi.input': <flup.server.fcgi_base.InputStream object at
> 0x7f0b2868bf90>,
>  'wsgi.multiprocess': False,
>  'wsgi.multithread': True,
>  'wsgi.run_once': False,
>  'wsgi.url_scheme': 'http',
>  'wsgi.version': (1, 0)}>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/3afc2a85-5bf1-4170-ace2-bd789babdb33%40googlegroups.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPMFOb5PJn_uLvVYrDyBiwQ0Y97CGtL4YnxM8DDyASRLxKHXKA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to