TestLink Login Problem - IIS
TestLink Login Problem - IIS
While installing the TestLink 1.7 under PHP5 and MYSQL4.3 we got the following error
Creating Testlink DB user `root`: OK! (ok - user_exists ok - grant assignment)
Processing:sql/mysql/testlink_create_tables.sql
Importing StartUp data OK!
Writing configuration file: Failed!
TestLink couldn't write the config file. Please copy the following into the ../config_db.inc.php file:
<?php
// Automatically Generated by TestLink Installer
define('DB_TYPE', 'mysql');
define('DB_USER', 'root');
define('DB_PASS', 'laxmi');
define('DB_HOST', 'localhost');
define('DB_NAME', 'TestLink');
?>Once that's been done, you can log into TestLink by pointing your browser at your TestLink site.
So I created a file with the name config_db.inc.php in TestLINK dir
and i tried to login through broeswer iam getting the following errors
Warning: Smarty::include(c:\Inetpub\wwwroot\testlink\gui\templates_c\\%%6A^6A5^6A537DD8%%login.tpl.php) [function.Smarty-include]: failed to open stream: No such file or directory in c:\Inetpub\wwwroot\testlink\third_party\smarty\Smarty.class.php on line 1247
Warning: Smarty::include() [function.include]: Failed opening 'c:\Inetpub\wwwroot\testlink\gui\templates_c\\%%6A^6A5^6A537DD8%%login.tpl.php' for inclusion (include_path='.;c:\php\includes;.;c:\Inetpub\wwwroot\testlink\lib\functions\;') in c:\Inetpub\wwwroot\testlink\third_party\smarty\Smarty.class.php on line 1247
PLease help me in this to continue on TestLink
Creating Testlink DB user `root`: OK! (ok - user_exists ok - grant assignment)
Processing:sql/mysql/testlink_create_tables.sql
Importing StartUp data OK!
Writing configuration file: Failed!
TestLink couldn't write the config file. Please copy the following into the ../config_db.inc.php file:
<?php
// Automatically Generated by TestLink Installer
define('DB_TYPE', 'mysql');
define('DB_USER', 'root');
define('DB_PASS', 'laxmi');
define('DB_HOST', 'localhost');
define('DB_NAME', 'TestLink');
?>Once that's been done, you can log into TestLink by pointing your browser at your TestLink site.
So I created a file with the name config_db.inc.php in TestLINK dir
and i tried to login through broeswer iam getting the following errors
Warning: Smarty::include(c:\Inetpub\wwwroot\testlink\gui\templates_c\\%%6A^6A5^6A537DD8%%login.tpl.php) [function.Smarty-include]: failed to open stream: No such file or directory in c:\Inetpub\wwwroot\testlink\third_party\smarty\Smarty.class.php on line 1247
Warning: Smarty::include() [function.include]: Failed opening 'c:\Inetpub\wwwroot\testlink\gui\templates_c\\%%6A^6A5^6A537DD8%%login.tpl.php' for inclusion (include_path='.;c:\php\includes;.;c:\Inetpub\wwwroot\testlink\lib\functions\;') in c:\Inetpub\wwwroot\testlink\third_party\smarty\Smarty.class.php on line 1247
PLease help me in this to continue on TestLink
-
- TestLink user
- Posts: 4
- Joined: Mon Aug 25, 2008 7:03 pm
fix
Well, this was posted almost a year ago, but since this forum seems to have a tendencey for threads to simply die without a solution I will post what I found.
I had the same problem running PHP 5, mySQL 5, and Windows Server 2003 WE, using IIS. To fix this error make sure that the IIS_WPG user has NTFS WRITE access to your testlink install directory. This will allow testlink to install without error.
I had the same problem running PHP 5, mySQL 5, and Windows Server 2003 WE, using IIS. To fix this error make sure that the IIS_WPG user has NTFS WRITE access to your testlink install directory. This will allow testlink to install without error.
-
- TestLink user
- Posts: 4
- Joined: Mon Aug 25, 2008 7:03 pm
Oops! Forgot one thing. This will fix the instillation error, but in my case it did not fix the Smarty error. Alll recommendations I have found suggest that it is a rights issue with the program. But, at this point I have tried giving all relative acocunts write access and still recieve the smarty error.
If anyone can provide a fix for the smarty error it would be greatly apprechiated.
Thanks,
If anyone can provide a fix for the smarty error it would be greatly apprechiated.
Thanks,
I am currently seeing this same issue. I have the following configuration:
Win2k8 Web Server
IIS7
MySQL 5
PHP 5
IIS_USRS group has read/write (not FULL MODIFY) access to testlink root and all subfolders.
I receive the following errors:
PHP Warning: Smarty::include(C:\inetpub\wwwroot\testlink\gui\templates_c\\%%6A^6A5^6A537DD8%%login.tpl.php) [<a href='smarty.include'>smarty.include</a>]: failed to open stream: No such file or directory in C:\inetpub\wwwroot\testlink\third_party\smarty\Smarty.class.php on line 1247
PHP Warning: Smarty::include() [<a href='function.include'>function.include</a>]: Failed opening 'C:\inetpub\wwwroot\testlink\gui\templates_c\\%%6A^6A5^6A537DD8%%login.tpl.php' for inclusion (include_path='.;C:\php5\pear;.;C:\inetpub\wwwroot\testlink\lib\functions\') in C:\inetpub\wwwroot\testlink\third_party\smarty\Smarty.class.php on line 1247
Does anyone have any ideas on how I can move forward on this issue?
Thanks in advance,
Sean
Win2k8 Web Server
IIS7
MySQL 5
PHP 5
IIS_USRS group has read/write (not FULL MODIFY) access to testlink root and all subfolders.
I receive the following errors:
PHP Warning: Smarty::include(C:\inetpub\wwwroot\testlink\gui\templates_c\\%%6A^6A5^6A537DD8%%login.tpl.php) [<a href='smarty.include'>smarty.include</a>]: failed to open stream: No such file or directory in C:\inetpub\wwwroot\testlink\third_party\smarty\Smarty.class.php on line 1247
PHP Warning: Smarty::include() [<a href='function.include'>function.include</a>]: Failed opening 'C:\inetpub\wwwroot\testlink\gui\templates_c\\%%6A^6A5^6A537DD8%%login.tpl.php' for inclusion (include_path='.;C:\php5\pear;.;C:\inetpub\wwwroot\testlink\lib\functions\') in C:\inetpub\wwwroot\testlink\third_party\smarty\Smarty.class.php on line 1247
Does anyone have any ideas on how I can move forward on this issue?
Thanks in advance,
Sean
As per the FAQ, this error is described as the IIS_USR not having write access. For IIS6, this may certainly be the case. In IIS7 (Win Server 2008 Web Server Edition), there is no visible IIS_USR, only an IIS_USRS group.
Currently, I'm unsure of how to proceed. I'm guessing I just don't know how to 'view' the IIS_USR properly, or perhaps I haven't enabled it? The installation worked fine (aside from writing the config_db.inc.php file, which I did manually - testlink was able to create the testlink user in mysql and tables were inserted.
I'll keep searching and if I can figure this out I'll post the method in which to avoid this pitfall.
Currently, I'm unsure of how to proceed. I'm guessing I just don't know how to 'view' the IIS_USR properly, or perhaps I haven't enabled it? The installation worked fine (aside from writing the config_db.inc.php file, which I did manually - testlink was able to create the testlink user in mysql and tables were inserted.
I'll keep searching and if I can figure this out I'll post the method in which to avoid this pitfall.
Most certainly. It was just confusing to me because I couldn't find the specific IIS7 generic user to assign write access to. I wouldn't say it's a probllem with Testlink, per se, just confusion with the usage of Server 2008.fman wrote:>>> aside from writing the config_db.inc.php file
this is an indication of right problems on FILE System.
Anyway we will try to improve our diagnostic during installation

It's installed and working flawlessly for me now, though. Great work!