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

+- Community Support for OpenDocMan (Deprecated) (
+-- Forum: OpenDocMan Community Discussion (
+--- Forum: OpenDocMan Support - Community Based (
+--- Thread: MYSQL Query Error (/thread-145.html)

MYSQL Query Error - Stephen - 01-13-2010

2007-08-19 09:58:30 PDT

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) = 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) = 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.


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