I am getting the below error message...I am unable to resolve pleasehelp...I am using apache,php and win XP
TestLink Installation - new
TestLink setup will now attempt to setup the database:
Creating connection to Database Server: OK!
OK!
Checking MySQL version: OK! (4.1.10-nt >= 4.1.0)
Selecting database `TestLink`: OK!
Creating Testlink DB user `admin`: OK! (ok - user_exists)
Processing:sql/testlink_create_tables.sql
Importing StartUp data OK!
Writing configuration file:
Notice: Undefined variable: user_host in c:\\inetpub\\wwwroot\\testlink\\testlink\\install\\installNewDB.php on line 472
Failed!
TestLink couldn\'t write the config file. Please copy the following into the ../config_db.inc.php file:
Once that\'s been done, you can log into TestLink by pointing your browser at your TestLink site.
Please help me in this regard urgent
Moderators: Amaradana, TurboPT, TL Developers
Re: Please help me in this regard urgent
I have now installed testlink 1.6.1.But even after that I am getting the same error message.Also there is no config_db.inc.php file in the testlink directory.I login to the testlink website using http://localhost/testlink/login.php.After this it asks for database name,database login,database pwd.And on entering all these info and agreeing to the terms and conditions displays the error message.Testuser wrote:I am getting the below error message...I am unable to resolve pleasehelp...I am using apache,php and win XP
TestLink Installation - new
TestLink setup will now attempt to setup the database:
Creating connection to Database Server: OK!
OK!
Checking MySQL version: OK! (4.1.10-nt >= 4.1.0)
Selecting database `TestLink`: OK!
Creating Testlink DB user `admin`: OK! (ok - user_exists)
Processing:sql/testlink_create_tables.sql
Importing StartUp data OK!
Writing configuration file:
Notice: Undefined variable: user_host in c:\\\\inetpub\\\\wwwroot\\\\testlink\\\\testlink\\\\install\\\\installNewDB.php on line 472
Failed!
TestLink couldn\\\'t write the config file. Please copy the following into the ../config_db.inc.php file:
Once that\\\'s been done, you can log into TestLink by pointing your browser at your TestLink site.
I guess that you are using linux/unix and installation script has not rights to create the file testlink/config_db.inc.php.
You must allow it by chmod command or create the file manually. E.g.
{?php
// Automatically Generated by TestLink Installer
define(\\\'DB_TYPE\\\', \\\'mysql\\\');
define(\\\'DB_USER\\\', \\\'testlinker\\\');
define(\\\'DB_PASS\\\', \\\'testlinker\\\');
define(\\\'DB_HOST\\\', \\\'localhost\\\');
define(\\\'DB_NAME\\\', \\\'tldev1\\\');
?}
(without backslash)
You must allow it by chmod command or create the file manually. E.g.
{?php
// Automatically Generated by TestLink Installer
define(\\\'DB_TYPE\\\', \\\'mysql\\\');
define(\\\'DB_USER\\\', \\\'testlinker\\\');
define(\\\'DB_PASS\\\', \\\'testlinker\\\');
define(\\\'DB_HOST\\\', \\\'localhost\\\');
define(\\\'DB_NAME\\\', \\\'tldev1\\\');
?}
(without backslash)
Did you settle this problem?
I met this trouble,too.
I install my testlink on IIS+php5.2.1+MySQL5.0.37 on windows xp.
I don't know how to chomd the rights on the windows xp.
I install my testlink on IIS+php5.2.1+MySQL5.0.37 on windows xp.
I don't know how to chomd the rights on the windows xp.
Re: Did you settle this problem?
Alinda wrote:I met this trouble,too.
I install my testlink1.6.2 on IIS+php5.2.1+MySQL5.0.37 on windows xp.
I don't know how to chomd the rights on the windows xp.