<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Instrallation FA]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=6485&amp;type=atom" />
	<updated>2016-09-24T04:30:15Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=6485</id>
		<entry>
			<title type="html"><![CDATA[Re: Instrallation FA]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=26447#p26447" />
			<content type="html"><![CDATA[<p>1. What platform (WinXP, Win 7/8/8/1/10) are you using for your server and browser client?<br />2. Provide the public download link to the XAMPP binary (version ?) you are using.<br />3. Provide the download link of the FA build you are using.<br />4. Which Chart of Accounts are you using?<br />5. Have you turned Strict mode off in MySQL for the date and time stamps to remain 0000-00-00 and 00:00:00?<br />6. Is the file <strong>includes/current_user.inc</strong> available on your server?</p><p>Just installed <a href="https://github.com/FrontAccountingERP/FA/archive/unstable.zip">FA 2.4RC1+</a> dated 2016-09-06 on WinXPSP3 on XAMPP v1.7.3 and all works fine.</p><p>@joe: Please move these last 4 posts into a separate thread under installation and if possible make a separate topic for FA 2.4 Installation.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2016-09-24T04:30:15Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=26447#p26447</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Instrallation FA]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=26444#p26444" />
			<content type="html"><![CDATA[<p>Thanks for the fast reply.</p><p>I did change the code in errors.inc, but the problem stays. I am only trying to install FrontAccounting at this point in time so no database data yet. I added a line by commenting the old line out.</p><p>This is the result of the change:</p><p>Notice: Trying to get property of non-object in C:\xampp\htdocs\dev\frontaccounting\includes\errors.inc on line 74</p><p>Fatal error: Uncaught Error: Call to undefined function user_company() in C:\xampp\htdocs\dev\frontaccounting\includes\errors.inc:86 Stack trace: #0 C:\xampp\htdocs\dev\frontaccounting\install\isession.inc(84): error_handler(8192, &#039;Methods with th...&#039;, &#039;C:\\xampp\\htdocs...&#039;, 19, Array) #1 C:\xampp\htdocs\dev\frontaccounting\install\isession.inc(84): include_once() #2 C:\xampp\htdocs\dev\frontaccounting\install\index.php(18): include(&#039;C:\\xampp\\htdocs...&#039;) #3 {main} thrown in C:\xampp\htdocs\dev\frontaccounting\includes\errors.inc on line 86</p>]]></content>
			<author>
				<name><![CDATA[vanfin]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=36346</uri>
			</author>
			<updated>2016-09-23T21:15:58Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=26444#p26444</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Instrallation FA]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=26423#p26423" />
			<content type="html"><![CDATA[<p>The line 74 in <strong>includes/errors.inc</strong> is:<br /></p><div class="codebox"><pre><code>    $bt = $SysPrefs-&gt;go_debug&gt;1 ? get_backtrace(true, 1) : array();</code></pre></div><p>Try to replace it with and see:<br /></p><div class="codebox"><pre><code>    $bt = (($SysPrefs-&gt;go_debug &gt; 1) ? get_backtrace(true, 1) : array());</code></pre></div><p><strong>$go_debug</strong> is defined in <strong>config.php</strong> and gets into the <strong>$SysPrefs</strong> object is all is well.<br />The backtrace comes in correctly.</p><p>The line 85 in the same file is:<br /></p><div class="codebox"><pre><code>        error_log(user_company() . &quot;:$user:&quot;. basename($file) .&quot;:$line:$context $errstr&quot;);</code></pre></div><p>Try to replace it with:<br /></p><div class="codebox"><pre><code>        $msg_tmp = user_company() . &quot;:$user:&quot;. basename($file) .&quot;:$line:$context $errstr&quot;;
        error_log($msg_tmp);</code></pre></div><p>The function user_company() is defined in lines 425 - 430 in <strong>includes/current_user.inc</strong>:<br /></p><div class="codebox"><pre><code>function user_company()
{
    global $def_coy;
    
    return isset($_SESSION[&quot;wa_current_user&quot;]) ? $_SESSION[&quot;wa_current_user&quot;]-&gt;company : $def_coy;
}</code></pre></div><p>Make sure that the user you logged in as exists in the company&#039;s database&#039;s users table.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2016-09-22T06:19:58Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=26423#p26423</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Instrallation FA]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=26422#p26422" />
			<content type="html"><![CDATA[<p>I have tried to install front accounting on Windows XAMPP local server with PHP 7. I get the following problem.</p><p>Notice: Trying to get property of non-object in C:\xampp\htdocs\dev\frontaccounting\includes\errors.inc on line 74</p><p>Fatal error: Uncaught Error: Call to undefined function user_company() in C:\xampp\htdocs\dev\frontaccounting\includes\errors.inc:85 Stack trace: #0 C:\xampp\htdocs\dev\frontaccounting\install\isession.inc(84): error_handler(8192, &#039;Methods with th...&#039;, &#039;C:\\xampp\\htdocs...&#039;, 19, Array) #1 C:\xampp\htdocs\dev\frontaccounting\install\isession.inc(84): include_once() #2 C:\xampp\htdocs\dev\frontaccounting\install\index.php(18): include(&#039;C:\\xampp\\htdocs...&#039;) #3 {main} thrown in C:\xampp\htdocs\dev\frontaccounting\includes\errors.inc on line 85</p><p>can anybody assist.</p>]]></content>
			<author>
				<name><![CDATA[vanfin]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=36346</uri>
			</author>
			<updated>2016-09-22T03:28:56Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=26422#p26422</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Instrallation FA]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=26243#p26243" />
			<content type="html"><![CDATA[<p>FA 2.4 RC1 was released on 2016-02-23. Since then there have been several fixes attached here.</p><p>Potential issues with language changes from disparate charsets is discussed <a href="https://github.com/apmuthu/frontac24/issues/3"><strong>here</strong></a>. In most instances it will need a removal of Byte Order Mark (BOM) from the core files. This generally affects windows users on distributions like WAMP.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2016-09-05T12:52:10Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=26243#p26243</id>
		</entry>
</feed>
