<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Bug 5326 needs reversion for PHP < 5.5]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=9179</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=9179&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Bug 5326 needs reversion for PHP < 5.5.]]></description>
		<lastBuildDate>Sun, 31 Jan 2021 15:13:02 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Bug 5326 needs reversion for PHP < 5.5]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=39077#p39077</link>
			<description><![CDATA[<p>Committed to stable repo.</p><p>/Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Sun, 31 Jan 2021 15:13:02 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=39077#p39077</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bug 5326 needs reversion for PHP < 5.5]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=39075#p39075</link>
			<description><![CDATA[<p>Thanksn@apmuthu</p><p>I will fix this asap.</p><p>Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Sun, 31 Jan 2021 11:11:08 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=39075#p39075</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bug 5326 needs reversion for PHP < 5.5]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=39074#p39074</link>
			<description><![CDATA[<p>Fixed and <strong><a href="https://github.com/apmuthu/frontac24/commit/7cac73698633f6bf94843aaa85fb61990f053fc1">committed in my fixes repo</a></strong> by replacing line 325 in <strong>includes/archive.inc</strong>:<br /></p><div class="codebox"><pre><code>                $temp = unpack(&quot;Z100name/Z8mode/Z8uid/Z8gid/Z12size/Z12mtime/Z8checksum/Z1type/Z100symlink/Z6magic/Z2temp/Z32temp/Z32temp/Z8temp/Z8temp/Z155prefix/Z12temp&quot;, $block);</code></pre></div><p>with<br /></p><div class="codebox"><pre><code>                if (version_compare(PHP_VERSION, &#039;5.5.0&#039;) &gt;= 0)
                    $temp = unpack(&quot;Z100name/Z8mode/Z8uid/Z8gid/Z12size/Z12mtime/Z8checksum/Z1type/Z100symlink/Z6magic/Z2temp/Z32temp/Z32temp/Z8temp/Z8temp/Z155prefix/Z12temp&quot;, $block);
                else
                    $temp = unpack(&quot;a100name/a8mode/a8uid/a8gid/a12size/a12mtime/a8checksum/a1type/a100symlink/a6magic/a2temp/a32temp/a32temp/a8temp/a8temp/a155prefix/a12temp&quot;, $block);</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sun, 31 Jan 2021 10:02:21 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=39074#p39074</guid>
		</item>
		<item>
			<title><![CDATA[Bug 5326 needs reversion for PHP < 5.5]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=39073#p39073</link>
			<description><![CDATA[<p>The <strong><a href="https://github.com/FrontAccountingERP/FA/commit/4022094621f5bdb8951fdf24c6074fe552dc5173">recent commit by @itronics</a></strong> addressing modules installation PHP <strong>function unpack()</strong> using &quot;Z&quot; instead of existing &quot;a&quot; prefix is valid only for PHP 5.5 and above as per the manual:</p><p><a href="https://www.php.net/manual/en/function.unpack.php">https://www.php.net/manual/en/function.unpack.php</a></p><p>This commit will break all installs using any PHP &lt; v5.5.</p><p>In fact, only an empty folder is created in the <strong>modules/_cache</strong> folder when an install is attempted.</p><p>Hence it is advised to make a check for PHP version before such a choice is made.</p><p>@joe, @Janusz - kindly do the needful.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sun, 31 Jan 2021 09:38:29 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=39073#p39073</guid>
		</item>
	</channel>
</rss>
