<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — FA 2.4.9 Login Error Msg]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=9157</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=9157&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in FA 2.4.9 Login Error Msg.]]></description>
		<lastBuildDate>Thu, 21 Jan 2021 15:31:10 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: FA 2.4.9 Login Error Msg]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=39023#p39023</link>
			<description><![CDATA[<p>It&#039;s working now</p><p>Thanks!</p>]]></description>
			<author><![CDATA[null@example.com (dyrandz)]]></author>
			<pubDate>Thu, 21 Jan 2021 15:31:10 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=39023#p39023</guid>
		</item>
		<item>
			<title><![CDATA[Re: FA 2.4.9 Login Error Msg]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=39021#p39021</link>
			<description><![CDATA[<p>Fixed by Janusz</p><p>https://sourceforge.net/p/frontaccounting/git/ci/e7fb3a02d86a3bc88387280561d802d4744e8885/</p>]]></description>
			<author><![CDATA[null@example.com (rafat)]]></author>
			<pubDate>Thu, 21 Jan 2021 07:19:50 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=39021#p39021</guid>
		</item>
		<item>
			<title><![CDATA[Re: FA 2.4.9 Login Error Msg]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=39017#p39017</link>
			<description><![CDATA[<p>Thanks tom</p>]]></description>
			<author><![CDATA[null@example.com (dyrandz)]]></author>
			<pubDate>Wed, 20 Jan 2021 01:38:41 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=39017#p39017</guid>
		</item>
		<item>
			<title><![CDATA[Re: FA 2.4.9 Login Error Msg]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=39005#p39005</link>
			<description><![CDATA[<p>This was in the file:</p><div class="quotebox"><blockquote><p>includes/session.inc</p></blockquote></div><p>Line 556 onwards</p>]]></description>
			<author><![CDATA[null@example.com (tom.horton)]]></author>
			<pubDate>Tue, 19 Jan 2021 19:35:13 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=39005#p39005</guid>
		</item>
		<item>
			<title><![CDATA[Re: FA 2.4.9 Login Error Msg]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=39003#p39003</link>
			<description><![CDATA[<div class="quotebox"><cite>tom.horton wrote:</cite><blockquote><p>I have managed to isolate the problem. It seems that FA is picking up that a session is still active, from the following code:</p><div class="codebox"><pre><code>if (isset($_SESSION[&#039;timeout&#039;])) {
      include($path_to_root . &quot;/access/login.php&quot;);
      exit;
} else
      login_fail();
}</code></pre></div><p>This is despite you being logged out.</p><p>The only way I managed to fix it myself was by adding another condition to the IF statement:</p><div class="codebox"><pre><code>if (isset($_SESSION[&#039;timeout&#039;]) &amp;&amp; ($_SESSION[&#039;timeout&#039;] == &#039;&#039;)) {
      include($path_to_root . &quot;/access/login.php&quot;);
      exit;
} else 
     login_fail();
}</code></pre></div><p>There may be a better solution, but this was the only way I could get the system to pick up an error and show the user.</p><p>Hope this helps.</p></blockquote></div><p>What file to add to this temporary fix?</p>]]></description>
			<author><![CDATA[null@example.com (dyrandz)]]></author>
			<pubDate>Tue, 19 Jan 2021 08:35:07 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=39003#p39003</guid>
		</item>
		<item>
			<title><![CDATA[Re: FA 2.4.9 Login Error Msg]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=38970#p38970</link>
			<description><![CDATA[<p>Done<br />http://mantis.frontaccounting.com/view.php?id=5322</p>]]></description>
			<author><![CDATA[null@example.com (rafat)]]></author>
			<pubDate>Sun, 17 Jan 2021 14:13:44 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=38970#p38970</guid>
		</item>
		<item>
			<title><![CDATA[Re: FA 2.4.9 Login Error Msg]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=38969#p38969</link>
			<description><![CDATA[<p>Definitely worth logging to see if a better solution can be found.</p>]]></description>
			<author><![CDATA[null@example.com (tom.horton)]]></author>
			<pubDate>Sun, 17 Jan 2021 14:11:41 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=38969#p38969</guid>
		</item>
		<item>
			<title><![CDATA[Re: FA 2.4.9 Login Error Msg]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=38968#p38968</link>
			<description><![CDATA[<p>This was introduced with 2.4.9 previous releases did not have this problem.<br />I will put this one in mantis.<br />Thx.. tom.horton</p>]]></description>
			<author><![CDATA[null@example.com (rafat)]]></author>
			<pubDate>Sun, 17 Jan 2021 14:05:49 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=38968#p38968</guid>
		</item>
		<item>
			<title><![CDATA[Re: FA 2.4.9 Login Error Msg]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=38967#p38967</link>
			<description><![CDATA[<p>I have managed to isolate the problem. It seems that FA is picking up that a session is still active, from the following code:</p><div class="codebox"><pre><code>if (isset($_SESSION[&#039;timeout&#039;])) {
      include($path_to_root . &quot;/access/login.php&quot;);
      exit;
} else
      login_fail();
}</code></pre></div><p>This is despite you being logged out.</p><p>The only way I managed to fix it myself was by adding another condition to the IF statement:</p><div class="codebox"><pre><code>if (isset($_SESSION[&#039;timeout&#039;]) &amp;&amp; ($_SESSION[&#039;timeout&#039;] == &#039;&#039;)) {
      include($path_to_root . &quot;/access/login.php&quot;);
      exit;
} else 
     login_fail();
}</code></pre></div><p>There may be a better solution, but this was the only way I could get the system to pick up an error and show the user.</p><p>Hope this helps.</p>]]></description>
			<author><![CDATA[null@example.com (tom.horton)]]></author>
			<pubDate>Sun, 17 Jan 2021 13:34:51 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=38967#p38967</guid>
		</item>
		<item>
			<title><![CDATA[Re: FA 2.4.9 Login Error Msg]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=38947#p38947</link>
			<description><![CDATA[<p>I also experienced same behavior of 2.4.9</p>]]></description>
			<author><![CDATA[null@example.com (rafat)]]></author>
			<pubDate>Sun, 17 Jan 2021 02:57:58 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=38947#p38947</guid>
		</item>
		<item>
			<title><![CDATA[FA 2.4.9 Login Error Msg]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=38946#p38946</link>
			<description><![CDATA[<p>Every time I input an incorrect password, I didn&#039;t see the error message. It will just get back to blank username and password field.</p><p>Regards<br />-Dyrandz</p>]]></description>
			<author><![CDATA[null@example.com (dyrandz)]]></author>
			<pubDate>Sun, 17 Jan 2021 02:38:01 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=38946#p38946</guid>
		</item>
	</channel>
</rss>
