<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — FA 2.4 beta installation fix]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=5863&amp;type=atom" />
	<updated>2015-07-29T18:12:57Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=5863</id>
		<entry>
			<title type="html"><![CDATA[Re: FA 2.4 beta installation fix]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=23970#p23970" />
			<content type="html"><![CDATA[<p>This fix has been <a href="https://github.com/FrontAccountingERP/FA/commit/b5050ef40b6360715b9815417168e5b616c5024c">committed in the FA Repo now</a>.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2015-07-29T18:12:57Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=23970#p23970</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[FA 2.4 beta installation fix]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=23934#p23934" />
			<content type="html"><![CDATA[<p>Attempting to install FA v2.4 (latest current unstable master) will result in the following error:<br /></p><div class="codebox"><pre><code>Call to undefined function cache_invalidate() in D:\WebServers\XAMPP\htdocs\fa24\admin\db\maintenance_db.inc on line 248</code></pre></div><p>.</p><p>Have informed the devs a few days ago but the fix has not been incorporated yet.</p><p>During installation, after filling in the db parameters, on submission, there is an error due to recent inclusion of the <strong>function <em>cache_invalidate()</em></strong> in FA 2.4&#039;s <strong>includes/session.inc</strong>, without including it in the <strong>install/isession.inc</strong> file.</p><p>The fix is to append the following snippet of code to <strong>install/isession.inc</strong>:</p><div class="codebox"><pre><code>/*
 Ensure file is re-read on next request if php caching is active
*/
function cache_invalidate($filename)
{
 if (function_exists(&#039;opcache_invalidate&#039;)) // OpCode extension
  opcache_invalidate($filename);
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2015-07-26T10:07:58Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=23934#p23934</id>
		</entry>
</feed>
