Loading...
 
Architecture / Installation

Architecture / Installation


Database not defined?

posts: 16 United States

I am going thru another install process for Tiki (version 1.7.4) on IIS/Windows 2k and when going to the tiki-install.php file no matter what I try to do I get a "database not defined" error (or something similar, probably slightly different wording, but that is what it means). I got this last time I installed too, and forget how I fixed it. PHP works, the Tiki databases are installed, MySQL service is running...what am I missing here? register_globals are on...argh

Little help? Thanks for any help.


posts: 16 United States

Yup, not finding Pear appears to be the problem. The only Pear tools I can find on this box are in the tikiwiki folder itself, not in the PHP install...but pathing to the tikiwiki folder didn't help, it made different errors...maybe try a reinstall of PHP, cuz I wasn't the one that originally installed PHP, the original installer may have done something wrong there...

Thoughts? Sound reasonable?


posts: 16 United States

OK, I added the path to tikiwiki's pear to the existing include_path and get the same error:

Warning: MYSQL error: DB Error: no database selected in query:
select value from tiki_preferences where name='siteTitle'
in C:\tikiwiki-1.7.4\lib\tikilib.php on line 101

I KNOWI have seen this error before and fixed it, I just don't recall how...

ARGH


posts: 1001 Canada

Well if you're pondering about a PHP reinstall, why not try 1.8 first? Database stuff was pretty importantly changed, there are very good chances it helps.
Otherwise, think about installing EasyPHP 1.7, it's probably known to be the easiest way to install Tiki.


posts: 16 United States
Got it figured out, the person I was trying to set it up for had a configuration setting with a slash the wrong direction.

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting