<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Cannot add new journal entry]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=6480</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=6480&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Cannot add new journal entry.]]></description>
		<lastBuildDate>Thu, 22 Sep 2016 06:26:59 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Cannot add new journal entry]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=26425#p26425</link>
			<description><![CDATA[<p>Your zip file was not downloadable.</p><p>I have not been able to replicate your issue on a fresh install. Attached are the screenshots of my being able to enter 4 JVs in a row and surviving a browser timeout and editing a JV as well without errors.</p><p>My test was done on PHP 5.3.1 on XAMPP in WinXPSP3 for FA 2.4RC1 which should better accomodate PHP 5.4 code. Yours appears to be a specific PHP 5.4 issue or your flavour of Linux&#039;s quirks (Cloud OS).</p><p>Remove the &quot;?&gt;&quot; (without the quotes) in the last lines in all <strong>php</strong> and <strong>inc</strong> files for use of FA 2.3.25+ with PHP 5.4.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Thu, 22 Sep 2016 06:26:59 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=26425#p26425</guid>
		</item>
		<item>
			<title><![CDATA[Re: Cannot add new journal entry]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=26424#p26424</link>
			<description><![CDATA[<p>Hello @mohamednour.</p><p>I have not used your install environment, but downloaded your backup from 21 sep 2016.<br />This file has been entered into my latest 2.3.25 build, and I cannot reproduce your errors. Everything is flne.</p><p>Please download the latest snapshot from this <a href="https://sourceforge.net/p/frontaccounting/git/ci/master/tree/">link</a>.</p><p>and try again.</p><p>If you still have errors, then we have to search the errors in your environment. Server version, php version, mysql version etc.</p><p>/Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Thu, 22 Sep 2016 06:26:14 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=26424#p26424</guid>
		</item>
		<item>
			<title><![CDATA[Re: Cannot add new journal entry]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=26420#p26420</link>
			<description><![CDATA[<p>Front Accounting Installation URL: http://trials.prodevcloud.com/frontaccountingtest/<br />Compressed ZIP file of this&nbsp; buggy installation Can be downloaded from here: https://www.dropbox.com/s/liwzru2byeuzyqk/frontaccountingtest.zip?dl=0<br />Thanks joe, kvvaradha and apmuthu</p>]]></description>
			<author><![CDATA[null@example.com (mohamednour)]]></author>
			<pubDate>Wed, 21 Sep 2016 14:57:40 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=26420#p26420</guid>
		</item>
		<item>
			<title><![CDATA[Re: Cannot add new journal entry]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=26419#p26419</link>
			<description><![CDATA[<p>Can you take a zip of your files and upload somewhere and provide us the download link.</p>]]></description>
			<author><![CDATA[null@example.com (kvvaradha)]]></author>
			<pubDate>Wed, 21 Sep 2016 14:37:03 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=26419#p26419</guid>
		</item>
		<item>
			<title><![CDATA[Re: Cannot add new journal entry]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=26418#p26418</link>
			<description><![CDATA[<p>Ok, I will investigate this tomorrow.</p><p>Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Wed, 21 Sep 2016 14:36:07 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=26418#p26418</guid>
		</item>
		<item>
			<title><![CDATA[Re: Cannot add new journal entry]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=26417#p26417</link>
			<description><![CDATA[<p>thanks for the reply ,, i have shoot a new video that demonstrate the problem ,, please check it from here<br />https://www.dropbox.com/s/5l6yv7z5yml0jlc/FrontAccount%20Error.mp4?dl=0<br />it just 1.5 Min ,,, <br />After successfully adding 2 journal entries the program refused to add more and&nbsp; &nbsp; the debugger shows<br />Undefined index: journal_items in file: /home/trials/public_html/frontaccountingtest/gl/gl_journal.php at line 295<br />Call to a member function add_gl_item() on null in /home/trials/public_html/frontaccountingtest/gl/gl_journal.php on line 295<br />The error appears when i click &quot;Add Item&quot; button not when i click &quot;Process journal entry&quot;<br />---<br />@apmuthu: i confirm that i was unable to add more items (unable to add more accounts / unable to add second transfer entry)</p>]]></description>
			<author><![CDATA[null@example.com (mohamednour)]]></author>
			<pubDate>Wed, 21 Sep 2016 13:14:07 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=26417#p26417</guid>
		</item>
		<item>
			<title><![CDATA[Re: Cannot add new journal entry]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=26416#p26416</link>
			<description><![CDATA[<p>Most people using the journal entry know the rules. There should not be more restrictions than needed.<br />It should not be possible to enter a voucher, that is not balanced.</p><p>During the long time FA has been running, I have heared of no problems in the journal voucher.</p><p>Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Wed, 21 Sep 2016 11:37:08 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=26416#p26416</guid>
		</item>
		<item>
			<title><![CDATA[Re: Cannot add new journal entry]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=26415#p26415</link>
			<description><![CDATA[<p>The code is correct.<br />The way you entered the JV is wrong.<br />Each JV must have atleast 2 entries or the default 1060 (in your case) will be the contra entry filling in for the difference of all entries made in the JV till then. You had chosen the default contra account of 1060 (set in Banking &amp; GL =&gt; Bank Accounts =&gt; Dflt=Yes) as the first entry and then did not provide any second entry as the transfer account.</p><p>@joe: JV should not be allowed to proceed if there is only 1 entry and it is the default Bank Account. Also, we need to prevent a JV from being entered if there are 2 entries and both have the same Account Code and Amount (one on the Credit side and the other on the Debit side). Mere transfer of one amount from one account to itself in entirety is meaningless.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Wed, 21 Sep 2016 05:59:23 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=26415#p26415</guid>
		</item>
		<item>
			<title><![CDATA[Re: Cannot add new journal entry]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=26411#p26411</link>
			<description><![CDATA[<p>@apmuthu<br />Thanks for your reply i have update to the latest version you mentioned and i still face the same issue, I&#039;m running cPanel&nbsp; CloudLinux server with PHP 5.4,,, I have sent you logins for a test installation in PM ,, It would be great if you test it yourself ,,,Appreciate your help</p>]]></description>
			<author><![CDATA[null@example.com (mohamednour)]]></author>
			<pubDate>Tue, 20 Sep 2016 11:45:58 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=26411#p26411</guid>
		</item>
		<item>
			<title><![CDATA[Re: Cannot add new journal entry]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=26407#p26407</link>
			<description><![CDATA[<p>FA v2.3.25 was released on 2016-02-21. Since then there have been many fixes. Please use <a href="https://github.com/FrontAccountingERP/FA/archive/master.zip">FA 2.3.25+</a> which was last updated on <a href="https://github.com/FrontAccountingERP/FA/commits/master">2016-07-26</a>.</p><p>The errors you are getting possibly arise with incompatible php settings for your later version of PHP. What is your PHP/MySQL version and what platform and version is your server on (CentOS 6, Debian 8, etc)?</p><p>The offending line 295 in <strong>gl/gl_journal.php</strong> is:<br /></p><div class="codebox"><pre><code>    $_SESSION[&#039;journal_items&#039;]-&gt;add_gl_item($_POST[&#039;code_id&#039;], $_POST[&#039;dimension_id&#039;],
        $_POST[&#039;dimension2_id&#039;], $amount, $_POST[&#039;LineMemo&#039;]);</code></pre></div><p>The class member <strong>function add_gl_item</strong> is defined in <strong>includes/ui/items_cart.inc</strong> and it was last changed on 2014-09-22, much before the release of the version you are using. The file <strong>gl/gl_journal.php</strong> was last changed on 2015-03-15 and that too hasn&#039;t changed in your version. Hence it must be a generic issue of handling $_POST array&#039;s elements and that points to the newer PHP&#039;s idiosyncracies.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Tue, 20 Sep 2016 07:16:54 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=26407#p26407</guid>
		</item>
		<item>
			<title><![CDATA[Re: Cannot add new journal entry]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=26406#p26406</link>
			<description><![CDATA[<p>kvvaradha : can you please explain more ,, this error happens with fresh new installation i didn&#039;t modify anything i didn&#039;t remove any files</p>]]></description>
			<author><![CDATA[null@example.com (mohamednour)]]></author>
			<pubDate>Tue, 20 Sep 2016 01:48:35 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=26406#p26406</guid>
		</item>
		<item>
			<title><![CDATA[Re: Cannot add new journal entry]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=26404#p26404</link>
			<description><![CDATA[<p>@Mohammed&nbsp; Nour - I have read your email as well.&nbsp; </p><p>This is because of the file which has the&nbsp; `add_gl_items`.&nbsp; You need that file to fix it. </p><p>Can you check your gl folder with fresh copy from server.&nbsp; Find the file than your problem might be solved.</p>]]></description>
			<author><![CDATA[null@example.com (kvvaradha)]]></author>
			<pubDate>Tue, 20 Sep 2016 01:17:31 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=26404#p26404</guid>
		</item>
		<item>
			<title><![CDATA[Re: Cannot add new journal entry]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=26400#p26400</link>
			<description><![CDATA[<p>Here we go i see this error when i try to add new Item:<br />Undefined index: journal_items in file: /home/trials/public_html/frontaccountingtest/gl/gl_journal.php at line 295<br />Call to a member function add_gl_item() on null in /home/trials/public_html/frontaccountingtest/gl/gl_journal.php on line 295<br />-------------<br />how can i fix this ,, i really appreciate your help</p>]]></description>
			<author><![CDATA[null@example.com (mohamednour)]]></author>
			<pubDate>Mon, 19 Sep 2016 00:09:35 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=26400#p26400</guid>
		</item>
		<item>
			<title><![CDATA[Re: Cannot add new journal entry]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=26399#p26399</link>
			<description><![CDATA[<p>those are the errors that happened today in the /home/fgc/public_html/tmp/errors.log<br />What does means and how to solve it<br />[18-Sep-2016 09:30:15 UTC] 0:nour:connect_db.inc:98: mysql_fetch_array() expects parameter 1 to be resource, boolean given<br />[18-Sep-2016 10:49:42 UTC] 0:nour:connect_db.inc:98: mysql_fetch_array() expects parameter 1 to be resource, boolean given<br />[18-Sep-2016 11:54:08 UTC] 0:nour:connect_db.inc:98: mysql_fetch_array() expects parameter 1 to be resource, boolean given<br />[18-Sep-2016 12:19:39 UTC] 0:nour:connect_db.inc:98: mysql_fetch_array() expects parameter 1 to be resource, boolean given<br />[18-Sep-2016 12:30:40 UTC] 0:nour:connect_db.inc:98: mysql_fetch_array() expects parameter 1 to be resource, boolean given<br />[18-Sep-2016 12:38:53 UTC] 0:nour:connect_db.inc:98: mysql_fetch_array() expects parameter 1 to be resource, boolean given<br />[18-Sep-2016 12:43:53 UTC] 0:nour:connect_db.inc:98: mysql_fetch_array() expects parameter 1 to be resource, boolean given<br />[18-Sep-2016 12:49:09 UTC] 0:nour:connect_db.inc:98: mysql_fetch_array() expects parameter 1 to be resource, boolean given<br />[18-Sep-2016 12:49:14 UTC] 0:nour:connect_db.inc:98: mysql_fetch_array() expects parameter 1 to be resource, boolean given<br />[18-Sep-2016 12:56:12 UTC] 0:nour:gl_journal_ui.inc:97: Invalid argument supplied for foreach()<br />[18-Sep-2016 12:57:00 UTC] 0:nour:connect_db.inc:98: mysql_fetch_array() expects parameter 1 to be resource, boolean given<br />[18-Sep-2016 12:59:02 UTC] 0:nour:connect_db.inc:98: mysql_fetch_array() expects parameter 1 to be resource, boolean given<br />[18-Sep-2016 13:00:54 UTC] 0:nour:connect_db.inc:98: mysql_fetch_array() expects parameter 1 to be resource, boolean given<br />[18-Sep-2016 13:01:00 UTC] 0:nour:connect_db.inc:98: mysql_fetch_array() expects parameter 1 to be resource, boolean given<br />[18-Sep-2016 13:02:47 UTC] 0:nour:gl_journal_ui.inc:97: Invalid argument supplied for foreach()<br />[18-Sep-2016 13:06:44 UTC] 0:nour:connect_db.inc:98: mysql_fetch_array() expects parameter 1 to be resource, boolean given<br />[18-Sep-2016 13:06:56 UTC] 0:nour:connect_db.inc:98: mysql_fetch_array() expects parameter 1 to be resource, boolean given<br />[18-Sep-2016 13:15:29 UTC] 0:nour:connect_db.inc:98: mysql_fetch_array() expects parameter 1 to be resource, boolean given<br />[18-Sep-2016 13:19:50 UTC] 0:nour:connect_db.inc:98: mysql_fetch_array() expects parameter 1 to be resource, boolean given<br />[18-Sep-2016 13:20:35 UTC] 0:nour:connect_db.inc:98: mysql_fetch_array() expects parameter 1 to be resource, boolean given<br />[18-Sep-2016 13:23:51 UTC] 0:nour:gl_journal_ui.inc:97: Invalid argument supplied for foreach()<br />[18-Sep-2016 13:32:51 UTC] 0:nour:connect_db.inc:98: mysql_fetch_array() expects parameter 1 to be resource, boolean given<br />[18-Sep-2016 14:08:52 UTC] 0:nour:connect_db.inc:98: mysql_fetch_array() expects parameter 1 to be resource, boolean given<br />[18-Sep-2016 14:17:58 UTC] 0:nour:connect_db.inc:98: mysql_fetch_array() expects parameter 1 to be resource, boolean given<br />[18-Sep-2016 14:18:00 UTC] 0:nour:connect_db.inc:98: mysql_fetch_array() expects parameter 1 to be resource, boolean given<br />[18-Sep-2016 14:18:12 UTC] 0:nour:connect_db.inc:98: mysql_fetch_array() expects parameter 1 to be resource, boolean given<br />[18-Sep-2016 14:24:56 UTC] 0:nour:connect_db.inc:98: mysql_fetch_array() expects parameter 1 to be resource, boolean given<br />[18-Sep-2016 14:27:13 UTC] 0:nour:connect_db.inc:98: mysql_fetch_array() expects parameter 1 to be resource, boolean given<br />[18-Sep-2016 14:27:15 UTC] 0:nour:connect_db.inc:98: mysql_fetch_array() expects parameter 1 to be resource, boolean given<br />[18-Sep-2016 14:39:47 UTC] 0:nour:connect_db.inc:98: mysql_fetch_array() expects parameter 1 to be resource, boolean given<br />[18-Sep-2016 14:39:51 UTC] 0:nour:connect_db.inc:98: mysql_fetch_array() expects parameter 1 to be resource, boolean given</p>]]></description>
			<author><![CDATA[null@example.com (mohamednour)]]></author>
			<pubDate>Sun, 18 Sep 2016 23:50:22 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=26399#p26399</guid>
		</item>
		<item>
			<title><![CDATA[Re: Cannot add new journal entry]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=26398#p26398</link>
			<description><![CDATA[<p>Check on the config.php file (frontaccounting root folder) and enable debug options to understand where your error could be coming from.</p>]]></description>
			<author><![CDATA[null@example.com (albertolima)]]></author>
			<pubDate>Sun, 18 Sep 2016 22:00:10 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=26398#p26398</guid>
		</item>
	</channel>
</rss>
