Loading...
 
Architecture / Installation

Architecture / Installation


Require_once?

posts: 11

Hallo!

A simple question; when I'm typing in the db-info in the "tiki-db.php"-file during the installation, what should a type in the "require_once" field? The deafault value is db.php but that doesn't work.

_
// Database connection for the tiki system
require_once('???');
$host_tiki = 'localhost';
$user_tiki = ****';
$pass_tiki = '****';
$dbs_tiki = ****';
$tikidomain = '';
_

Someone help me?

Thanks/Faroth

posts: 11

I think I found which file to type, someone called "append.php" but I'm not sure it's the right one.

Now, when I'm trying to open the site it's all blank. Nothing appears on the tiki-index.php page and the same goes for tiki-admin.php.

If I let the value 'db.php' stay in tiki-db.php I get this Error message:

Fatal error: main(): Failed opening required 'db.php' (include_path='.:/data/apache/php/mmp_lib') in ********/********/tikiwiki/db/tiki-db.php on line 14

What am I going wrong?


posts: 1001 Canada

Hi Faroth,
I remember reading this a few times, but not what's the solution. Maybe you can find in SOurceForge bug trackers or Help forum. Otherwise, do you get this with 1.8?
Come at IRC #tikiwiki and maybe you find some help there.

posts: 11

> Chealer9:
> Hi Faroth,
> I remember reading this a few times, but not what's the solution. Maybe you can find in SOurceForge bug trackers or Help forum. Otherwise, do you get this with 1.8?
> Come at IRC #tikiwiki and maybe you find some help there.

No, I installed 1.8 after reading your post. But to be honest, I have no idea how to install it. I don't know much about these things but I
really want to get Tikiwiki to work.

I have uploaded all files via ftp and changed the CHMOD.

What to do with the install.sh file. From where should i execute it for exemple?

Haven't someone made an "install-guide for Dummies" ;)?


posts: 11

> Chealer9:
> Hi Faroth,
> I remember reading this a few times, but not what's the solution. Maybe you can find in SOurceForge bug trackers or Help forum. Otherwise, do you get this with 1.8?
> Come at IRC #tikiwiki and maybe you find some help there.

No, I installed 1.8 after reading your post. But to be honest, I have no idea how to install it. I don't know much about these things but I
really want to get Tikiwiki to work.

I have uploaded all files via ftp and changed the CHMOD.

What to do with the install.sh file. From where should i execute it for exemple?

Haven't someone made an "install-guide for Dummies" ;)?


posts: 1001 Canada

InstallWithOnlyFtpAccess explains how to perform an installation with only FTP access, did you read it?
setup.sh only changes permissions AFAIK, anyway you can probably read the code to check. You can't execuit it if you have only FTP access, the page must mention how to replace its action manually.

My understanding is that Ftp-only and Safemode installs are at least twice harder to do than normal ones.

posts: 11

> Chealer9:
> InstallWithOnlyFtpAccess explains how to perform an installation with only FTP access, did you read it?
> setup.sh only changes permissions AFAIK, anyway you can probably read the code to check. You can't execuit it if you have only FTP access, the page must mention how to replace its action manually.
>
> My understanding is that Ftp-only and Safemode installs are at least twice harder to do than normal ones.

Yes, I've followed the installation with only FTP access. When I made the changes in tiki-db.php I get these errors when I'm trying to view tiki-index.php:

Warning: main(adodb.inc.php): failed to open stream: No such file or directory in /data/members/free/tripod/se/l/i/t/litteratur/htdocs/tiki/db/tiki-db.php on line 73

Warning: main(): Failed opening 'adodb.inc.php' for inclusion (include_path='.:/data/apache/php/mmp_lib') in /data/members/free/tripod/se/l/i/t/litteratur/htdocs/tiki/db/tiki-db.php on line 73

Warning: main(adodb-pear.inc.php): failed to open stream: No such file or directory in /data/members/free/tripod/se/l/i/t/litteratur/htdocs/tiki/db/tiki-db.php on line 77

Warning: main(): Failed opening 'adodb-pear.inc.php' for inclusion (include_path='.:/data/apache/php/mmp_lib') in /data/members/free/tripod/se/l/i/t/litteratur/htdocs/tiki/db/tiki-db.php on line 77

Notice: Use of undefined constant ADODB_FETCH_ASSOC - assumed 'ADODB_FETCH_ASSOC' in /data/members/free/tripod/se/l/i/t/litteratur/htdocs/tiki/db/tiki-db.php on line 88

Fatal error: Call to undefined function: adonewconnection() in /data/members/free/tripod/se/l/i/t/litteratur/htdocs/tiki/db/tiki-db.php on line 104


Btw, which way is the best to install tikki if I want to install it on a webserver?


posts: 11

> Chealer9:
> InstallWithOnlyFtpAccess explains how to perform an installation with only FTP access, did you read it?
> setup.sh only changes permissions AFAIK, anyway you can probably read the code to check. You can't execuit it if you have only FTP access, the page must mention how to replace its action manually.
>
> My understanding is that Ftp-only and Safemode installs are at least twice harder to do than normal ones.

Yes, I've followed the installation with only FTP access. When I made the changes in tiki-db.php I get these errors when I'm trying to view tiki-index.php:

Warning: main(adodb.inc.php): failed to open stream: No such file or directory in /data/members/free/tripod/se/l/i/t/litteratur/htdocs/tiki/db/tiki-db.php on line 73

Warning: main(): Failed opening 'adodb.inc.php' for inclusion (include_path='.:/data/apache/php/mmp_lib') in /data/members/free/tripod/se/l/i/t/litteratur/htdocs/tiki/db/tiki-db.php on line 73

Warning: main(adodb-pear.inc.php): failed to open stream: No such file or directory in /data/members/free/tripod/se/l/i/t/litteratur/htdocs/tiki/db/tiki-db.php on line 77

Warning: main(): Failed opening 'adodb-pear.inc.php' for inclusion (include_path='.:/data/apache/php/mmp_lib') in /data/members/free/tripod/se/l/i/t/litteratur/htdocs/tiki/db/tiki-db.php on line 77

Notice: Use of undefined constant ADODB_FETCH_ASSOC - assumed 'ADODB_FETCH_ASSOC' in /data/members/free/tripod/se/l/i/t/litteratur/htdocs/tiki/db/tiki-db.php on line 88

Fatal error: Call to undefined function: adonewconnection() in /data/members/free/tripod/se/l/i/t/litteratur/htdocs/tiki/db/tiki-db.php on line 104


Btw, which way is the best to install tikki if I want to install it on a webserver?


posts: 11

Ok, I made some changes in tiki-db.php and now I only lol get this Fatal Error message:

Fatal error: Call to undefined function: adonewconnection() in /data/members/free/tripod/se/l/i/t/litteratur/htdocs/tiki/db/tiki-db.php on line 104

Sorry if I'm causing trouble but I really want to make this wiki-software work.

/Faroth


posts: 1001 Canada

adonewconnection() is defined in adodb.inc.php so it looks like you have the same problem.
this file is in tiki/lib/adodb which directory is declared as include path in tiki-db.php (TikiInit::prependIncludePath('lib/adodb');). Are you sure you don,t have safe mode restrictions too?


posts: 2881 United Kingdom

Hate to mention this but revert tiki-db.php back to the default and make your changes in local.php or get tiki-install.php to create this first