Loading...
 
Architecture / Installation

Architecture / Installation


tiki-install.php silently dies

posts: 5

hi all,

I'm trying to install tiki1.7.1.1 on a webhost where safemode is apied. I know I have pear.

Somehow, after asking for infos about database connection, tiki-install.php silently dies.

The only thing I receive on my browser is this:
Warning: ini_set() has been disabled for security reasons in tiki-install.php on line 269

Is it really related to the fact that I can't use ini_set on my web host? If so, what is the workaround?

I've tried to debug it by printing some information on the code, like this (bneginning line 267):


include($DOCUMENT_ROOT.'/db/local.php');
$dsn = "mysql://$user_tiki:$pass_tiki@$host_tiki/$dbs_tiki";
print " '$dsn' dans tiki-install.php successfully created" ;
$dbTiki = DB::connect($dsn);
if (DB::isError($dbTiki)) {
print "dbcon false rrorr";
$dbcon = false;
$smarty->assign('dbcon','n');
} else {

print "dbcon true yeah";
$dbcon = true;
$smarty->assign('dbcon','y');
}


this line of code show the right $dsn on the resulting web page. Somehow, I have neither "dbcon false error" nor "dbcon true yeah" on the resulting web page as if there are some problemes ont the line:
$dbtiki= DB::connect($dsn)


Note: I've already made the necessary modifications required by the doc InstallTikiUnderSafeMode

Anyone can shed the light please?

Hery Zo

There are no comments at this time.