Perquisite:
1. Open browser and go to url “localhost/phpmyadmin”
2. Click on “DataBases” menu and create new data base like “testlink”
6. Click on “Go” button. Now your database created with database user
7. Navigate “http://localhost/testlink-1.9.7” on browser as replace "testlink-1.9.7" to your testlink folder name.
- Download and install xampp application into your machine from link: "http://www.apachefriends.org/en/xampp-windows.html"
- Download testlink from link "http://sourceforge.net/projects/testlink/files/" and put into xampp's htdocs directory.
- Extract downloaded zip file into xampp's htdocs directory.
- Start Xampp application and start “Apache” and “MySql” Server, your window look like below screen:
Steps to setup:
1. Open browser and go to url “localhost/phpmyadmin”
2. Click on “DataBases” menu and create new data base like “testlink”
3. Your created data base listed in left side panel like as in below screen:
4. Click on created database from left panel then Click on “More” >> “Privileges”.
5. Click on “Add User”after that enter user details and click on “Check All” link.
7. Navigate “http://localhost/testlink-1.9.7” on browser as replace "testlink-1.9.7" to your testlink folder name.
8. Click on "New installation" link.
10. You should see that “Checking if /var/testlink/logs/ directory exists” and “Checking if /var/testlink/upload_area/ directory exists ” status failed.
11. You need to set path according your machine.
12. Goto testlink package and open “config.inc.php” file, update path “$tlCfg->log_path” and “$g_repositoryPath” as below:
13. Again refresh page and you should see that “Failed” status change with “OK”
14. Click on “Continue” button. Enter your data base name into “Database name” input field. Enter root into “Database admin login” input filed.
15. Enter data base user name and password into “TestLink DB login” and “TestLink DB password” field.
16. Click on “Process TestLink Setup” button. You should see that test link “Installation was successful!” message display.
17. Again go to url “http://localhost/testlink-1.9.7”. and enter “admin” into both “Login Name” and Password” field. Click on “Login” button.
9. Click on check box “I agree to the terms set out in this license.” And click on “Continue” button. You should see below screen:
10. You should see that “Checking if /var/testlink/logs/ directory exists” and “Checking if /var/testlink/upload_area/ directory exists ” status failed.
11. You need to set path according your machine.
12. Goto testlink package and open “config.inc.php” file, update path “$tlCfg->log_path” and “$g_repositoryPath” as below:
Old path:
$tlCfg->log_path
= '/var/testlink/logs/';
$g_repositoryPath
= '/var/testlink/upload_area/';
Updated path:
$tlCfg->log_path = 'D:/xampp/htdocs/testlink-1.9.7/logs/'
$g_repositoryPath =
'D:/xampp/htdocs/testlink-1.9.7/upload_area/';
14. Click on “Continue” button. Enter your data base name into “Database name” input field. Enter root into “Database admin login” input filed.
15. Enter data base user name and password into “TestLink DB login” and “TestLink DB password” field.
16. Click on “Process TestLink Setup” button. You should see that test link “Installation was successful!” message display.
17. Again go to url “http://localhost/testlink-1.9.7”. and enter “admin” into both “Login Name” and Password” field. Click on “Login” button.
18. You should log into testlink.
Thanks for posting this, steps are very clear
ReplyDeleteIn step 17, log in with 'admin' username and password. Use 'a', instead of 'A'
ReplyDeleteThanks Ruchita for correcting, I have updated...
DeleteExcellent one! I really followed each and every step mentioned here. Though I faced some issues with the credentials, till the end I followed and successfully installed TestLink in my system. Thanks a lot
ReplyDeleteGreat Job. Thank you
ReplyDeleteGreat job, thanks dude...
ReplyDeletePerfect Thanks!
ReplyDeleteIts really Helpful for installing Testlink .
ReplyDeleteHave been able to install succesfully
This was so very helpful to me. The documentation on Testlink's website didn't work at all, but this was spot on. Kudos!
ReplyDeleteThanks Man :)
ReplyDeleteThanks a lot for these details steps...everything went without any hickups!!
ReplyDeleteThanks this was very help ful
ReplyDeleteAwsome POST...very helpful
ReplyDeleteThank you and the installation was succesfull but How Do i access the server from a different machine.
ReplyDeleteHi Rohit
Deleteyou can access using IP address of TestLink installed machine from other machine with in your network. If want to access outside your network then you need to set static ip in your testlink machine
Hi,
DeleteTHank you for the reply.
I do not have the server on the same network. I have set this up in an amazon aws server as I am testing it to see if it works out for us. Please help me how I could setup the static IP.
My end goal is to provide access to this server using a URL to all my team members so that they can upload their test cases without logging into the actual server. Please help me out
Hi,
ReplyDeleteI've installed TestLink 1.9.11 on xampp few months ago. Everything was just working fine.
Now I'm trying to move my xampp and TestLink to a server (so I can access from within my network, not only to local pc). I exported my TestLink database (via MySQL workbench) so I could use the same date on the server. I used the latest Testlink v 1.9.12 and used the same database I had in my local PC.
Upon launching the TestLink page, I get an error message on the login page something like "schema used for TestLink is 1.9.11 cannot be opened on 1.9.12".
Anybody experienced this? How did you fix it?
This comment has been removed by the author.
ReplyDeleteAppreciate your detailed and accurate step by step, it worked very well. Thanks
ReplyDeleteError: Apache shutdown unexpectedly.
ReplyDelete1:18:36 PM [Apache] This may be due to a blocked port, missing dependencies,
1:18:36 PM [Apache] improper privileges, a crash, or a shutdown by another method.
1:18:36 PM [Apache] Press the Logs button to view error logs and check
1:18:36 PM [Apache] the Windows Event Viewer for more clues
1:18:36 PM [Apache] If you need more help, copy and post this
1:18:36 PM [Apache] entire log window on the forums
I am getting this error in step 4. Please let me know how to fix this
Error: Apache shutdown unexpectedly.
ReplyDelete1:18:36 PM [Apache] This may be due to a blocked port, missing dependencies,
1:18:36 PM [Apache] improper privileges, a crash, or a shutdown by another method.
1:18:36 PM [Apache] Press the Logs button to view error logs and check
1:18:36 PM [Apache] the Windows Event Viewer for more clues
1:18:36 PM [Apache] If you need more help, copy and post this
1:18:36 PM [Apache] entire log window on the forums
Error: Apache shutdown unexpectedly.
ReplyDelete1:18:36 PM [Apache] This may be due to a blocked port, missing dependencies,
1:18:36 PM [Apache] improper privileges, a crash, or a shutdown by another method.
1:18:36 PM [Apache] Press the Logs button to view error logs and check
1:18:36 PM [Apache] the Windows Event Viewer for more clues
1:18:36 PM [Apache] If you need more help, copy and post this
1:18:36 PM [Apache] entire log window on the forums
I am getting this error. please let me know how to fix it.
Your machine port 80 is already in use or it is blocked by firewall. so you need to free this port
DeleteHi admin,
ReplyDeleteThanks for your help.
I have a problem when typing the following: http://localhost/testlink-1.9.7. It appears: the requested page cannot be found.
I have no idea what is going on, I followed the steps on this site and everything worked well to this point.
Can you help me please? Many thanks
Excellent Thanks for share
ReplyDelete4:25:53 PM [Apache] Error: Apache shutdown unexpectedly.
ReplyDelete4:25:53 PM [Apache] This may be due to a blocked port, missing dependencies,
4:25:53 PM [Apache] improper privileges, a crash, or a shutdown by another method.
4:25:53 PM [Apache] Press the Logs button to view error logs and check
4:25:53 PM [Apache] the Windows Event Viewer for more clues
4:25:53 PM [Apache] If you need more help, copy and post this
4:25:53 PM [Apache] entire log window on the forums
I am getting this error. please let me know how to fix it.
4:25:53 PM [Apache] Error: Apache shutdown unexpectedly.
ReplyDelete4:25:53 PM [Apache] This may be due to a blocked port, missing dependencies,
4:25:53 PM [Apache] improper privileges, a crash, or a shutdown by another method.
4:25:53 PM [Apache] Press the Logs button to view error logs and check
4:25:53 PM [Apache] the Windows Event Viewer for more clues
4:25:53 PM [Apache] If you need more help, copy and post this
4:25:53 PM [Apache] entire log window on the forums
I am getting this error. please let me know how to fix it.
Hi admin,
ReplyDeleteI was trying to setup testink following the above steps. I'm struck near step 5 & 6. I was able to create "testlink" database, but not able to add user.
I provided user name as "testlink",
host name as "local host".
I gave passwords.
I clicked on "select all". Now when I click on "GO", the following error is displayed
"#1065 - Query was empty".
"The selected user was not found in the privilege table."
Hi admin,
ReplyDeleteWhy is it that whenever I access http://localhost/testlink-1.9.14/install/index.php, there is an error message that says:
The connection was reset
The site could be temporarily unavailable or too busy. Try again in a few
moments.
If you are unable to load any pages, check your computer's network
connection.
If your computer or network is protected by a firewall or proxy, make sure
that Firefox is permitted to access the Web.
I already turned off my firewall and Apache and mySQL are running.
Please help me.
Thank you! :)
Hi admin,
ReplyDeleteWhen I am accessing http://localhost/testlink-1.9.14/install/index.php, error message appears:
The connection was reset
The connection to the server was reset while the page was loading.
The site could be temporarily unavailable or too busy. Try again in a few
moments.
If you are unable to load any pages, check your computer's network
connection.
If your computer or network is protected by a firewall or proxy, make sure
that Firefox is permitted to access the Web.
I just followed the previous steps and made sure that Apache and mySQL are running.
Please help me.
Thank you! :)
Can you check "Firewall or proxy, make sure
Deletethat Firefox is permitted to access the Web". might be your firewall is blocking
Hi Admin,
DeleteIt is still not working. Tried it in Google Chrome and Firefox.
Apache also automatically stops whenever I try accessing the link.
Hi , I have the same issue, any updates on this.
DeleteHi, i have the same issue , any updates on it.
ReplyDeleteHi,
ReplyDeleteI did installation with the help of above steps. When I click on Login Testlink or trying to navigate to login page I am getting below exception. Can someone please help what going wrong. Thanks In advance!!
Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "C:\xampp\htdocs\testlink-1.9.14\gui\templates\login.tpl" on line 23 "{if $tlCfg->demoMode}{$labels.demo_usage}{/if}" unknown tag "private_print_expression"' in C:\xampp\htdocs\testlink-1.9.14\third_party\smarty3\libs\sysplugins\smarty_internal_templatecompilerbase.php:665 Stack trace: #0 C:\xampp\htdocs\testlink-1.9.14\third_party\smarty3\libs\sysplugins\smarty_internal_templatecompilerbase.php(451): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown tag "pr...', 23) #1 C:\xampp\htdocs\testlink-1.9.14\third_party\smarty3\libs\sysplugins\smarty_internal_templateparser.php(2353): Smarty_Internal_TemplateCompilerBase->compileTag('private_print_e...', Array, Array) #2 C:\xampp\htdocs\testlink-1.9.14\third_party\smarty3\libs\sysplugins\smarty_internal_templateparser.php(3101): Smarty_Internal_Templateparser->yy_r27() #3 C:\xampp\htdocs\testlink-1.9.14\third_party\smarty3\lib in C:\xampp\htdocs\testlink-1.9.14\third_party\smarty3\libs\sysplugins\smarty_internal_templatecompilerbase.php on line 665
Hi,
ReplyDeleteI did installation with the help of above steps. When I click on Login Testlink or trying to navigate to login page I am getting below exception. Can someone please help what going wrong. Thanks In advance!!
Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "C:\xampp\htdocs\testlink-1.9.14\gui\templates\login.tpl" on line 23 "{if $tlCfg->demoMode}{$labels.demo_usage}{/if}" unknown tag "private_print_expression"' in C:\xampp\htdocs\testlink-1.9.14\third_party\smarty3\libs\sysplugins\smarty_internal_templatecompilerbase.php:665 Stack trace: #0 C:\xampp\htdocs\testlink-1.9.14\third_party\smarty3\libs\sysplugins\smarty_internal_templatecompilerbase.php(451): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown tag "pr...', 23) #1 C:\xampp\htdocs\testlink-1.9.14\third_party\smarty3\libs\sysplugins\smarty_internal_templateparser.php(2353): Smarty_Internal_TemplateCompilerBase->compileTag('private_print_e...', Array, Array) #2 C:\xampp\htdocs\testlink-1.9.14\third_party\smarty3\libs\sysplugins\smarty_internal_templateparser.php(3101): Smarty_Internal_Templateparser->yy_r27() #3 C:\xampp\htdocs\testlink-1.9.14\third_party\smarty3\lib in C:\xampp\htdocs\testlink-1.9.14\third_party\smarty3\libs\sysplugins\smarty_internal_templatecompilerbase.php on line 665
I am also getting fatal error .....
DeleteFatal error: Uncaught SmartyCompilerException: Syntax Error in template "C:\xampp\htdocs\testlink-1.9.15\gui\templates\login-model-marcobiedermann.tpl" on line 9 "<title>{$labels.login}</title>" unknown tag "private_print_expression" in C:\xampp\htdocs\testlink-1.9.15\third_party\smarty3\libs\sysplugins\smarty_internal_templatecompilerbase.php:665 Stack trace: #0 C:\xampp\htdocs\testlink-1.9.15\third_party\smarty3\libs\sysplugins\smarty_internal_templatecompilerbase.php(451): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown tag "pr...', 9) #1 C:\xampp\htdocs\testlink-1.9.15\third_party\smarty3\libs\sysplugins\smarty_internal_templateparser.php(2353): Smarty_Internal_TemplateCompilerBase->compileTag('private_print_e...', Array, Array) #2 C:\xampp\htdocs\testlink-1.9.15\third_party\smarty3\libs\sysplugins\smarty_internal_templateparser.php(3101): Smarty_Internal_Templateparser->yy_r27() #3 C:\xampp\htdocs\testlink-1.9.15\third_party\smarty3\libs in C:\xampp\htdocs\testlink-1.9.15\third_party\smarty3\libs\sysplugins\smarty_internal_templatecompilerbase.php on line 665
Hi admin,
ReplyDeleteI have managed to go through all the process tht you have given above and it worked perfectly.But now I have encountered a problem that i seem not to manage to solve.
Here is the error:
Warning!: Your PHP installation don't have the mysql extension mysql- without it is IMPOSSIBLE to use Testlink.Failed! Please help
Hi admin,
ReplyDeleteI have manage to install everything perfectly but now i have encountered this error and am unable to solve it.
here is the error:
Warning!: Your PHP installation don't have the mysql extension mysql- without it is IMPOSSIBLE to use Testlink.Failed!
Please help
Hi Admin,
ReplyDeleteI seem to have the same problem as Diana. It says PHP installation don't have the mysql extension ....
However when i go to ...xampp\php\ext (path indicated in php.ini), i see that php_mysql and php_mysqli dlls exist. Any idea what compatibility issues here...
got it... php_mysql.dll was disabled in php.ini by default. Enabled the same and restarted apache. It works fine then
ReplyDeleteHow to enable php_mysql.dll in php.ini
DeleteHi Rohith, would you mind if I will ask on how you enable php_mysql.dll? Thank you in advance. :)
DeleteHi,
ReplyDeleteI tried to install Testlink 1.9.14.I'm getting this error message Checking PHP DB extensions Warning!: Your PHP installation don't have the mysql extension mysql- without it is IMPOSSIBLE to use Testlink.Failed! - Pls help to resolve
Hi, I just want to ask if you already have a solution for this? I also got the same error message and I haven't find answer yet. Thank you in advance.
DeleteHi, I just want to ask if you already have a solution for this? I also got the same error message and I haven't find answer yet. Thank you in advance. :)
DeleteHi,
ReplyDeleteI tried to install Testlink,I'm getting the error message Checking PHP DB extensions Warning!: Your PHP installation don't have the mysql extension mysql- without it is IMPOSSIBLE to use Testlink.Failed! -Pls help to resolve
i have the same prob.
ReplyDeleteI am also getting the same issue, do anyone has the solution.
ReplyDeleteThanks
Its really Helpful for installing Testlink .
ReplyDeleteHi everyone,
ReplyDeleteI also got the same error message.
Checking PHP DB extensions Warning!: Your PHP installation don't have the mysql extension mysql- without it is IMPOSSIBLE to use Testlink.Failed!
Please help on how to find solution for this. Thank you in advance. :)
Please use xampp version 5.5.35 / PHP 5.5.35 for download.
ReplyDeleteThis will support mysql extension for PHP.
User xampp version 5.5.35 / PHP 5.5.35 to. This supports mysql extension for PHP
ReplyDeleteThank you so much for guidance. I have successfully installed test link. Once againthanks alot.
ReplyDeleteThanks alot for your guidance. I have successfully installed test link. Once again thanks alot.
ReplyDeleteHi,
ReplyDeleteOn first step of setup
>>Open browser and go to url “localhost/phpmyadmin”
I'm getting an error "Object not found!"
Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
Error 404
localhost
Apache/2.4.7 (Win32) OpenSSL/1.0.1e PHP/5.5.9
Can anyone help me in resolving the issue?
Hi,
ReplyDeleteWhat would be my DB URL for testlink?
appreciate your reply
Thanks!
Hello,
ReplyDeleteI have entered all the required credentials as such as
DB name
Database host
Database name
Database admin login
Database admin password
Testlink DB login
Testlink DB password
After clicking on "Go" button I am getting this following error
TestLink setup will now attempt to setup the database:
Creating connection to Database Server:Failed!
Please check the database login details and try again.
Database Error Message: MySQL server has gone away
Hi Admin,
ReplyDeleteI have successfully installed testlink 9.1.15 but when tried to login got Fatal error:
Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "C:\xampp\htdocs\testlink-1.9.15\gui\templates\login-model-marcobiedermann.tpl" on line 9 "<title>{$labels.login}</title>" unknown tag "private_print_expression"' in C:\xampp\htdocs\testlink-1.9.15\third_party\smarty3\libs\sysplugins\smarty_internal_templatecompilerbase.php:665 Stack trace: #0 C:\xampp\htdocs\testlink-1.9.15\third_party\smarty3\libs\sysplugins\smarty_internal_templatecompilerbase.php(451): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown tag "pr...', 9) #1 C:\xampp\htdocs\testlink-1.9.15\third_party\smarty3\libs\sysplugins\smarty_internal_templateparser.php(2353): Smarty_Internal_TemplateCompilerBase->compileTag('private_print_e...', Array, Array) #2 C:\xampp\htdocs\testlink-1.9.15\third_party\smarty3\libs\sysplugins\smarty_internal_templateparser.php(3101): Smarty_Internal_Templateparser->yy_r27() #3 C:\xampp\htdocs\testlink-1.9.1 in C:\xampp\htdocs\testlink-1.9.15\third_party\smarty3\libs\sysplugins\smarty_internal_templatecompilerbase.php on line 665
Could you please help to resolve this problem?
Did u get the solution for this iisue?
DeleteDid u get the solution for this issue?
DeleteHI ,
ReplyDeleteOn installing everything works until step 6 , on pasting the URL in localhost in step 7" http://localhost/testlink-1.9.15/testlink-1.9.15"
File index.php is located in same folder
-- A message is observed for Object Not Found
Please help in this regards
Very good article
ReplyDeleteHello, very good! Thanks!!!
ReplyDeletethanks, very helpful indeed.
ReplyDeleteI'm having the same issue using ver 1.9.16. I also installed Bitnami as recommended bvut can't get pass the following error and can't find any solution:
ReplyDeleteFatal error: Uncaught SmartyCompilerException: Syntax Error in template "C:\xampp\htdocs\testlink-1.9.16\gui\templates\login-model-marcobiedermann.tpl" on line 9 "<title>{$labels.login}</title>" unknown tag "private_print_expression" in C:\xampp\htdocs\testlink-1.9.16\third_party\smarty3\libs\sysplugins\smarty_internal_templatecompilerbase.php:665 Stack trace: #0 C:\xampp\htdocs\testlink-1.9.16\third_party\smarty3\libs\sysplugins\smarty_internal_templatecompilerbase.php(451): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown tag "pr...', 9) #1 C:\xampp\htdocs\testlink-1.9.16\third_party\smarty3\libs\sysplugins\smarty_internal_templateparser.php(2353): Smarty_Internal_TemplateCompilerBase->compileTag('private_print_e...', Array, Array) #2 C:\xampp\htdocs\testlink-1.9.16\third_party\smarty3\libs\sysplugins\smarty_internal_templateparser.php(3101): Smarty_Internal_Templateparser->yy_r27() #3 C:\xampp\htdocs\testlink-1.9.16\third_party\smarty3\libs in C:\xampp\htdocs\testlink-1.9.16\third_party\smarty3\libs\sysplugins\smarty_internal_templatecompilerbase.php on line 665
Thanks,
Very Good! Thanks!!
ReplyDeleteVery good reference material
ReplyDeleteHi Admin,
ReplyDeleteI have followed above mentioned steps but getting error message when I updated the values in config file
Parse error: syntax error, unexpected ':' in C:\xampp\htdocs\testlink-1.9.16\testlink-1.9.16\config.inc.php on line 205
While there is mo : on line 205 please help me and provide some solution I am using testlink-1.9.16
Dear admin
ReplyDeletei try to install testlink on window 7 and have issue as below:
At step 9: i got error message:"Checking MySQL Database Failed! MySQL Database cannot be used."
Could you please help to resolve this issue?
Thanks,
This comment has been removed by the author.
ReplyDeletethanks for your tuto, no issue seen following all the described steps.
ReplyDeletethumbs up for you guys.
Hi Admin,
ReplyDeleteI am getting following error
Deprecated: __autoload() is deprecated, use spl_autoload_register() instead in C:\xampp\htdocs\testlink-1.9.16\testlink-1.9.16\third_party\phpmailer\PHPMailerAutoload.php on line 45
Hi, I have a problem, it is that when I give Process Test Link Setup, I get Creating connection to Database Server: Failed!, help :c
ReplyDelete