Community Support for OpenDocMan (Deprecated)

Full Version: New Install Error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi Guys

Trying to install the latest version, but I keep getting the same error:

Quote:Checking that templates_c folder is writeable... OK
installing...
Database Created
Database Selected

Could not create odm_access_log table. Error was:You have an error in your SQL syntax near 'CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, `action` enum('A','B','C','V','' at line 5

Quote:SQL query:

# MySQL dump of OpenDocMan
#
#--------------------------------------------------------
#
# Table structure for table 'odm_access_log'
#
CREATE TABLE `odm_access_log` (

`file_id` INT( 11 ) NOT NULL ,
`user_id` INT( 11 ) NOT NULL ,
`timestamp` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ,
`action` ENUM( 'A', 'B', 'C', 'V', 'D', 'M', 'X', 'I', 'O', 'Y', 'R' ) NOT NULL
) ENGINE = MYISAM
MySQL said: Documentation

#1064 - You have an error in your SQL syntax near 'CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
`action` enum('A','B','C','V',' at line 12

This also happens with the last version.
I have tried the install-procedure and also running the database.sql directly on the MySQL server, no luck.

Can anybody point me in the right direction?

Thanks
What version of MySQL are you using?


(09-21-2014, 08:37 AM)fargo Wrote: [ -> ]Hi Guys

Trying to install the latest version, but I keep getting the same error:

Quote:Checking that templates_c folder is writeable... OK
installing...
Database Created
Database Selected

Could not create odm_access_log table. Error was:You have an error in your SQL syntax near 'CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, `action` enum('A','B','C','V','' at line 5

Quote:SQL query:

# MySQL dump of OpenDocMan
#
#--------------------------------------------------------
#
# Table structure for table 'odm_access_log'
#
CREATE TABLE `odm_access_log` (

`file_id` INT( 11 ) NOT NULL ,
`user_id` INT( 11 ) NOT NULL ,
`timestamp` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ,
`action` ENUM( 'A', 'B', 'C', 'V', 'D', 'M', 'X', 'I', 'O', 'Y', 'R' ) NOT NULL
) ENGINE = MYISAM
MySQL said: Documentation

#1064 - You have an error in your SQL syntax near 'CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
`action` enum('A','B','C','V',' at line 12

This also happens with the last version.
I have tried the install-procedure and also running the database.sql directly on the MySQL server, no luck.

Can anybody point me in the right direction?

Thanks