<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Upgrade from 2.4.2 to 2.4.4]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=7714</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7714&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Upgrade from 2.4.2 to 2.4.4.]]></description>
		<lastBuildDate>Wed, 14 Nov 2018 21:43:19 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Upgrade from 2.4.2 to 2.4.4]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=33256#p33256</link>
			<description><![CDATA[<p>Hello,</p><p>I managed to upgrade to 2.4.4 from 2.4.2 on php 7.2 directly, and the process was relatively straight forward, though I have to say I did manage to delete a few things on 2.4.2 before I upgraded 2.4.4. and had no choice but to make it work. Luckily I had created backup from FA itself.</p><p>One problem I came across was similar to what has been discussed in this post https://frontaccounting.com/punbb/viewtopic.php?id=7778&nbsp; </p><p>I got an error before installation begins and pointed it to &quot;maintenance_db.inc&quot; file at line 186, but I applied same logic as mentioned in the link and replaced <strong>count</strong>&nbsp; by <strong>count_array </strong> and installation was successful.</p><div class="codebox"><pre><code>    // update per company files
     $cnt = max(1, count($db_connections));
    for($i = 0; $i &lt; $cnt; $i++) </code></pre></div><p>So far so good, and everything seems to be working fine.<br />I haven&#039;t been able to use import items extension on 2.4.4 though I tried everything but that can wait.</p><p>Thank you all for all the help.</p>]]></description>
			<author><![CDATA[null@example.com (gj6n68)]]></author>
			<pubDate>Wed, 14 Nov 2018 21:43:19 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=33256#p33256</guid>
		</item>
		<item>
			<title><![CDATA[Re: Upgrade from 2.4.2 to 2.4.4]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=33049#p33049</link>
			<description><![CDATA[<p>@gj6n68 -&nbsp; Read this and get new version of FA before you install it on your new PHP version.&nbsp; &nbsp;</p><p>https://frontaccounting.com/punbb/viewtopic.php?pid=33023#p33023 Hoping to hear, it worked</p>]]></description>
			<author><![CDATA[null@example.com (kvvaradha)]]></author>
			<pubDate>Fri, 26 Oct 2018 04:20:09 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=33049#p33049</guid>
		</item>
		<item>
			<title><![CDATA[Re: Upgrade from 2.4.2 to 2.4.4]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=33042#p33042</link>
			<description><![CDATA[<p>Thank you all.</p><p>I am going to try and move to 2.4.4 along with php 7.2 over the weekend. </p><p>I am planning to do a fresh install and use the back from my prod of 2.4.2 before I migrate over completely.</p><p>Hope it all goes well or else I&#039;ll be back with lot of questions again.</p>]]></description>
			<author><![CDATA[null@example.com (gj6n68)]]></author>
			<pubDate>Thu, 25 Oct 2018 21:45:25 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=33042#p33042</guid>
		</item>
		<item>
			<title><![CDATA[Re: Upgrade from 2.4.2 to 2.4.4]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=33013#p33013</link>
			<description><![CDATA[<p>@gj6n68 - you need to keep the version of php also same. </p><p>Because upto FA 2.4.3 ,it throws error on php 7.0 and above. But from 2.4.4 it works fine there. </p><p>So if you want to use 2.4.2 on php 5.6 its fine. But if you upgraded the server php version. you need to swtich to FA2.4.4. </p><p>Otherwise you need to update the program manually by checking the changes log of FA.</p><p>anyway, you need to upgrade program of FA to 2.4.4.&nbsp; and connect the 2.4.2 database. only few field differences are there. That i already stated above for your understanding purpose</p>]]></description>
			<author><![CDATA[null@example.com (kvvaradha)]]></author>
			<pubDate>Wed, 24 Oct 2018 05:49:32 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=33013#p33013</guid>
		</item>
		<item>
			<title><![CDATA[Re: Upgrade from 2.4.2 to 2.4.4]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=33009#p33009</link>
			<description><![CDATA[<p>There is no real difference in installing FA 2.4.2 or 2.4.4 and moving it across PHP versions since only a few config files are generated during the install. If the code in the core and the extensions used are compatible with the appropriate version of PHP, then all should be okay.</p><p>The upgrade, however may not be that straightforward across PHP versions. Various users experiences on and off the wiki/forum will need to be referred.</p><p>Upgrade of PHP version will affect older FA installs. The older PHP functions / syntax may have gotten removed in later PHP versions.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Tue, 23 Oct 2018 17:17:36 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=33009#p33009</guid>
		</item>
		<item>
			<title><![CDATA[Re: Upgrade from 2.4.2 to 2.4.4]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=33003#p33003</link>
			<description><![CDATA[<p>Am I correct in understanding below ?</p><p>1. I can install 2.4.2 and 2.4.4 both on php7.1 and php7.2?</p><p>2. Once 2.4.x is installed on certain php version, the php version cannot be updated for same installation to work with higher php version ? (e.g. I have 2.4.2 installed on php5.6, but when I upgrade to php7.1, I start getting errors).</p>]]></description>
			<author><![CDATA[null@example.com (gj6n68)]]></author>
			<pubDate>Mon, 22 Oct 2018 20:06:45 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=33003#p33003</guid>
		</item>
		<item>
			<title><![CDATA[Re: Upgrade from 2.4.2 to 2.4.4]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32996#p32996</link>
			<description><![CDATA[<p>Switch service provider or check if they allow multiple versions of PHP to co-exist (CGI?).</p><p>Take a backup of the FA DB and the scripts (if you have specific versions of extensions / customisations).</p><p>The DB v10.x is that of the MySQL plugin replacement called MariaDB.</p><p>There are no real MySQL DB changes from v2.4.2 to v2.4.4 other than some records for the sys_prefs table records and their dependencies.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sat, 20 Oct 2018 04:06:50 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32996#p32996</guid>
		</item>
		<item>
			<title><![CDATA[Re: Upgrade from 2.4.2 to 2.4.4]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32995#p32995</link>
			<description><![CDATA[<p>Hi,</p><p>Sorry to pick your brains again but, the problem I have in next few days is that my web services provider is going to stop supporting both php 5.6 and 7.0 completely, so I need to make sure that my existing installation 2.4.2 keeps working smoothly on php 7.1 or if possible php 7.2.</p><p>Right now when I change my php from 5.6 to 7.1, within my web services control panel, I encounter below error message, which I did try solving using <span style="color: blue"><strong><a href="https://frontaccounting.com/punbb/viewtopic.php?pid=28036#p28036/">this post</a></strong></span> but, it gave few more errors.</p><div class="codebox"><pre><code>Fatal error: Uncaught Error: Call to undefined function user_company() in /customers/4/6/2/portuk.com/httpd.www/fa/includes/errors.inc:85 Stack trace: #0 /customers/4/6/2/portuk.com/httpd.www/fa/includes/session.inc(376): error_handler(8192, &#039;Methods with th...&#039;, &#039;/customers/4/6/...&#039;, 19, Array) #1 /customers/4/6/2/portuk.com/httpd.www/fa/includes/session.inc(376): include_once() #2 /customers/4/6/2/portuk.com/httpd.www/fa/index.php(18): include_once(&#039;/customers/4/6/...&#039;) #3 {main} thrown in /customers/4/6/2/portuk.com/httpd.www/fa/includes/errors.inc on line 85</code></pre></div><p>For now I want to make sure that I can keep working on 2.4.2, and if possible update to 2.4.4 in order to avoid more complications when it comes to updating to new versions.</p><div class="quotebox"><blockquote><p><em><br />Along with the PHP 7.1/7.2 upgrade you also run the risk of getting your MySQL version upgraded too to 5.7.x which may need some strict setting to be switched off like zero date.<br /></em></p></blockquote></div><p>As for above, I don&#039;t mind strict settings switched off, but I really don&#039;t know where or how to switch them off.</p><br /><div class="quotebox"><cite>apmuthu wrote:</cite><blockquote><p>The <strong>function user_company()</strong> is in <strong>includes/current_user.inc</strong> and expects the default company to be defined in the <strong>config_db.php</strong> file for use on the login screen if no company is available / selected as yet.</p><p>The files that changed from FA v2.4.2 to FA 2.4.4 and those that changed thereafter to the current GitMaster are available in the <a href="https://frontaccounting.com/punbb/viewtopic.php?id=7411">announcements page</a> from where you can sequentially overwrite the existing ones without having to install them (the install folder&#039;s files may be ignored).</p><p>The databases may have to be upgraded on first admin login into each company.</p><p>Along with the PHP 7.1/7.2 upgrade you also run the risk of getting your MySQL version upgraded too to 5.7.x which may need some strict setting to be switched off like zero date.</p></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (gj6n68)]]></author>
			<pubDate>Fri, 19 Oct 2018 19:56:12 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32995#p32995</guid>
		</item>
		<item>
			<title><![CDATA[Re: Upgrade from 2.4.2 to 2.4.4]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32994#p32994</link>
			<description><![CDATA[<div class="quotebox"><cite>poncho1234 wrote:</cite><blockquote><p>To clarify on MySQL version: <strong>You are running MariaDB</strong> not MySQL, MariaDB 10.0 is compatible with MySQL 5.6, and MariaDB 10.2 is compatible with MySQL 5.7.</p><p>So it depends on what your last digit is?</p><br /><p><a href="https://mariadb.com/kb/en/library/mariadb-vs-mysql-compatibility/">Read about it here</a></p></blockquote></div><br /><p>Hi Ponocho1234,</p><p>You are right, I am running below MariaDB, which according to link in your post is equivalent of MySQL 5.6.</p><div class="codebox"><pre><code>Software version: 10.1.30-MariaDB-1~xenial - mariadb.org binary distribution</code></pre></div><p>Thank you</p>]]></description>
			<author><![CDATA[null@example.com (gj6n68)]]></author>
			<pubDate>Fri, 19 Oct 2018 19:45:19 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32994#p32994</guid>
		</item>
		<item>
			<title><![CDATA[Re: Upgrade from 2.4.2 to 2.4.4]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32993#p32993</link>
			<description><![CDATA[<p>@emiangel - 2.4.1 is database version. Usually FA has two versions, </p><p>&nbsp; &nbsp;* FA version&nbsp; 2.4.4<br />&nbsp; &nbsp;* DB version 2.4.1</p>]]></description>
			<author><![CDATA[null@example.com (kvvaradha)]]></author>
			<pubDate>Fri, 19 Oct 2018 17:41:28 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32993#p32993</guid>
		</item>
		<item>
			<title><![CDATA[Re: Upgrade from 2.4.2 to 2.4.4]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32992#p32992</link>
			<description><![CDATA[<p>i have question from you, well i have installed the FA 2.4.4 but when i goto setup-&gt; software upgrade it show me lower then version to 2.4.4 and said upto date * show current version 2.4.1 .... what is this?</p>]]></description>
			<author><![CDATA[null@example.com (emiangel839)]]></author>
			<pubDate>Fri, 19 Oct 2018 17:07:11 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32992#p32992</guid>
		</item>
		<item>
			<title><![CDATA[Re: Upgrade from 2.4.2 to 2.4.4]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32991#p32991</link>
			<description><![CDATA[<p>To clarify on MySQL version: <strong>You are running MariaDB</strong> not MySQL, MariaDB 10.0 is compatible with MySQL 5.6, and MariaDB 10.2 is compatible with MySQL 5.7.</p><p>So it depends on what your last digit is?</p><br /><p><a href="https://mariadb.com/kb/en/library/mariadb-vs-mysql-compatibility/">Read about it here</a></p>]]></description>
			<author><![CDATA[null@example.com (poncho1234)]]></author>
			<pubDate>Fri, 19 Oct 2018 16:45:42 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32991#p32991</guid>
		</item>
		<item>
			<title><![CDATA[Re: Upgrade from 2.4.2 to 2.4.4]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32990#p32990</link>
			<description><![CDATA[<div class="quotebox"><cite>apmuthu wrote:</cite><blockquote><p>The <strong>function user_company()</strong> is in <strong>includes/current_user.inc</strong> and expects the default company to be defined in the <strong>config_db.php</strong> file for use on the login screen if no company is available / selected as yet.</p><p>The files that changed from FA v2.4.2 to FA 2.4.4 and those that changed thereafter to the current GitMaster are available in the <a href="https://frontaccounting.com/punbb/viewtopic.php?id=7411">announcements page</a> from where you can sequentially overwrite the existing ones without having to install them (the install folder&#039;s files may be ignored).</p><p>The databases may have to be upgraded on first admin login into each company.</p><p>Along with the PHP 7.1/7.2 upgrade you also run the risk of getting your MySQL version upgraded too to 5.7.x which may need some strict setting to be switched off like zero date.</p></blockquote></div><p>I need to update to 2.4.4 and with php7.1 or 7.2, as php5.6 and 7.0 won&#039;t be supported by one.com post mid Nov 18.</p><p>But I want to make sure i can have continuity of system in order to avoid manual entry or re-entry of transactions.</p><p>If I check mysql version via myphp, I think it is 10.x.x something, way ahead than 5.7.x.</p><p>I really need some help and clarity on how to go about this.</p>]]></description>
			<author><![CDATA[null@example.com (gj6n68)]]></author>
			<pubDate>Fri, 19 Oct 2018 13:50:44 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32990#p32990</guid>
		</item>
		<item>
			<title><![CDATA[Re: Upgrade from 2.4.2 to 2.4.4]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32989#p32989</link>
			<description><![CDATA[<p>The <strong>function user_company()</strong> is in <strong>includes/current_user.inc</strong> and expects the default company to be defined in the <strong>config_db.php</strong> file for use on the login screen if no company is available / selected as yet.</p><p>The files that changed from FA v2.4.2 to FA 2.4.4 and those that changed thereafter to the current GitMaster are available in the <a href="https://frontaccounting.com/punbb/viewtopic.php?id=7411">announcements page</a> from where you can sequentially overwrite the existing ones without having to install them (the install folder&#039;s files may be ignored).</p><p>The databases may have to be upgraded on first admin login into each company.</p><p>Along with the PHP 7.1/7.2 upgrade you also run the risk of getting your MySQL version upgraded too to 5.7.x which may need some strict setting to be switched off like zero date.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Fri, 19 Oct 2018 10:19:28 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32989#p32989</guid>
		</item>
		<item>
			<title><![CDATA[Re: Upgrade from 2.4.2 to 2.4.4]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32988#p32988</link>
			<description><![CDATA[<p>Thank you for your reply.</p><p>With new database I meant the one I create within we hosting.</p><p>Also, can someone please let me know about the php7.1 or php7.2 usage?</p>]]></description>
			<author><![CDATA[null@example.com (gj6n68)]]></author>
			<pubDate>Fri, 19 Oct 2018 10:04:01 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32988#p32988</guid>
		</item>
	</channel>
</rss>
