johnnysfight Posted June 10, 2023 Posted June 10, 2023 You are running PHP version 7.4.33. You need PHP 8.0.0 or above. You should contact your hosting provider or system administrator to ask for an upgrade. Hello, I am trying to upgrade ip.board which requires php 8. When I set php to version 8 I receive a server 500 errors.
A Zayed Posted June 10, 2023 Posted June 10, 2023 In this case you have to upgrade manually. See section "Manual Upgrade" here:
johnnysfight Posted June 10, 2023 Author Posted June 10, 2023 thanks for any suggestions https://slingbank.com/admin/upgrade/?sessionCheck=1 just get a blank white screen on this first page when upgrading (php8)
johnnysfight Posted June 10, 2023 Author Posted June 10, 2023 from the error_log #0 /home/slingbank/public_html/init.php(1611): IPS\IPS::init() #1 /home/slingbank/public_html/index.php(12): require_once('/home/slingbank...') #2 {main} thrown in /home/slingbank/public_html/init.php on line 563 [10-Jun-2023 12:54:35 UTC] PHP Fatal error: Uncaught Error: Call to undefined function IPS\mb_internal_encoding() in /home/slingbank/public_html/init.php:563 Stack trace: #0 /home/slingbank/public_html/init.php(1611): IPS\IPS::init() #1 /home/slingbank/public_html/index.php(12): require_once('/home/slingbank...') #2 {main} thrown in /home/slingbank/public_html/init.php on line 563 [10-Jun-2023 12:59:28 UTC] PHP Fatal error: Uncaught Error: Call to undefined function IPS\mb_internal_encoding() in /home/slingbank/public_html/init.php:563 Stack trace: #0 /home/slingbank/public_html/init.php(1611): IPS\IPS::init() #1 /home/slingbank/public_html/index.php(12): require_once('/home/slingbank...') #2 {main} thrown in /home/slingbank/public_html/init.php on line 563 [10-Jun-2023 13:08:27 UTC] PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /home/slingbank/public_html/applications/rules/sources/Secure/Application.php(2) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 11 [10-Jun-2023 13:09:55 UTC] PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /home/slingbank/public_html/applications/rules/sources/Secure/Application.php(2) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 11 [10-Jun-2023 13:10:08 UTC] PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /home/slingbank/public_html/applications/rules/sources/Secure/Application.php(2) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 11 [10-Jun-2023 13:10:15 UTC] PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /home/slingbank/public_html/applications/rules/sources/Secure/Application.php(2) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 11 [10-Jun-2023 13:12:56 UTC] PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /home/slingbank/public_html/applications/rules/sources/Secure/Application.php(2) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 11 [10-Jun-2023 13:14:05 UTC] PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /home/slingbank/public_html/applications/rules/sources/Secure/Application.php(2) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 11
Solution Daniel F Posted June 10, 2023 Solution Posted June 10, 2023 1. Make sure that the mbstring module is installed and available on your server/webspace http://www.php.net/manual/en/mbstring.installation.php 2. You'll have to uninstall the rules application which hadn't any upgrades since 2019 johnnysfight 1
johnnysfight Posted June 10, 2023 Author Posted June 10, 2023 yes mbstring is installed and php 8 is selected, stuck on blank screen
johnnysfight Posted June 10, 2023 Author Posted June 10, 2023 when enabling display errors in php.ini and running the upgrade: Fatal error: Array and string offset access syntax with curly braces is no longer supported in /home/slingbank/public_html/applications/rules/sources/Secure/Application.php(2) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 11 does rules need to be disabled or removed? thanks for any suggestions
johnnysfight Posted June 10, 2023 Author Posted June 10, 2023 removed rules and was able to upgrade, thanks ! Marc 1
Recommended Posts