MantisBT - TestLink
View Issue Details
0008940TestLinkDatabase MS-SQLpublic2020-06-22 05:012020-06-25 04:50
0008940: DB Access Error - debug_print_backtrace() OUTPUT START
Am geting the following error. i have updraded test link from 1.9.9 to 1.9.20
Test case list is displyed but when i click the test case then it is showing the following message.
DB Access Error - debug_print_backtrace() OUTPUT START
ATTENTION: Enabling more debug info will produce path disclosure weakness (CWE-200)
            Having this additional Information could be useful for reporting
            issue to development TEAM.
#0 database->exec_query() called at [/opt/bitnami1/apps/testlink/htdocs/lib/functions/database.class.php:641]
#1 database->fetchRowsIntoMap() called at [/opt/bitnami1/apps/testlink/htdocs/lib/functions/testcase.class.php:9552]
0000002 testcase->getPlatforms() called at [/opt/bitnami1/apps/testlink/htdocs/lib/functions/testcase.class.php:1044]
0000003 testcase->show() called at [/opt/bitnami1/apps/testlink/htdocs/lib/testcases/archiveData.php:405]
0000004 processTestCase() called at [/opt/bitnami1/apps/testlink/htdocs/lib/testcases/archiveData.php:61]
I have taken the database back from 1.9.9
Then i have downloaded the 1.9.20 and old data importaed to 1.9.20
then i did the following way to upgrade.
/opt/bitnami/mysql/bin/mysql –u root –p bitnami_testlink install/sql/alter_tables/1.9.10/mysql/DB.1.9.10/step1/db_data_update.sql

like this :
1.9.11 , 1.9.12,1.9.13,1.9.14,1.9.15,1.9.16,1.9.17,1.9.18,1.9.19
finaly 1.9.20

Then open the testlink page(http://localhost/testlink/ [^])
login with the user and password.

Click on the "Test specification"
left side it will show the list and when we click on any one it will show the above error message.

please let me know how to upgrade from 1.9.9 to 1.9.20
if i miss any stpes.
No tags attached.
Issue History
2020-06-22 05:01viswaNew Issue
2020-06-24 10:21fmanNote Added: 0029774
2020-06-24 10:27fmanStatusnew => feedback
2020-06-25 04:43viswaNote Added: 0029783
2020-06-25 04:43viswaStatusfeedback => new
2020-06-25 04:45viswaNote Edited: 0029783bug_revision_view_page.php?bugnote_id=29783#r6078
2020-06-25 04:50viswaNote Edited: 0029783bug_revision_view_page.php?bugnote_id=29783#r6079

2020-06-24 10:21   
your db is MYSQL or MSSQL?

the upgrade steps are described on README file
you need to retest basic feature after each upgrade
2020-06-25 04:43   
(edited on: 2020-06-25 04:50)
Yes we are using MYSQL.

ServerA : Ubuntu 12.04 , Testlink 1.9.10
ServerB : Ubuntu 20.04 , Testlink 1.9.20

Still am not able to move forward.
What i did is again am going to explain you.

1) Taken Dababase back in ServerA.
2) Installed new version of OS in ServerB.
3) Installed new verstion of testlink 1.9.20
4) Imported the old DB to 1.9.20

And migrated as follows.

A) /opt/bitnami/mysql/bin/mysql –u root –p bitnami_testlink < install/sql/alter_tables/1.9.11/mysql/DB.1.9.11/step1/db_schema_update.sql
B) /opt/bitnami/mysql/bin/mysql –u root –p bitnami_testlink < install/sql/alter_tables/1.9.11/mysql/DB.1.9.11/stepZ/z_final_step.sql
A) /opt/bitnami/mysql/bin/mysql –u root –p bitnami_testlink < install/sql/alter_tables/1.9.20/mysql/DB.1.9.20/step1/db_schema_update.sql
B) /opt/bitnami/mysql/bin/mysql –u root –p bitnami_testlink < install/sql/alter_tables/1.9.20/mysql/DB.1.9.20/stepZ/z_final_step.sql

Like that i have upgraded.
Do i need to copy any files from the old ServerA.
Please let me know if am missing any thing.