<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Sudden WSOD and fatal error]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=6646&amp;type=atom" />
	<updated>2017-01-17T08:07:12Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=6646</id>
		<entry>
			<title type="html"><![CDATA[Re: Sudden WSOD and fatal error]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=27401#p27401" />
			<content type="html"><![CDATA[<p><s>PM me the access details.</s></p><p>Check your PM mailbox.<br />Your host has switched to PHP 7 - ask them to revert back to PHP 5.3 to 5.6 as it originally was.</p><p>You may be able to make the change from your hosting control panel itself <a href="https://www.siteground.com/kb/how_to_have_different_php_versions/">like this</a> and if using SuPHP, like <a href="http://www.inmotionhosting.com/support/website/php-configuration/using-multiple-php-versions-one-account">this</a> and if using Plesk, like <a href="http://manage.bigrock.in/kb/answer/1592">this</a>.</p><p>PHP 7 incompatibilities are <a href="http://php.net/manual/en/migration70.incompatible.php">here</a>.</p><p><a href="http://php.net/manual/en/mysqlinfo.api.choosing.php">MySQL functions have been removed in PHP 7</a> and only PDO_MySQL and MySQLi are available in it now.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-01-17T08:07:12Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=27401#p27401</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Sudden WSOD and fatal error]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=27393#p27393" />
			<content type="html"><![CDATA[<p>I replaced the includes/current_user.inc, but to no avail. The error is still the same.<br />Could it be anything database related?</p>]]></content>
			<author>
				<name><![CDATA[mhertog]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=40859</uri>
			</author>
			<updated>2017-01-16T09:34:42Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=27393#p27393</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Sudden WSOD and fatal error]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=27382#p27382" />
			<content type="html"><![CDATA[<p>The <strong>function user_company()</strong> is defined in <strong>includes/current_user.inc</strong>. Check if the said file exists. It may have been inadvertently been deleted or got corrupted (hard disk error). Take a dump of the html folder (web root) and compare with the original version you installed from and see if there are any files that are missing. Check with a filesize and date compare and beware of some false positives where some files may have been overwritten by extensions (rare) or customised.</p><p>It is also possible that on date change (next day), the session may ahve expired - cleare browser cache and try to login again or restart the webserver and try. What do the server logs show?</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-01-14T08:21:05Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=27382#p27382</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Sudden WSOD and fatal error]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=27380#p27380" />
			<content type="html"><![CDATA[<p>I have used FA for 3 years now. Yesterday I entered some invoices and left for the day. This morning there was the infamou WSOD. No errors in the logs and now PHP errors. After some fiddling I was able to extract the offending fatal error. </p><p>Fatal Error: /home/maurius51/domains/mauricehertog.nl/public_html/bedrijf/includes/errors.inc:87 - &quot;Uncaught Error: Call to undefined function user_company() in /home/maurius51/domains/mauricehertog.nl/public_html/bedrijf/includes/errors.inc:87 Stack trace: #0 /home/maurius51/domains/mauricehertog.nl/public_html/bedrijf/includes/session.inc(363): error_handler(8192, &#039;Methods with th...&#039;, &#039;/home/maurius51...&#039;, 19, Array) #1 /home/maurius51/domains/mauricehertog.nl/public_html/bedrijf/includes/session.inc(363): include_once() #2 /home/maurius51/domains/mauricehertog.nl/public_html/bedrijf/index.php(46): include_once(&#039;/home/maurius51...&#039;) #3 {main} thrown&quot;, on page bedrijf.mauricehertog.nl/</p><p>I have not updated or changed anything an ad far as I know my host has not changed anything. I am awaiting a backup from them, but would like to try and solve it myself.</p><p>Thanks for any input!!</p><p>regards, Maurice</p>]]></content>
			<author>
				<name><![CDATA[mhertog]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=40859</uri>
			</author>
			<updated>2017-01-13T14:24:47Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=27380#p27380</id>
		</entry>
</feed>
