<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://3.19.219.109/index.php?action=history&amp;feed=atom&amp;title=PHP_Upgrade_Troubleshooting_Guide</id>
		<title>PHP Upgrade Troubleshooting Guide - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://3.19.219.109/index.php?action=history&amp;feed=atom&amp;title=PHP_Upgrade_Troubleshooting_Guide"/>
		<link rel="alternate" type="text/html" href="http://3.19.219.109/index.php?title=PHP_Upgrade_Troubleshooting_Guide&amp;action=history"/>
		<updated>2026-04-04T13:11:33Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.29.1</generator>

	<entry>
		<id>http://3.19.219.109/index.php?title=PHP_Upgrade_Troubleshooting_Guide&amp;diff=33673&amp;oldid=prev</id>
		<title>SarahK: Created page with &quot;If, after changing your PHP version, you encounter an '''Oops''' error or a blank or partially-rendered page, it is likely that there is a file in your i...&quot;</title>
		<link rel="alternate" type="text/html" href="http://3.19.219.109/index.php?title=PHP_Upgrade_Troubleshooting_Guide&amp;diff=33673&amp;oldid=prev"/>
				<updated>2022-11-23T17:12:14Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;If, &lt;a href=&quot;/PHP_Upgrade_Guide&quot; title=&quot;PHP Upgrade Guide&quot;&gt;after changing your PHP version&lt;/a&gt;, you encounter an &amp;#039;&amp;#039;&amp;#039;Oops&amp;#039;&amp;#039;&amp;#039; error or a blank or partially-rendered page, it is likely that there is a file in your i...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;If, [[PHP Upgrade Guide|after changing your PHP version]], you encounter an '''Oops''' error or a blank or partially-rendered page, it is likely that there is a file in your installation that is not compatible with the new PHP version.&lt;br /&gt;
&lt;br /&gt;
This may indicate one of these problems:&lt;br /&gt;
&lt;br /&gt;
* Syntax Error — A file uses deprecated or removed functionality that is no longer available in the newer version of PHP.&lt;br /&gt;
* Decoding — A file is encoded with an ionCube® encoding that is not compatible with the newer version of PHP or the installed ionCube Loader® extension.&lt;br /&gt;
&lt;br /&gt;
To confirm the exact cause of the issue, you must enable error reporting.&lt;br /&gt;
&lt;br /&gt;
==Enabling Error Reporting==&lt;br /&gt;
&lt;br /&gt;
===Enabling From The Admin Area===&lt;br /&gt;
&lt;br /&gt;
If possible, log in to the [[Admin Area]] and perform the following steps to enable error display:&lt;br /&gt;
&lt;br /&gt;
# Go to '''Configuration (&amp;lt;i class=&amp;quot;fa fa-wrench&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/i&amp;gt;) &amp;gt; System Settings &amp;gt; [[General Settings]]''' or, prior to WHMCS 8.0, '''Setup &amp;gt; General Settings'''.&lt;br /&gt;
# Select the '''[[Other Tab|Other]]''' tab.&lt;br /&gt;
# Check '''Display Errors'''.&lt;br /&gt;
# Click '''Save Changes'''.&lt;br /&gt;
&lt;br /&gt;
After error reporting is enabled, retry the steps that previously led to the '''Oops!''', blank, or partially rendered page. More information will display.&lt;br /&gt;
&lt;br /&gt;
===Enabling From Your Configuration File===&lt;br /&gt;
&lt;br /&gt;
If you cannot log in, use these steps to enable error reporting in the configuration file directly:&lt;br /&gt;
&lt;br /&gt;
# In the WHMCS root directory, open the &amp;lt;tt&amp;gt;configuration.php&amp;lt;/tt&amp;gt; file for editing.&lt;br /&gt;
# Add the following line at the end of the configuration file, below any other lines but above the closing &amp;lt;tt&amp;gt;?&amp;gt;&amp;lt;/tt&amp;gt; line, if it is present:&amp;lt;div class=&amp;quot;source-cli&amp;quot;&amp;gt;$display_errors = true;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After error reporting is enabled, retry the steps that previously led to the '''Oops!''', blank, or partially rendered page. More information will display.&lt;br /&gt;
&lt;br /&gt;
==Common Errors/Resolutions==&lt;br /&gt;
&lt;br /&gt;
After you enable error reporting, you will see the full error message that WHMCS generates when the problem occurs:&lt;br /&gt;
&lt;br /&gt;
===Oops! Something went wrong and we couldn't process your request===&lt;br /&gt;
&lt;br /&gt;
[[File:Oops_error_page.png]]&lt;br /&gt;
&lt;br /&gt;
This error indicates that a fatal error is occurring. Usually, this is due to one of two causes:&lt;br /&gt;
&lt;br /&gt;
* '''Missing PHP Extensions''' — Your version of PHP is missing some of the [[System_Environment_Guide#Extensions_2|required extensions]] for WHMCS.&amp;lt;div class=&amp;quot;docs-alert-warning&amp;quot;&amp;gt;If you compile PHP using EasyApache, you must include both the '''PDO''' and '''mysqlnd''' PHP extensions to allow MySQL® connections.&amp;lt;/div&amp;gt;&lt;br /&gt;
* '''Incompatible PHP Files''' — PHP files using deprecated or unavailable functions are triggering an error page. To debug this, enable error reporting to find the file and PHP error output.&lt;br /&gt;
&lt;br /&gt;
===The file was encoded by the ionCube Encoder for PHP x.x and cannot run...===&lt;br /&gt;
&lt;br /&gt;
You may see an error message that looks like this:&lt;br /&gt;
&lt;br /&gt;
 The file /path/to/file.php was encoded by the ionCube Encoder for PHP 5.6 and cannot run under PHP 7.1 or later. Please ask the provider of the script to provide a version encoded with the ionCube Encoder for PHP 7.1.&lt;br /&gt;
&lt;br /&gt;
This error indicates that the file encoding uses an older version of ionCube Encoder® that does not support PHP 7.1 or later. Contact the original author of the file for an updated version.&lt;br /&gt;
&lt;br /&gt;
If the file is a WHMCS file, we may no longer maintain or distribute it. &lt;br /&gt;
&lt;br /&gt;
* To identify WHMCS files, check for the WHMCS copyright notice at the beginning of the file.&lt;br /&gt;
* Typically, built-in routine updates remove these files automatically. However, permissions issues may prevent removal.&lt;br /&gt;
* Normally, the current version of WHMCS does not use these files and you can delete them.&lt;/div&gt;</summary>
		<author><name>SarahK</name></author>	</entry>

	</feed>