Community Support for OpenDocMan (Deprecated)
instal hangs problem - 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: instal hangs problem (/thread-371.html)



instal hangs problem - wk4997 - 01-27-2011

I am attempting to install 1.2.5.7 and I get the following error:
Code:
Could not insert new version into db user

Now, I have pinpointed the problem to the odm.php file (the last action before I can login):
Code:
// Create version number in db
$result = mysql_query("
INSERT INTO {$GLOBALS['CONFIG']['db_prefix']}odmsys VALUES ('','version','1.2.5.7')
") or die("<br>Could insert new version into db user");

Why would it hang there?

-Wes


Re: instal hangs problem - Stephen - 01-28-2011

Change the ('','version','1.2.5.7') to (NULL,'version','1.2.5.7') probably.