IndianaJoe Posted March 7, 2019 Posted March 7, 2019 Note this is on a clone of my site and went to upgrade php to 7.2 and now my site won't load. This is the same exact version that runs perfect with 5.6 and has no issues. Is there anything I should look into to see why my site won't load or do anything?
IndianaJoe Posted March 7, 2019 Author Posted March 7, 2019 A couple other notes, Wordpress still works just fine after the upgrade on the same server. The error I get is the always helpful "HTTP ERROR 500" error.
Black Tiger Posted March 7, 2019 Posted March 7, 2019 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.
IndianaJoe Posted March 7, 2019 Author Posted March 7, 2019 I didn't get to the upgrade Invision part yet. We upgraded the server then I couldn't access anything.
opentype Posted March 7, 2019 Posted March 7, 2019 And most importantly: what IPS version are you running?
IndianaJoe Posted March 7, 2019 Author Posted March 7, 2019 1 minute ago, opentype said: And most importantly: what IPS version are you running? 4.3.6 and uploaded the 4.4.1 files for the upgrade...but can't do anything
Black Tiger Posted March 7, 2019 Posted March 7, 2019 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.
Adlago Posted March 7, 2019 Posted March 7, 2019 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.
Adlago Posted March 7, 2019 Posted March 7, 2019 PS. Or add in your htaccess file AddType application/x-httpd-php72 .php
IndianaJoe Posted March 7, 2019 Author Posted March 7, 2019 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
Adlago Posted March 7, 2019 Posted March 7, 2019 What methods do the Storage settings you use in 4.3.6?
Stuart Silvester Posted March 7, 2019 Posted March 7, 2019 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).
IndianaJoe Posted March 7, 2019 Author Posted March 7, 2019 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
Stuart Silvester Posted March 7, 2019 Posted March 7, 2019 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.
Platinumwealth.co.za Posted March 8, 2019 Posted March 8, 2019 12 hours ago, IndianaJoe said: It gives me the all clear http://64.255.123.78/stuff/ips4.php You might want to lock down that /stuff/ folder... (nice to see a fellow wrestler.)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.