Dave O Posted July 5, 2023 Posted July 5, 2023 I had my web host update the PHP, but when they did the site didn't load. They mention uploading "the latest files", but I have no idea of what they are and how to go about doing it. Assume I don't know anything about how these things work. It's a safe bet. These are the errors and the response from the host: [04-Jul-2023 10:02:05 UTC] PHP Fatal error: Uncaught Error: Call to undefined function IPS\get_magic_quotes_gpc() in /home/piperboats/public_html/system/Request/Request.php:117 Stack trace: #0 [internal function]: IPS\_Request->clean() #1 /home/piperboats/public_html/system/Request/Request.php(54): array_walk_recursive() #2 /home/piperboats/public_html/system/Patterns/Singleton.php(41): IPS\_Request->__construct() #3 /home/piperboats/public_html/system/Log/Log.php(106): IPS\Patterns\_Singleton::i() #4 /home/piperboats/public_html/init.php(533): IPS\_Log::log() #5 [internal function]: IPS\IPS::exceptionHandler() #6 {main} thrown in /home/piperboats/public_html/system/Request/Request.php on line 117 All checks seem to relate to Invision Community which I feel is what you have running? They mention being able to upgrade and check the server is running what is needed. Can you check the latest files are uploaded and we can try to update the PHP again?
Adlago Posted July 5, 2023 Posted July 5, 2023 What version of IPS you are, what version of PHP your host built?
Miss_B Posted July 5, 2023 Posted July 5, 2023 50 minutes ago, Dave O said: They mention uploading "the latest files", but I have no idea of what they are and how to go about doing it. Most likely they meant the latest version of Ipb. As asked above, what version of Ipb do you have?
Jim M Posted July 5, 2023 Posted July 5, 2023 To run the latest release of our software, ensure you are running PHP 8 and have all required modules. You can run this checker script to assist: https://invisioncommunity.com/files/file/7046-invision-community-requirements-checker/
Dave O Posted July 6, 2023 Author Posted July 6, 2023 Where might I find the directory? "Simply upload the script either to the directory where your current IP.Board 3.x. installation is (if you want to test if you're ready to upgrade) or anywhere else on your server (if you want to test if you can perform a fresh install) and run it in your web browser. " I tried to have the PHP updated to 8, but when I did I lost all access to Invision. Consequentially, it has been reverted for now.
Marc Posted July 6, 2023 Posted July 6, 2023 You would need to ask your hosting company where the directory is for your site. This is not something we are able to answer, as we dont host your site. You are correct in that you need to be on PHP 8, and that it will take your site down when you move. What you need to do is Switch off your site Create a full backup of your site Switch to PHP 8 (yes, your site will be unoperable at that point) Run the requirement checker to ensure things check out Upload a fresh set of files from your client area Run the upgrader from /admin/upgrade This does not take into account any 3rd party items you have, and you should ensure those are going to be compatible with the latest release before you proceed. Miss_B 1
Miss_B Posted July 6, 2023 Posted July 6, 2023 3 hours ago, Dave O said: Where might I find the directory? That would be the forum directory. What is your forum url? If it is yourforum.com then the directory is in the root of the /www/, /public_html/ folders inside your server space. If you have installed your forum to another folder, such as yourforum.com/ipb for example, then the directory is /ipb/. In other words whatever folder you have installed your Ipb forum. If you have installed it in a subdomain, then that is your directory. Hope it helps.
Dll Posted July 6, 2023 Posted July 6, 2023 4 hours ago, Dave O said: Where might I find the directory? Calling the cloud sales team hotline. Red hot lead right here.
Marc Posted July 6, 2023 Posted July 6, 2023 10 minutes ago, Dll said: Calling the cloud sales team hotline. Red hot lead right here. I would certainly agree here. If you are unsure on how to find where your site is even installed, cloud may well be a better option for you. That way you never have to think about these things.
Recommended Posts