Mantis Bugtracker          
testlink.org

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008940TestLinkDatabase MS-SQLpublic2020-06-22 05:012020-06-25 04:50
Reporterviswa 
Assigned To 
PriorityurgentSeveritymajorReproducibilityalways
StatusnewResolutionopen 
PlatformLinuxOSubuntuOS Version20.04
Product Version1.9.20 
Fixed in Version 
Summary0008940: DB Access Error - debug_print_backtrace() OUTPUT START
DescriptionAm 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]
Steps To ReproduceI 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.

Additional Informationplease let me know how to upgrade from 1.9.9 to 1.9.20
if i miss any stpes.
TagsNo tags attached.
Database (MySQL,Postgres,etc)mysql
Browseredge
PHP Version7.3.18
TestCaseID
QA Team - Task Workflow Status
Attached Files

- Relationships

-  Notes
(0029774)
fman (administrator)
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
(0029783)
viswa (reporter)
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.


- Issue History
Date Modified Username Field Change
2020-06-22 05:01 viswa New Issue
2020-06-24 10:21 fman Note Added: 0029774
2020-06-24 10:27 fman Status new => feedback
2020-06-25 04:43 viswa Note Added: 0029783
2020-06-25 04:43 viswa Status feedback => new
2020-06-25 04:45 viswa Note Edited: 0029783 View Revisions
2020-06-25 04:50 viswa Note Edited: 0029783 View Revisions



Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker