09-28-2016, 06:59 AM
Hi!
I am sorry, but the other thread is closed. I am getting the same message when I am logging in from a workstation different from /localhost. When logged on /localhost, everything is working fine. There are some warnings and notices in the error.log file, but nothing from CSRFProtector.php.
Also during the installation there where some problems, but I've solved them. I have not checked are they discussed, so excuse me if I am duplicating:
/install/setup-config.php, line 133
$pieces = split('/',$_SERVER['HTTP_HOST'].dirname($_SERVER['REQUEST_URI']));
split() function deprecated, changed to
$pieces = explode('/',$_SERVER['HTTP_HOST'].dirname($_SERVER['REQUEST_URI']));
/install/odm.php, line 310
$query = "CREATE TABLE IF NOT EXISTS `{$dbprefix}settings` (
`id` INT UNSIGNED NOT NULL AUTO_INCREMENT ,
`name` VARCHAR( 255 ) NOT NULL ,
`value` VARCHAR( 255 ) NOT NULL ,
`description` VARCHAR( 255 ) NOT NULL ,
`validation` VARCHAR( 255 ) NOT NULL ,
PRIMARY KEY ( `id` ) ,
UNIQUE ( `name` )
) ENGINE = MYISAM";
changed to
$query = "CREATE TABLE IF NOT EXISTS `opendocman`.`{$dbprefix}settings` (
`id` INT UNSIGNED NOT NULL AUTO_INCREMENT ,
`name` VARCHAR(255) NOT NULL ,
`value` VARCHAR(255) NOT NULL ,
`description` VARCHAR(255) NOT NULL ,
`validation` VARCHAR(255) NOT NULL ,
PRIMARY KEY (`id`),
UNIQUE (`name`)
) ENGINE = MyISAM CHARSET=utf8 COLLATE utf8_bin";
and installation finished successfully.
I have installed the system on two test servers, running Ubuntu 16.04 (64-bit), and I am getting the same error on both. Can you help?
Thank you for the efforts.
I am sorry, but the other thread is closed. I am getting the same message when I am logging in from a workstation different from /localhost. When logged on /localhost, everything is working fine. There are some warnings and notices in the error.log file, but nothing from CSRFProtector.php.
Also during the installation there where some problems, but I've solved them. I have not checked are they discussed, so excuse me if I am duplicating:
/install/setup-config.php, line 133
$pieces = split('/',$_SERVER['HTTP_HOST'].dirname($_SERVER['REQUEST_URI']));
split() function deprecated, changed to
$pieces = explode('/',$_SERVER['HTTP_HOST'].dirname($_SERVER['REQUEST_URI']));
/install/odm.php, line 310
$query = "CREATE TABLE IF NOT EXISTS `{$dbprefix}settings` (
`id` INT UNSIGNED NOT NULL AUTO_INCREMENT ,
`name` VARCHAR( 255 ) NOT NULL ,
`value` VARCHAR( 255 ) NOT NULL ,
`description` VARCHAR( 255 ) NOT NULL ,
`validation` VARCHAR( 255 ) NOT NULL ,
PRIMARY KEY ( `id` ) ,
UNIQUE ( `name` )
) ENGINE = MYISAM";
changed to
$query = "CREATE TABLE IF NOT EXISTS `opendocman`.`{$dbprefix}settings` (
`id` INT UNSIGNED NOT NULL AUTO_INCREMENT ,
`name` VARCHAR(255) NOT NULL ,
`value` VARCHAR(255) NOT NULL ,
`description` VARCHAR(255) NOT NULL ,
`validation` VARCHAR(255) NOT NULL ,
PRIMARY KEY (`id`),
UNIQUE (`name`)
) ENGINE = MyISAM CHARSET=utf8 COLLATE utf8_bin";
and installation finished successfully.
I have installed the system on two test servers, running Ubuntu 16.04 (64-bit), and I am getting the same error on both. Can you help?
Thank you for the efforts.