Community Support for OpenDocMan (Deprecated)
MYSQL Query Error - Printable Version

+- Community Support for OpenDocMan (Deprecated) (https://forum.opendocman.com)
+-- Forum: OpenDocMan Community Discussion (https://forum.opendocman.com/forum-5.html)
+--- Forum: OpenDocMan Support - Community Based (https://forum.opendocman.com/forum-6.html)
+--- Thread: MYSQL Query Error (/thread-145.html)



MYSQL Query Error - Stephen - 01-13-2010

macounette
2007-08-19 09:58:30 PDT
Hello,

I have installed OpendocMan on my provider's webspace.

Now I am trying to log in with the default user ("admin"), but I am unable to log in, I get the following error message :

Error in query: SELECT (database).user.username FROM (database).user WHERE (database).user.id = 1
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(database).user WHERE (database).user.id = 1' at line 1

The error seems to be originated by a file "out.php" but I can't find where it is.
(database) is a placeholder for the real database name.

I'd really appreciate your help on this.

Thanks,
Mac


macounette
2007-08-19 10:39:22 PDT
I have of course modified config_local.php with the appropriate settings.