Close

Menu FOLIOPAGES

FolioPages Support

   


13 topics
Hi, i'm trying to install foliopages CMS v1.5.3 on {Ubuntu 20.04, LAMPP v. 7.4.22, Apache2 v.2.4.48, PHP v.7.4.22, MariaDB 10.4.20 and PHPMyAdmin 5.1.1}Here are the steps that i have done:1) I've created a database named "foliopages" with the user "foliopages" granting him every permission2) Unzipped all the files3) Moved all the files in the webroot (/opt/lampp/htdocs/) and gave chmod 666 (read/write perm) to the directory4) Gone to install.php which gave me this info: Apache version 2.4 or higher detected. PHP version 7 or higher detected. PHP GD extension detected. Database connected. PDO extension detected. 5) Filled every input box with valid information such as email and username6) Clicked on "install foliopages"But the webapp throw me an error: Fatal error: Uncaught PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1' for key 'PRIMARY' in /opt/lampp/htdocs/foliopages/install.php:395 Stack trace: #0 /opt/lampp/htdocs/foliopages/install.php(395): PDO->query('INSERT INTO `fp...') #1 {main} thrown in /opt/lampp/htdocs/foliopages/install.php on line 395The weird fact is that if i try to browse my site it works!, but i can't login with the user that i just created because it gives me another error similar to the previous one: Fatal error: Uncaught PDOException: SQLSTATE[22007]: Invalid datetime format: 1292 Incorrect datetime value: 'UTC_TIMESTAMP()' for column `foliopages`.`fp_failed_logins`.`login_date` at row 1 in /opt/lampp/htdocs/foliopages/signin.php:170 Stack trace: #0 /opt/lampp/htdocs/foliopages/signin.php(170): PDOStatement->execute(Array) #1 {main} thrown in /opt/lampp/htdocs/foliopages/signin.php on line 170

Topic #14 Aug 19, 2021 by Davide Taraschi
1

Issue
1

Issue