Jump to content

Upgraded PHP to 7.2 and site doesn't work


IndianaJoe

Recommended Posts

Did you disable all your plugins before updating? Could be an addon/plugin causing this.

Check (if possible) your logfiles and the apache webserver logfiles (normally to be found on your hosting panel), good chance the reason for the error 500 is displayed there.

Link to comment
Share on other sites

I didn't get to the upgrade Invision part yet. We upgraded the server then I couldn't access anything.

That doesn't really matter. Some addons might not be happy with php 7.2. So just doing a php upgrade could already cause issues, without having the forums updated yet.
But if you could check the logs there is a big chance it's mentioned in there.

I see you uploaded the 4.4.1 files already, but it's better to have the 4.3.6 files there as you are still using 4.3.6. Better is to fix this first so you can access it again. And then try the upgrade afterwards if things are working again.

Link to comment
Share on other sites

38 minutes ago, IndianaJoe said:

4.3.6 and uploaded the 4.4.1 files for the upgrade...but can't do anything

If you use the apache server, check or remove the htaccess file - there might be missing rule for php 7.2 and create a conflict.

Link to comment
Share on other sites

Thanks a lot for the help....here is what I have done to no avail
-renamed .htaccess
-disabled plugins

I did get the error from the log and this is what it says.
Note that when I originally updated to 7.2 on IP 4.3.6 it did the same thing. I am also running this on a clone of my currently well running site, thus the IP address that is listed.

 

PHP Fatal error:   Uncaught Error: Call to undefined function IPS\\Data\\json_decode() in /var/www/html/system/Data/Store.php:40 Stack trace:\n#0 /var/www/html/system/Settings/Settings.php(166): IPS\\Data\\_Store::i()
#1 /var/www/html/system/Settings/Settings.php(122): IPS\\_Settings->loadFromDb()
#2 /var/www/html/system/Http/Url/Friendly.php(635): IPS\\_Settings->__get('furl_configurat...')
#3 /var/www/html/init.php(588) : eval()'d code(19): IPS\\Http\\Url\\_Friendly::furlDefinition(false)
#4 /var/www/html/system/Http/Url/Friendly.php(90): IPS\\Http\\Url\\cms_hook_FriendlyUrl::furlDefinition()
#5 /var/www/html/init.php(588) : eval()'d code(35): IPS\\Http\\Url\\_Friendly::createFriendlyUrlFromComponents(Array, '')
#6 /var/www/html/system/Http/Url.php(286): IPS\\Http\\Url\\cms_hook_FriendlyUrl::createFriendlyUrlFromComponents(Array, '')
#7 /var/www/html/init.php(588) : eval()'d code(25): IPS\\Http\\_Url::createFromString('http://64.255.1...', true, true)
#8 /var/www/html/system/Request/Request.php(252): IPS\\Http\\cms_hook_Url::createFromString('http: in /var/www/html/system/Data/Store.php on line 40

 

Link to comment
Share on other sites

17 minutes ago, IndianaJoe said:

Thanks a lot for the help....here is what I have done to no avail
-renamed .htaccess
-disabled plugins

I did get the error from the log and this is what it says.
Note that when I originally updated to 7.2 on IP 4.3.6 it did the same thing. I am also running this on a clone of my currently well running site, thus the IP address that is listed.

 


PHP Fatal error:   Uncaught Error: Call to undefined function IPS\\Data\\json_decode() in /var/www/html/system/Data/Store.php:40 Stack trace:\n#0 /var/www/html/system/Settings/Settings.php(166): IPS\\Data\\_Store::i()
#1 /var/www/html/system/Settings/Settings.php(122): IPS\\_Settings->loadFromDb()
#2 /var/www/html/system/Http/Url/Friendly.php(635): IPS\\_Settings->__get('furl_configurat...')
#3 /var/www/html/init.php(588) : eval()'d code(19): IPS\\Http\\Url\\_Friendly::furlDefinition(false)
#4 /var/www/html/system/Http/Url/Friendly.php(90): IPS\\Http\\Url\\cms_hook_FriendlyUrl::furlDefinition()
#5 /var/www/html/init.php(588) : eval()'d code(35): IPS\\Http\\Url\\_Friendly::createFriendlyUrlFromComponents(Array, '')
#6 /var/www/html/system/Http/Url.php(286): IPS\\Http\\Url\\cms_hook_FriendlyUrl::createFriendlyUrlFromComponents(Array, '')
#7 /var/www/html/init.php(588) : eval()'d code(25): IPS\\Http\\_Url::createFromString('http://64.255.1...', true, true)
#8 /var/www/html/system/Request/Request.php(252): IPS\\Http\\cms_hook_Url::createFromString('http: in /var/www/html/system/Data/Store.php on line 40

 

Your server does not meet the minimum requirements for Invision Community (Your PHP is missing default extensions - http://uk3.php.net/manual/en/json.installation.php). You can upload our requirement checker to find out if there are any other items missing (you'll need to do this after enabling JSON, since it uses JSON itself).

 

Link to comment
Share on other sites

2 minutes ago, Stuart Silvester said:

Your server does not meet the minimum requirements for Invision Community (Your PHP is missing default extensions - http://uk3.php.net/manual/en/json.installation.php). You can upload our requirement checker to find out if there are any other items missing (you'll need to do this after enabling JSON, since it uses JSON itself).

 

It gives me the all clear

http://64.255.123.78/stuff/ips4.php

8 minutes ago, Adlago said:

What methods do the Storage settings you use in 4.3.6?

Using File System storage

Link to comment
Share on other sites

12 minutes ago, IndianaJoe said:

It gives me the all clear

That's interesting, its showing that JSON is available, but the error is suggesting it isn't.

A quick search online brought this up, it may (or may not) be something that's related to the issue you're seeing (note, it's for the same platform). Ultimately though, it does appear to be a server side issue.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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