being redirected to install page when trying to login

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
henrik
TestLink user
Posts: 5
Joined: Wed Jun 06, 2007 9:52 am

being redirected to install page when trying to login

Post by henrik »

I just tried to download and install testlink, and I've had a few problems along the way which have been resolved - but now I'm stuck..

I'm running an IIS 5.1 on my winxp pro just for testing.
PHP is 5.2.2 with libmysql.dll from 5.2.1 (was some problem with the 5.2.2 version)
The DB is a MySQL 5 running on another server.

The installation went okay, and i copied the requested text into config.inc.php cause the install couldn't write to the file by itself.

Now when i'm trying to access
http://localhost/testlink/login.php
I just get forwarded to:
http://localhost/testlink/install/index.php

Where i get the options of:
TestLink Setup

New installation
Upgrade installation
Migration from 1.6.2 to 1.7.0


Is this a known issue, or is there some log i can review to see why this is happening?
henrik
TestLink user
Posts: 5
Joined: Wed Jun 06, 2007 9:52 am

Post by henrik »

Forgot to mention that the version of testlink is TestLink 1.7.0 RC 2
henrik
TestLink user
Posts: 5
Joined: Wed Jun 06, 2007 9:52 am

Post by henrik »

... and upon reading the instructions again, I figured the difference between
config_db.inc.php and config.inc.php

The config_db.inc.php didn't exist, so I created it and pasted the below into it.
<?php
// Automatically Generated by TestLink Installer
define('DB_TYPE', 'mysql');
define('DB_USER', 'xxx');
define('DB_PASS', 'xxx');
define('DB_HOST', 'xxx');
define('DB_NAME', 'testlink');
?>

after saving the file and trying to access after this I no longer get redirected, but instead just get a blank page when trying to access http://localhost/testlink/login.php
henrik
TestLink user
Posts: 5
Joined: Wed Jun 06, 2007 9:52 am

Post by henrik »

seemed to be related to filesystem permissions, can login now so no need for any replies
oscanada
TestLink user
Posts: 2
Joined: Wed Jul 11, 2007 1:20 am

Post by oscanada »

henrik wrote:... and upon reading the instructions again, I figured the difference between
config_db.inc.php and config.inc.php

The config_db.inc.php didn't exist, so I created it and pasted the below into it.
<?php
// Automatically Generated by TestLink Installer
define('DB_TYPE', 'mysql');
define('DB_USER', 'xxx');
define('DB_PASS', 'xxx');
define('DB_HOST', 'xxx');
define('DB_NAME', 'testlink');
?>

after saving the file and trying to access after this I no longer get redirected, but instead just get a blank page when trying to access http://localhost/testlink/login.php

hi,

I seen to have the same problem as henrik. After installation I am told that I should go to the login page and use the credentials admin / admin. but instead, i see nothing the a blank screen.

The user above mentioned that the problem was fixed by modifying the file system permissions....

could someone provide a bit more info on that please?

Thank you in advance.
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Post by fman »

I do my development on :
window XP
PHP 5.2.0
MysQl 5.0.24
apache 2.0


I've runned hundreds of times the installer without problems.
Please explain better what are the messages your are getting
henrik
TestLink user
Posts: 5
Joined: Wed Jun 06, 2007 9:52 am

Post by henrik »

Try to check what ntfs permissions the "machinename\IUSR_machinename" has on the testlink directory.

If you're using a different account for the "open Internet Information Services -> rightclick testlink folder -> click properties -> click directory security -> click edit -> check the username"

Then you would have to give this account permissions I believe.
oscanada
TestLink user
Posts: 2
Joined: Wed Jul 11, 2007 1:20 am

Post by oscanada »

hi,

This is what i get before the installation:
Checking PHP version: OK! ( 5.0.0 [minimun version] <= 5.0.4 [your version] )
Checking if Register Globals = OFF: OK!
Checking PHP DB extensions OK!
Checking if sessions are properly configured: OK!
Checking if ../gui/templates_c directory exists: OK!
Checking if ../gui/templates_c directory is writable: OK!

and this is what i get after the installation...

TestLink setup will now attempt to setup the database:

Creating connection to Database Server: OK!


Checking MySQL version: OK! (4.1.22 >= 4.1.0)


Connecting to database `testlink`: OK!1044 - Access denied for user '*********'@'%' to database 'mysql' - SELECT DISTINCT user AS user FROM user
Creating Testlink DB user `*********`: Failed! - Could not create user: octavian!
Dropping all existent tables:Done!
Processing:sql/mysql/testlink_create_tables.sql

Importing StartUp data OK!
Writing configuration file: OK!

Installation was successful! You can now log into the TestLink (using login name:admin / password:admin - Please Click Me!).


the installation is on Unix: FreeBSD

when i go back to the /testlink/login.php screen, i see nothing more then an empty page.

@henrik : I don't think i can do that because i am actually installing testlink through FTP on a remote server.

Any help if appreciated.

Thank you in advance
Post Reply