Jump to content
  • 0

Upgrading Blesta 5.9.1 -> 5.9.2; "This protected script was not encoded for version 8.2.15 of PHP..."


Question

Posted

Upgrading 5.9.1 to 5.9.2, including applying the new hotfix, gives me a white screen when I go to /admin/upgrade (or any other URL for the Blesta install); turning on error reporting, I get this error message:

 

Quote

Uncaught UnknownException: SourceGuardian Loader - This protected script was not encoded for version 8.2.15 of PHP. Please re-encode or contact the author of the script regarding this problem. Error code [07] in /usr/local/www/blesta/app/app_controller.php:2 Stack trace: #0 [internal function]: UnknownException::setErrorHandler(256, 'SourceGuardian ...', '/usr/local/www/...', 2) #1 /usr/local/www/blesta/app/app_controller.php(2): sg_load('17EC3526C7C4FC8...') #2 /usr/local/www/blesta/vendors/minphp/bridge/src/Lib/Loader.php(213): include_once('/usr/local/www/...') #3 /usr/local/www/blesta/vendors/minphp/bridge/src/Lib/Loader.php(93): Loader::load('/usr/local/www/...') #4 /usr/local/www/blesta/app/controllers/admin_upgrade.php(15): Loader::autoload('AppController') #5 /usr/local/www/blesta/vendors/minphp/bridge/src/Lib/Loader.php(213): include_once('/usr/local/www/...') #6 /usr/local/www/blesta/vendors/minphp/bridge/src/Lib/Loader.php(93): Loader::load('/usr/local/www/...') #7 [internal function]: Loader::autoload('AdminUpgrade') #8 /usr/local/www/blesta/vendors/minphp/bridge/src/Lib/Dispatcher.php(112): class_exists('AdminUpgrade') #9 /usr/local/www/blesta/index.php(21): Dispatcher::dispatch('/admin/upgrade/') #10 {main} thrown

Is there something I can do with my install to fix this, or is there an issue with the new patch?

1 answer to this question

Recommended Posts

  • 0
Posted
On 2/8/2024 at 12:31 PM, eppi said:

Upgrading 5.9.1 to 5.9.2, including applying the new hotfix, gives me a white screen when I go to /admin/upgrade (or any other URL for the Blesta install); turning on error reporting, I get this error message:

 

Is there something I can do with my install to fix this, or is there an issue with the new patch?

The hotfix is not needed unless you don't have ioncube in your PHP. The default files work for PHP 7.2, 7.3, 7.4, 8.1, 8.2 with Blesta 5.9.2.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...