It's installed, sort of, now what?

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
drew
Advanced user
Posts: 23
Joined: Fri Jun 30, 2006 8:19 pm

It's installed, sort of, now what?

Post by drew »

I'm running SUSE 10, Mysql is enabled and configured properly.

I tried running the automatic installer. I entered DB info, I agreed to the license, and then at the next page testlink-1.6.2/install/installNewDB.php

it says

TestLink setup will now attempt to setup the database:

Creating connection to Database Server:

And then nothing. It does not proceed after that, no error messages, nothing.

Fine. I tried doing the install manually. I created the database 'testlink' created a mysql user and gave him full permissions to the database. I crated the tables and imported the default data
Next I created the config_db.inc.php file with the DB info in the htdocs/testlink-1.6.2/ directory. Now when I try to point to http://10.20.xxx.xxx/testlink-1.6.2/index.php I get redirected to http://10.20.xxx.xxx/testlink-1.6.2/log ... te=expired

I tried the 1.6.3 RC as well and got the exact same results? Any ideas as to why I can't get a log in screen, or why the installer doesn't work? Help would be greatly appreciated.
drew
Advanced user
Posts: 23
Joined: Fri Jun 30, 2006 8:19 pm

Post by drew »

I looked through the web server logs and found that the mysql_connect() was failing becauase it was not a recognisable function.

It turns out that there were a number of php-mysql packages that did not get installed as part of the full Suse install, strange, because I though that a full install meant install everything. So I installed all the php-mysql packages and I'm now able to login. That must have been why the installer wasnt working, because it could not do a mysql_connect() though I'm surprised that it did not error out, or check for the right php_mysql package before calling a funciton.

I seem to be up and running so far.
havlatm
Member of TestLink Community
Posts: 940
Joined: Mon Oct 31, 2005 1:24 am
Location: Czech

Post by havlatm »

1.6 version officially doesn't support php5. The development was done with php4. Thats reason that unavailable mysql support in php5 is not checked before instalation.

Martin
dilbert166
Advanced user
Posts: 41
Joined: Wed Sep 13, 2006 8:34 pm

Post by dilbert166 »

havlatm wrote:Thats reason that unavailable mysql support in php5 is not checked before instalation.
adding to the not really understandable fact, that php comes out of the box with mysql-support disabled...
anyhow, i have testlink up and running with php5 and it seems to work pretty well.
havlatm
Member of TestLink Community
Posts: 940
Joined: Mon Oct 31, 2005 1:24 am
Location: Czech

Post by havlatm »

Thanks. I apologize my wrong english. I mean just a configuration of php5. We have no information that TL 1.6 has problems with php5 environment. So, both php4 and php5 are possible to use.
Post Reply