<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Installation problem]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=6243&amp;type=atom" />
	<updated>2019-11-09T07:39:20Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=6243</id>
		<entry>
			<title type="html"><![CDATA[Re: Installation problem]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=36365#p36365" />
			<content type="html"><![CDATA[<p>Try with XAMPP v1.7.7 first.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2019-11-09T07:39:20Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=36365#p36365</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Installation problem]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=36344#p36344" />
			<content type="html"><![CDATA[<p>Hi,</p><p>I had the same installation problem with FA2.4.7 and XAMPP3.2.4. Failed with:</p><p>Fatal error: Uncaught Error: Class &#039;application&#039; not found in C:\xampp\htdocs\frontaccounting\applications\activityevents.php:12 Stack trace: #0 {main} thrown in C:\xampp\htdocs\frontaccounting\applications\activityevents.php on line 12</p>]]></content>
			<author>
				<name><![CDATA[anusha.rajakumaran]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=45065</uri>
			</author>
			<updated>2019-11-05T18:11:31Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=36344#p36344</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Installation problem]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28958#p28958" />
			<content type="html"><![CDATA[<p>@PaulShipley&#039;s Post #10&#039;s commit link has all the necessary files to be copied into the modules/&lt;module name&gt; subfolder. The patch file is used in linux CLI to apply on existing files without having to copy the other replacement files.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-10-10T01:54:45Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28958#p28958</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Installation problem]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28936#p28936" />
			<content type="html"><![CDATA[<p>Where shall I copy this patch in FA Core to avoid this installation issue?</p>]]></content>
			<author>
				<name><![CDATA[boxygen]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20175</uri>
			</author>
			<updated>2017-10-08T18:29:06Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28936#p28936</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Installation problem]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28810#p28810" />
			<content type="html"><![CDATA[<p><img src="https://frontaccounting.com/punbb/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-10-02T10:47:37Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28810#p28810</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Installation problem]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28808#p28808" />
			<content type="html"><![CDATA[<p>That is the XAMPP Apache version (Apache-2.4.25). Git auto-generated the name from the commit comment. Sorry for the confusion.</p>]]></content>
			<author>
				<name><![CDATA[PaulShipley]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20029</uri>
			</author>
			<updated>2017-10-02T09:23:27Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28808#p28808</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Installation problem]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28807#p28807" />
			<content type="html"><![CDATA[<p>@PaulShipley: Thanks. It has been <a href="https://frontaccounting.com/fawiki/index.php?n=Main.Installation">Wiki</a>-ed.</p><p>Although the last link in your post is correct, it may have been named wrongly: FA 2.4.25 ??</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-10-02T09:04:18Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28807#p28807</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Installation problem]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28806#p28806" />
			<content type="html"><![CDATA[<p>Hi @apmuthu, </p><p>I have merged my changes with current (Oct 2nd) master as one commit <br />https://github.com/PaulShipley/fa24/commit/3e7d2ed1d60d63b3f85654258fd07312d2e31855</p><p>and created a patch file in&nbsp; <br />https://github.com/PaulShipley/fa24/blob/master/patches/0001-Installation-issues-with-XAMPP-3.2.2-Apache-2.4.25-P.patch</p><br /><p>Hope this helps.</p>]]></content>
			<author>
				<name><![CDATA[PaulShipley]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20029</uri>
			</author>
			<updated>2017-10-02T08:51:45Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28806#p28806</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Installation problem]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28688#p28688" />
			<content type="html"><![CDATA[<p>Whilst your 3 commits address the state of the codebase on the date of your fork, check to see if any subsequent changes need to be incorporated.<br />https://github.com/PaulShipley/fa24/commit/c78c771ef159c7df95984127a2f82895ffaec13c<br />https://github.com/PaulShipley/fa24/commit/0a9c6fc6c3559b15c9be9bf9417159a20869bf77<br />https://github.com/PaulShipley/fa24/commit/4992f088c4d299b3443d8852df2cbeeeb9460afa</p><p>A simple shell script of <strong>sed</strong> constructs to achieve the same would be in order.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-09-21T12:07:40Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28688#p28688</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Installation problem]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28686#p28686" />
			<content type="html"><![CDATA[<p>Thanks @apmuthu. I have updated the remaining old style constructors that I missed.</p>]]></content>
			<author>
				<name><![CDATA[PaulShipley]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20029</uri>
			</author>
			<updated>2017-09-21T10:06:31Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28686#p28686</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Installation problem]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28427#p28427" />
			<content type="html"><![CDATA[<p>Also need to address classes in the <strong>reporting/includes/tcpdf.php</strong> and other pdf classes.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-08-17T14:53:10Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28427#p28427</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Installation problem]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28424#p28424" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>apmuthu wrote:</cite><blockquote><p>Whilst @PaulShipley&#039;s solution does the job (and degrades gracefully), the constructors can be replaced straightaway unless they are called specifically in the code as we now officially support only PHP&nbsp; 5+.</p><p>From the <a href="http://www.php.net/manual/en/language.oop5.decon.php">PHP Manua</a>l:<br /></p><div class="quotebox"><blockquote><p><strong>Warning</strong>:<br />Old style constructors are DEPRECATED in PHP 7.0, and will be removed in a future version. You should always use __construct() in new code.</p></blockquote></div></blockquote></div><p>Thanks @apmuthu. I wasn&#039;t sure if any of the old style constructors were being called directly and (as you say) the solution degrades gracefully for the cost of a few extra lines. A more complete fix would be to remove the old style constructors completely and correct any issues.</p>]]></content>
			<author>
				<name><![CDATA[PaulShipley]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20029</uri>
			</author>
			<updated>2017-08-17T09:10:49Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28424#p28424</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Installation problem]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28421#p28421" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>PaulShipley wrote:</cite><blockquote><p>Hi,</p><p>I had the same installation problem with FA2.4.2 and XAMPP3.2.2. Failed with:</p><div class="codebox"><pre><code>  Fatal error: Uncaught Error: Call to undefined function user_company() in ...</code></pre></div><p>I have fixed this and many deprecated messages. My changes can be found in <a href="https://github.com/PaulShipley/fa24">https://github.com/PaulShipley/fa24</a></p><p>Cloned from https://github.com/FrontAccountingERP/FA on 14Aug2017 (last commit 5Aug2017). Tested with Windows 10 and XAMPP 3.2.2 (Apache 2.4.25, PHP 7.1.4, MariaDB 10.1.22).</p><p>Thanks</p></blockquote></div><br /><p>I am trying with your updated code but i get following error when i click continue on the first installation page:</p><p>method_exists(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition &quot;language&quot; of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in G:\Web\htdocs\fac\install\isession.inc on line 128</p><br /><p>I have resolved this by editing the isession.inc file by substituting:</p><div class="codebox"><pre><code>$_SESSION[&#039;language&#039;]-&gt;set_language($_SESSION[&#039;language&#039;]-&gt;code);
    $GetText-&gt;add_domain( $_SESSION[&#039;language&#039;]-&gt;code, $path_to_root.&quot;/install/lang&quot;);</code></pre></div><p>with this:</p><div class="codebox"><pre><code>if(isset($_SESSION[&#039;language&#039;]))
{
    $_SESSION[&#039;language&#039;]-&gt;set_language($_SESSION[&#039;language&#039;]-&gt;code);
    $GetText-&gt;add_domain( $_SESSION[&#039;language&#039;]-&gt;code, $path_to_root.&quot;/install/lang&quot;);
}</code></pre></div><p>Now I am able to proceed with the installation <img src="https://frontaccounting.com/punbb/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[amrsha]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=41633</uri>
			</author>
			<updated>2017-08-16T12:35:35Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28421#p28421</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Installation problem]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28420#p28420" />
			<content type="html"><![CDATA[<p>Whilst @PaulShipley&#039;s solution does the job (and degrades gracefully), the constructors can be replaced straightaway unless they are called specifically in the code as we now officially support only PHP&nbsp; 5+.</p><p>From the <a href="http://www.php.net/manual/en/language.oop5.decon.php">PHP Manua</a>l:<br /></p><div class="quotebox"><blockquote><p><strong>Warning</strong>:<br />Old style constructors are DEPRECATED in PHP 7.0, and will be removed in a future version. You should always use __construct() in new code.</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-08-16T12:31:29Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28420#p28420</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Installation problem]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28419#p28419" />
			<content type="html"><![CDATA[<p>Hi,</p><p>I had the same installation problem with FA2.4.2 and XAMPP3.2.2. Failed with:</p><div class="codebox"><pre><code>  Fatal error: Uncaught Error: Call to undefined function user_company() in ...</code></pre></div><p>I have fixed this and many deprecated messages. My changes can be found in <a href="https://github.com/PaulShipley/fa24">https://github.com/PaulShipley/fa24</a></p><p>Cloned from https://github.com/FrontAccountingERP/FA on 14Aug2017 (last commit 5Aug2017). Tested with Windows 10 and XAMPP 3.2.2 (Apache 2.4.25, PHP 7.1.4, MariaDB 10.1.22).</p><p>Thanks</p>]]></content>
			<author>
				<name><![CDATA[PaulShipley]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20029</uri>
			</author>
			<updated>2017-08-16T11:55:00Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28419#p28419</id>
		</entry>
</feed>
