while trying to install cmsms without mysql, selecting the sqlite backend instead, I ran into several problems:
First I was denied access to the sqlite-Database. I fixed this by creating a file cms.sqlite in $cms_root and giving it correct permissons (poor apache needs to write it). Wouldn't it be sensible if somebody made a corresponding addition to INSTALL.txt?
Then I ran into another problem: the installer said that he wasn't able to locate sqlitepo_datadict.inc in folder ~/lib/adodb_lite_adodbSQL_drivers/sqlitepo. A quick check told me that this was nothing to wonder about - folder sqlitepo simply didn't exist. I guessed correctly that I could fix the problem with two symlinks: sqlitepo to folder sqlite and sqlitepo_datadict.inc to sqlite_datadict.inc in that very folder.
The last remaining bug was the installer complaining about not being able to execute line 161 in adodb.inc.php. That line is responsible for initializing a new class of a certain type and fetches it's information about the class in case of sqlite from the above-mentioned file. So I changed line 17-19 in sqlitepo_datadict.inc to look like this (notice the pos):
Code: Select all
class ADODB2_sqlitepo extends ADODB_DataDict {
var $dbtype = 'sqlitepo';
Greetings,
Dirk