Mantis Bugtracker          
testlink.org

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008781TestLinkTest Executepublic2019-10-11 09:132019-10-15 11:05
Reporterlukekratochvil 
Assigned To 
PriorityhighSeverityblockReproducibilityalways
StatusnewResolutionopen 
PlatformOSUbuntuOS Version18.04.3
Product Version 
Fixed in Version 
Summary0008781: TestLink doesn't show execution tests Version 1.9.14 with PHP 7.x
DescriptionWe have an Apache web server that is used for many things. One of the functions is to run TestLink (version 1.9.14). One day my colleagues needed to upgrade PHP version from version 5 to version 7. After that some problems occured while using TestLink but most of them was solved already. But one of them still persists.

When Test execution page is opened everything works just fine until a test is selected from test suit tree. When a test is selected then there is a blank/empty space on the right side of the page, there is no specification of a test to execute (preconditions, summary, steps & results, etc.) shown as supposed to.


Looking forward for any help
Steps To ReproduceChoose any testcase from testsuits/testcases tree on Test Execution page.
Additional InformationTestLink version: 1.9.14

MySQL: Ver 14.14 Distrib 5.7.27, for Linux (x86_64)

Apache webserver: Apache/2.4.29 (Ubuntu)
TagsNo tags attached.
Database (MySQL,Postgres,etc)MySQL
BrowserChrome, Opera, maybe more browsers
PHP Versionphp7
TestCaseID
QA Team - Task Workflow StatusTBD
Attached Filesjpeg file icon printsrcreen.jpeg [^] (344,923 bytes) 2019-10-11 09:13

- Relationships

-  Notes
(0029245)
fman (administrator)
2019-10-11 09:33

Dear user
1.9.14 is not supported anymore
Probably 1.9.14 is only compatible with PHP 5.4 but not PHP 7.x

The Best approach is to create a sandbox system with a copy of your db, then proceed with the upgrade to 1.9.15 then check everything is ok, the upgrade to 1.9.16 and so on till upgrade to 1.9.19 and the update code to branch tl1.19.01

regards
(0029246)
lukekratochvil (reporter)
2019-10-14 08:31

I've looked into log file and found this error in it:
The log is: PHP fatal error: Uncaught error: Cannot use string offset as an array in /testlink/lib/execute/execSetResults.php:1368
Stack trace:
#0 /testlink/lib/execute/execSetResults.php(89): processTestCase (NULL, Object(stdClass), Object(stdClass), Object(stdClass), Array, Object(tree), Object(testcase), Object(tlAttachmentRepository))
#1 {main}
thrown in
/testlink/lib/execute/execSetResults.php on line 1368, referer htttps:/localhost/testlink/lib/execute/execNavigator.php?setting_testplan=

I have a question related to your answer:
Is there any list of which TestLink versions are compatible with which php versions?
(0029247)
fman (administrator)
2019-10-14 09:59

Unfortunately, Currently there is not a list of PHP compatibility.
I will prepare it in the future starting with next stable release, that will be compatible with PHP 7.2.21
(0029251)
lukekratochvil (reporter)
2019-10-14 11:12

OK thanks for your time and afford sir.

Further lines are kinda OT but: I've tried to install TestLink 1.9.19 as you recommended. I tried to install it on my local to test whether it supports php7, but I encountered DB Acces Error.
(0029253)
fman (administrator)
2019-10-14 12:48

Best thing to do => get bitnami installer
(0029257)
lukekratochvil (reporter)
2019-10-15 11:05

Ok I will try it but one last question: Is it possible to upgrade current TestLink (1.9.14) by bitnami solution/installer?

- Issue History
Date Modified Username Field Change
2019-10-11 09:13 lukekratochvil New Issue
2019-10-11 09:13 lukekratochvil File Added: printsrcreen.jpeg
2019-10-11 09:33 fman Note Added: 0029245
2019-10-11 09:34 fman QA Team - Task Workflow Status => TBD
2019-10-11 09:34 fman Summary TestLink doesn't show execution tests => TestLink doesn't show execution tests Version 1.9.14 with PHP 7.x
2019-10-11 09:34 fman Status new => feedback
2019-10-14 08:31 lukekratochvil Note Added: 0029246
2019-10-14 08:31 lukekratochvil Status feedback => new
2019-10-14 09:59 fman Note Added: 0029247
2019-10-14 11:12 lukekratochvil Note Added: 0029251
2019-10-14 12:48 fman Note Added: 0029253
2019-10-15 11:05 lukekratochvil Note Added: 0029257



Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker