Loading...
 
Skip to main content

Architecture / Installation


ORACLE 9.2 . tikiwiki INSTALLATION TROUBLES!!!

Dear developers!

I have too much troubles with tikiwiki oracle installation.

Tell me please, are tikiwiki be able to work with oracle 9.2?


At the beggining of installation I get the following error message:
"Tiki cannot find a database connection
Please enter your database connection info"
but I'm correctly fill following setup fields

Database type: oracle 9i
Host:
User:
Password:
Database name: orcl

Anybody have an idea?

Are you putting something in the host, user and password fields?

Also is your PHP setup to use Oracle?

I'm no oracle guru, so I cant help, although I think Chandra has a oracle installation page.

Damian


Hi

I had similar trouble to you

This is what I did (assuming that you have PHP correctly compiled + installed)

The database selection page didn't work for me either so I went to the db directory and created a local.php file with the correct entries in it

Here is mine :-
local.php

$db_tiki="oci8";
$dbversion_tiki="1.8";
$host_tiki="TIKI";
$user_tiki="tiki";
$pass_tiki="tiki";
$dbs_tiki="";

Don't forget your php tags

Make sure that you have the listener running and that you have a bequeath connection to your DB if its on the local m/c.

Make sure that you have an alias to your tiki database set up in your TNSNAMES.ORA file

You may have a problem with using the right character set as the default oracle database will probably not be installed using a unicode charater set (UTF8)

Make sure that your apache environment is set correctly before you start it. Heres my start script for Apache

ORACLE_HOME=/u01/app/oracle/product/9.2.0
ORACLE_SID=TIKI
LANG=en_GB.UTF-8
export ORACLE_HOME ORACLE_SID
echo "Oracle Home: $ORACLE_HOME"
echo "Oracle SID: $ORACLE_SID"
echo Starting Apache
./apachectl start

This also gave me grief when I was trying to log in as admin/admin

I dropped anything to do with the user_user table i.e the sequence,table,trigger etc and recreated them all from a native SQL prompt. Here is my unix environment.

HOSTNAME=Newbarn
PVM_RSH=/usr/bin/rsh
SHELL=/bin/bash
TERM=xterm
HISTSIZE=1000
TMPDIR=/tmp
ORACLE_DOC=/u01/app/oracle/product/9.2.0/doc
QTDIR=/usr/lib/qt3-gcc3.2
ORACLE_OWNER=oracle
USER=oracle
LD_LIBRARY_PATH=/u01/app/oracle/product/9.2.0/lib:/lib:/usr/lib:/usr/local/lib
LS_COLORS=
ORACLE_SID=TIKI
ORACLE_BASE=/u01/app/oracle
PVM_ROOT=/usr/share/pvm3
TNS_ADMIN=/u01/app/oracle/product/9.2.0/network/admin
MAIL=/var/spool/mail/oracle
PATH=/u01/app/oracle/product/9.2.0/bin:/opt/bin:/bin:/usr/bin:/usr/local/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/java/bin:.
INPUTRC=/etc/inputrc
PWD=/usr/local/apache/bin
JAVA_HOME=/usr/local/java
EDITOR=vi
LANG=en_GB.UTF-8
LAMHELPFILE=/etc/lam/lam-helpfile
ORACLE_TERM=xterm
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SHLVL=1
HOME=/u01/app/oracle
XPVM_ROOT=/usr/share/pvm3/xpvm
LD_ASSUME_KERNEL=2.2.5
LOGNAME=oracle
CLASSPATH=/u01/app/oracle/product/9.2.0/jdbc/lib/ojdbc14.jar:/u01/app/oracle/product/9.2.0/JRE:/u01/app/oracle/product/9.2.0/jlib:/u01/app/orac
le/product/9.2.0/rdbms/jlib:/u01/app/oracle/product/9.2.0/network/jlib:.
LESSOPEN=|/usr/bin/lesspipe.sh %s
ORA_NLS33=/u01/app/oracle/product/9.2.0/ocommon/nls/admin/data
DISPLAY=:0
ORACLE_HOME=/u01/app/oracle/product/9.2.0
G_BROKEN_FILENAMES=1
_=/bin/env
OLDPWD=/usr/local/apache

Everything then worked fine.