johnnysfight Posted June 10 Share Posted June 10 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. Link to comment Share on other sites More sharing options...
A Zayed Posted June 10 Share Posted June 10 In this case you have to upgrade manually. See section "Manual Upgrade" here: Link to comment Share on other sites More sharing options...
johnnysfight Posted June 10 Author Share Posted June 10 thanks for any suggestions https://slingbank.com/admin/upgrade/?sessionCheck=1 just get a blank white screen on this first page when upgrading (php8) Link to comment Share on other sites More sharing options...
johnnysfight Posted June 10 Author Share Posted June 10 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 Link to comment Share on other sites More sharing options...
Solution Daniel F Posted June 10 Solution Share Posted June 10 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 Link to comment Share on other sites More sharing options...
johnnysfight Posted June 10 Author Share Posted June 10 yes mbstring is installed and php 8 is selected, stuck on blank screen Link to comment Share on other sites More sharing options...
johnnysfight Posted June 10 Author Share Posted June 10 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 Link to comment Share on other sites More sharing options...
A Zayed Posted June 10 Share Posted June 10 You can just disable it. johnnysfight 1 Link to comment Share on other sites More sharing options...
johnnysfight Posted June 10 Author Share Posted June 10 removed rules and was able to upgrade, thanks ! Marc Stridgen 1 Link to comment Share on other sites More sharing options...
Recommended Posts