Subscribe Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security. Subscribe

Upgrading TestRail from 5.4.0.3659 to 6.1.1.1021 on Centos 7

After some annoying PHP/Ioncube updates/down-grades (you don’t support PHP 7.3 yet) and copying “config.php”, I received the following ERROR message:

testrail]# php run.php update

PHP Fatal error: The file /root/TestRail/testrail/sys/core/config.php was encoded by the ionCube Encoder for PHP 5.6 and cannot run under PHP 7.1 or later.

Please ask the provider of the script to provide a version encoded with the ionCube Encoder for PHP 7.1. in Unknown on line 0

PHP Fatal error: Uncaught Error: Class ‘NotFoundException’ not found in /root/TestRail/testrail/sys/core/services.php:68

Stack trace:

#0 /root/TestRail/testrail/sys/core/services.php(59): ServicesImpl->_create(‘loader_core’)

#1 /root/TestRail/testrail/sys/core/services.php(27): ServicesImpl->get(‘loader_core’)

#2 /root/TestRail/testrail/sys/boot/errors.php(87): Services::get(‘loader_core’)

#3 /root/TestRail/testrail/sys/boot/errors.php(345): errors::show(‘PHP error: The …’, NULL, ‘Unknown’, ‘’)

#4 /root/TestRail/testrail/sys/boot/errors.php(287): errors::_try_show_last()

#5 [internal function]: errors::shutdown()

#6 {main}

thrown in /root/TestRail/testrail/sys/core/services.php on line 68

It says, " Please ask the provider of the script to provide a version encoded with the ionCube Encoder for PHP 7.1"

Hopefully, Someone can provide the above.

Thanks,

Hello @cjohnsonFSD,

Thanks for posting! This can be an issue with the wrong PHP version being used. For security purposes, please send us a support ticket by emailing contact@gurock.com with your existing environment versions and we will point you to the right direction.