Loading...
 
Skip to main content

Architecture / Installation


Unable to install tiki 9.2

Hi forum, I've installed tiki from v6 many times, but now I'm experienced an issue with a 9.2 installation from scratch on Ubuntu

I've installed all the required packages, and checked the environment with the new check tool (all ok)

With $api_tiki='adodb'; in the local.php, the installation process, after selecting the language and accepting the license, show the following:

Missing file: /var/www/tikiwiki/tiki-9.2/lib/adodb/drivers/adodb-mysql improved (mysqli).inc.php
Strict Standards: Non-static method PEAR::getStaticProperty() should not be called statically, assuming $this from incompatible context in /var/www/tikiwiki/tiki-9.2/lib/pear/PEAR.php on line 871

But the "missing file" is here... or I'm wrong ?

Copy to clipboard
# ls -ltr /var/www/tikiwiki/tiki-9.2/lib/adodb/drivers/adodb-mysql* -rw-rw-r-- 1 www-data www-data 3806 jun 20 13:15 /var/www/tikiwiki/tiki-9.2/lib/adodb/drivers/adodb-mysqlt.inc.php -rw-rw-r-- 1 www-data www-data 3214 jun 20 13:15 /var/www/tikiwiki/tiki-9.2/lib/adodb/drivers/adodb-mysqlpo.inc.php -rw-rw-r-- 1 www-data www-data 23349 jun 20 13:15 /var/www/tikiwiki/tiki-9.2/lib/adodb/drivers/adodb-mysql.inc.php -rw-rw-r-- 1 www-data www-data 33440 jun 20 13:15 /var/www/tikiwiki/tiki-9.2/lib/adodb/drivers/adodb-mysqli.inc.php

The installer add the following lines to the local.php:

Copy to clipboard
$db_tiki='MySQL Improved (mysqli)'; $dbversion_tiki='2.0';

Anyway, if I change adodb for pdo, I get the following:

ADONewConnection: Unable to load database driver ''
Invalid db object passed to TikiDB constructor

Any advice is wellcome

Regards,
Alfonso


Solved

My problem was in the local.php, the solution was delete the api_tiki line, set db_tiki to mysql and dbversion_tiki to 9.2

My complete local.php file is: