<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Wrong company is selected when login ... (FA 2.2)]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=943</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=943&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Wrong company is selected when login ... (FA 2.2).]]></description>
		<lastBuildDate>Wed, 02 Dec 2009 09:20:46 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Wrong company is selected when login ... (FA 2.2)]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=4022#p4022</link>
			<description><![CDATA[<p>Unfortunately I cannot confirm this bug. I have tried multiply times with different setups, using def_coy&nbsp; 1 or 0, setting different passwords - always all works right.<br />Maybe this was fixed in stable CVS as today.</p><p>Janusz</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Wed, 02 Dec 2009 09:20:46 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=4022#p4022</guid>
		</item>
		<item>
			<title><![CDATA[Re: Wrong company is selected when login ... (FA 2.2)]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=4018#p4018</link>
			<description><![CDATA[<p>$def_coy = 1;</p><p>$tb_pref_counter = 2;</p><p>I went in and programmatically changed it to a $def_coy = 0;&nbsp; this seems to fix the problem.</p><p>Nevertheless, it appears that this is a bug because there is the possibility to have the user get into a situation where they may not be able log in.&nbsp; </p><p>There is an option to select which is your start up company and when this is set other than 0 it will create this problem. (BUG)</p>]]></description>
			<author><![CDATA[null@example.com (tezozomoc)]]></author>
			<pubDate>Tue, 01 Dec 2009 23:42:31 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=4018#p4018</guid>
		</item>
		<item>
			<title><![CDATA[Re: Wrong company is selected when login ... (FA 2.2)]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=4011#p4011</link>
			<description><![CDATA[<p>Check that these variables are there too:</p><p>$def_coy = 0;</p><p>$tb_pref_counter = 2;</p><p>The $def_coy tells which company should be presented as default when logging in. The $tb_pref_counter is the next prefix to use in front of the tables.</p><p>/Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Tue, 01 Dec 2009 17:05:20 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=4011#p4011</guid>
		</item>
		<item>
			<title><![CDATA[Re: Wrong company is selected when login ... (FA 2.2)]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=4008#p4008</link>
			<description><![CDATA[<p>Here is the config_db.php</p><p>$db_connections = array (<br />&nbsp; &nbsp; 0 =&gt; array (&#039;name&#039; =&gt; &#039;Training Co.&#039;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &#039;host&#039; =&gt; &#039;localhost&#039;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &#039;dbuser&#039; =&gt; &#039;user&#039;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &#039;dbpassword&#039; =&gt; &#039;pwd&#039;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &#039;dbname&#039; =&gt; &#039;db&#039;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &#039;tbpref&#039; =&gt; &#039;0_&#039;),</p><p>&nbsp; &nbsp; 1 =&gt; array (&#039;name&#039; =&gt; &#039;SCF Coop&#039;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &#039;host&#039; =&gt; &#039;localhost&#039;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &#039;dbuser&#039; =&gt; &#039;user&#039;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &#039;dbpassword&#039; =&gt; &#039;pwd&#039;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &#039;dbname&#039; =&gt; &#039;db&#039;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &#039;tbpref&#039; =&gt; &#039;1_&#039;)</p><p>&nbsp; &nbsp; );</p>]]></description>
			<author><![CDATA[null@example.com (tezozomoc)]]></author>
			<pubDate>Tue, 01 Dec 2009 15:05:09 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=4008#p4008</guid>
		</item>
		<item>
			<title><![CDATA[Re: Wrong company is selected when login ... (FA 2.2)]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=4004#p4004</link>
			<description><![CDATA[<p>Please check the connection data in config_db.php. Surely there is a mistake in it regarding database prefix. When first company is created by install then next one in Create/Update Companies all should be right in this file.</p><p>Janusz</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Tue, 01 Dec 2009 08:31:53 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=4004#p4004</guid>
		</item>
		<item>
			<title><![CDATA[Wrong company is selected when login ... (FA 2.2)]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=4003#p4003</link>
			<description><![CDATA[<p>I have 0_ company = Training company<br />I have 1_ company = our working company.</p><p>when I try to login i select Training Co.&nbsp; I have defined a new administrator account.</p><p>I have enabled the sql logging... </p><p>Instead of validating against 0_ company FA selects company 1_ company, which is incorrect...</p><p>SQL..</p><p>SELECT * FROM 1_users WHERE user_id = &#039;tezo&#039; AND password=&#039;XXXXXXXXXXX&#039;</p><br /><br /><p>Incorrect Password</p><p>The user and password combination is not valid for the system.</p><p>If you are not an authorized user, please contact your system administrator to obtain an account to enable you to use the system.</p><p>Does any body have a fix for this...</p>]]></description>
			<author><![CDATA[null@example.com (tezozomoc)]]></author>
			<pubDate>Tue, 01 Dec 2009 08:23:47 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=4003#p4003</guid>
		</item>
	</channel>
</rss>
