Jump to content

Blank page when upgrading PHP version


Go to solution Solved by Marc Stridgen,

Recommended Posts

Hello,

We run a dedicated server with two Invision Community installs. The PHP version currently running is 7.3 which is deprecated. For the new upgrade, I need to change this to at least 7.4, although I also have access to PHP8.0.

My problem starts when I change the version in WHM Multi-PHP Manager. I checked with main Invision install and the screen goes white. I tried disabling applications in Invision, with no luck. I then tried the other Invision installation and the same occurs there. 

Is there somewhere I could check to see what is causing this problem? Please bear in mind that I only know the very basics and would need an easy to understand explanation 🤣

Thanks,

Jim

Link to comment
Share on other sites

I do now. My apologies. 

This is the page report when I run it:

PHP Requirements

  • You are not running a compatible version of PHP. You need PHP 7.4.0 or above (8.0.0 or above recommended). You should contact your hosting provider or system administrator to ask for an upgrade.
  • cURL extension loaded
  • DOM extension loaded.
  • GD extension loaded.
  • Multibyte String extension loaded.
  • MySQLi extension loaded.
  • OpenSSL extension loaded.
  • Session extension loaded.
  • SimpleXML extension loaded.
  • XML Parser extension loaded.
  • XMLReader extension loaded.
  • XMLWriter extension loaded.
  • Zip extension loaded.
  • Exif extension loaded.
  • GMP extension loaded.
  • 1024M memory limit.
  • No Suhosin restrictions.

MySQL Requirements

  • MySQL version 5.7.38.

Additional Requirements


Summary

You are not ready to upgrade to Invision Community 4.7 yet. See the information above for instructions how to fix or contact technical support for further assistance. If you're unable to fix the issues with your server, you may want to consider using Invision Cloud Community

 

Link to comment
Share on other sites

4 minutes ago, Marc Stridgen said:

Please switch to that version, then let me know so I can take a look. The message there however would indicate you are not actually using PHP 8

 

Thanks. I now get this. I'll speak to our host about it. Many thanks for your help.

 

PHP Requirements

  • PHP version 8.0.20.
  • You do not have the cURL PHP extension loaded or it is running a version less than 7.36. While this is not required, it is recommend to make calls to external API services faster. You may wish to contact your hosting provider or system administrator to ask for it to be installed.
  • DOM extension loaded.
  • You do not have the GD PHP extension loaded which is required. You should contact your hosting provider or system administrator to ask for it to be enabled.
  • You do not have the Multibyte String PHP extension loaded which is required. You should contact your hosting provider or system administrator to ask for it to be installed.
  • You do not have the MySQLi PHP extension loaded which is required. You should contact your hosting provider or system administrator to ask for it to be installed.
  • OpenSSL extension loaded.
  • Session extension loaded.
  • SimpleXML extension loaded.
  • XML Parser extension loaded.
  • XMLReader extension loaded.
  • XMLWriter extension loaded.
  • You do not have the Zip PHP extension loaded. While this is not required, it is recommended. You may wish to contact your hosting provider or system administrator to ask for it to be installed.
  • Exif extension loaded.
  • GMP extension loaded.
  • 1024M memory limit.
  • No Suhosin restrictions.

Additional Requirements


Summary

You are not ready to upgrade to Invision Community 4.7 yet. See the information above for instructions how to fix or contact technical support for further assistance. If you're unable to fix the issues with your server, you may want to consider using Invision Cloud Community

Link to comment
Share on other sites

Hi, I'm facing a similar problem and everything looks good on PHP 8.0: https://d.pr/i/z707Ug

I can browse the Admin, plus my forums' homepage and forums, but not any topic. Blank pages all the time.

Checked the logs and found this, don't know if it's related:

[12-Jul-2022 08:49:24 UTC] PHP Fatal error:  Declaration of IPS\Theme\Cache\hook93::topic($topic, $comments, $question, $votes, $nextUnread, $pagination, $topicVotes = []) must be compatible with IPS\Theme\Cache\class_forums_front_topics::topic($topic, $comments, $question = null, $votes = [], $nextUnread = null, $pagination = null, $topicVotes = []) in /home/macmagazine/forum/system/Theme/Theme.php(951) : eval()'d code on line 7

Any help, please?

Link to comment
Share on other sites

6 minutes ago, Marc Stridgen said:

Please diaable all 3rd party items as mentioned sbove. Yours does indeed seem to be being caused by 3rd patty, as you can see by the "hook93" part

You're right. I tried disabling an application before, but forgot about the plugins' area. Thanks!

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...