<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Manual Extensions with no version install fix]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=6986&amp;type=atom" />
	<updated>2017-09-23T15:39:36Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=6986</id>
		<entry>
			<title type="html"><![CDATA[Re: Manual Extensions with no version install fix]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28708#p28708" />
			<content type="html"><![CDATA[<p>The <strong>&#039;version&#039;] =&gt; &#039;-&#039;,</strong> is present in the codebase and hence it&#039;s use here.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-09-23T15:39:36Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28708#p28708</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Manual Extensions with no version install fix]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28706#p28706" />
			<content type="html"><![CDATA[<p>If this setup within Official version. Than one of a issue for&nbsp; thirdparty extension installation will be solved.&nbsp; Hope @joe will do this. </p><p>But this way we are boycotting the version information</p>]]></content>
			<author>
				<name><![CDATA[kvvaradha]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19348</uri>
			</author>
			<updated>2017-09-23T13:40:26Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28706#p28706</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Manual Extensions with no version install fix]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28702#p28702" />
			<content type="html"><![CDATA[<p>When a third party extension (that is not in the list of extension repos as defined in <strong>version.php</strong>) with no version number (&#039;version&#039; =&gt; &#039;-&#039;,) is attempted to be re-installed and activated for a specific company, the following error arises:<br /></p><div class="codebox"><pre><code>Package &lt;$ext[&#039;name&#039;]&gt; is incompatible with current application version and cannot be activated.
Check Install/Activate page for newer package version. &lt;$ext[&#039;name&#039;]&gt;</code></pre></div><p>In general, such third party extensions can have their version set to a hyphen whilst they take responsibility for the version matches. To enable such extensions to be activated without the error nag, the following fix can be incorporated by replacing line 215 in <strong>admin/inst_module.php</strong>:</p><div class="codebox"><pre><code>    if (check_value(&#039;Active&#039;.$i) &amp;&amp; !check_src_ext_version($ext[&#039;version&#039;]))</code></pre></div><p>with:</p><div class="codebox"><pre><code>    if (check_value(&#039;Active&#039;.$i) &amp;&amp; (!($ext[&#039;version&#039;] == &#039;-&#039; || check_src_ext_version($ext[&#039;version&#039;]))))</code></pre></div><p>The <strong>$ext[&#039;available&#039;]</strong> parameter is to indicate the extension&#039;s availability with description in the official repos and will be blank for such third party unlisted extensions.</p><p>@joe: can incorporate it in the core.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-09-23T01:19:01Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28702#p28702</id>
		</entry>
</feed>
