<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Upgrade from 2.4.2 to 2.4.4]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7714&amp;type=atom" />
	<updated>2018-11-14T21:43:19Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=7714</id>
		<entry>
			<title type="html"><![CDATA[Re: Upgrade from 2.4.2 to 2.4.4]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=33256#p33256" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[gj6n68]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=21080</uri>
			</author>
			<updated>2018-11-14T21:43:19Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=33256#p33256</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Upgrade from 2.4.2 to 2.4.4]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=33049#p33049" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[kvvaradha]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19348</uri>
			</author>
			<updated>2018-10-26T04:20:09Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=33049#p33049</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Upgrade from 2.4.2 to 2.4.4]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=33042#p33042" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[gj6n68]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=21080</uri>
			</author>
			<updated>2018-10-25T21:45:25Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=33042#p33042</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Upgrade from 2.4.2 to 2.4.4]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=33013#p33013" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[kvvaradha]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19348</uri>
			</author>
			<updated>2018-10-24T05:49:32Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=33013#p33013</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Upgrade from 2.4.2 to 2.4.4]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=33009#p33009" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2018-10-23T17:17:36Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=33009#p33009</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Upgrade from 2.4.2 to 2.4.4]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=33003#p33003" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[gj6n68]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=21080</uri>
			</author>
			<updated>2018-10-22T20:06:45Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=33003#p33003</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Upgrade from 2.4.2 to 2.4.4]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=32996#p32996" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2018-10-20T04:06:50Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=32996#p32996</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Upgrade from 2.4.2 to 2.4.4]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=32995#p32995" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[gj6n68]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=21080</uri>
			</author>
			<updated>2018-10-19T19:56:12Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=32995#p32995</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Upgrade from 2.4.2 to 2.4.4]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=32994#p32994" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[gj6n68]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=21080</uri>
			</author>
			<updated>2018-10-19T19:45:19Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=32994#p32994</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Upgrade from 2.4.2 to 2.4.4]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=32993#p32993" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[kvvaradha]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19348</uri>
			</author>
			<updated>2018-10-19T17:41:28Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=32993#p32993</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Upgrade from 2.4.2 to 2.4.4]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=32992#p32992" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[emiangel839]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=42510</uri>
			</author>
			<updated>2018-10-19T17:07:11Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=32992#p32992</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Upgrade from 2.4.2 to 2.4.4]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=32991#p32991" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[poncho1234]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19944</uri>
			</author>
			<updated>2018-10-19T16:45:42Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=32991#p32991</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Upgrade from 2.4.2 to 2.4.4]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=32990#p32990" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[gj6n68]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=21080</uri>
			</author>
			<updated>2018-10-19T13:50:44Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=32990#p32990</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Upgrade from 2.4.2 to 2.4.4]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=32989#p32989" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2018-10-19T10:19:28Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=32989#p32989</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Upgrade from 2.4.2 to 2.4.4]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=32988#p32988" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[gj6n68]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=21080</uri>
			</author>
			<updated>2018-10-19T10:04:01Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=32988#p32988</id>
		</entry>
</feed>
