<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Moving FA to the new Host]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=4440&amp;type=atom" />
	<updated>2013-10-05T13:18:25Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=4440</id>
		<entry>
			<title type="html"><![CDATA[Re: Moving FA to the new Host]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18045#p18045" />
			<content type="html"><![CDATA[<p>oh oh oh <img src="https://frontaccounting.com/punbb/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /> sorry I was really blind <img src="https://frontaccounting.com/punbb/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>Janusz was right, I had bad configuration on config_db.php <img src="https://frontaccounting.com/punbb/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>Thank Janusz, you are genius</p>]]></content>
			<author>
				<name><![CDATA[asgare]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=17992</uri>
			</author>
			<updated>2013-10-05T13:18:25Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18045#p18045</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Moving FA to the new Host]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18044#p18044" />
			<content type="html"><![CDATA[<p>One thing I notice about that log is that it seems to be attempting to connect with two different usernames. (and only one password). Are you somehow including both the config_db.php files? And just which database(s) are you trying to connect to? And does it have any user set up?</p><p>To move FA to a new host, I would dump the database on the old host, and recreate it on the new. You may have to create a new database user and grant the appropriate privileges. Then copy the entire FA directory to the new server. If you are using the same credentials, you shouldn&#039;t have to edit the database config. (If it is a shared server with only one database user, then you&#039;d just have to put that username/password in config_db.php.) </p><p>Try that on a fresh (preferably virtual) server, because I think your two instances are confusing each other.</p>]]></content>
			<author>
				<name><![CDATA[tm]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=17873</uri>
			</author>
			<updated>2013-10-05T08:46:41Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18044#p18044</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Moving FA to the new Host]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18043#p18043" />
			<content type="html"><![CDATA[<p>Dear Janusz</p><p>Thanks for your kind attention.</p><p>As far as I know everything is fine, I re-configured &quot;config_db.php&quot; but still the problem persists. Moreover in the same server I have another FA installed and works fine but the second copy of those files with the new data and configured &quot;config_db.php&quot; is not working. </p><p>I have access to the main page but I can&#039;t log in to the FA. As I set Debug Mode to 1 the above logs belong to the copy FA. But I can&#039;t understand them <img src="https://frontaccounting.com/punbb/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[asgare]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=17992</uri>
			</author>
			<updated>2013-10-05T05:18:09Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18043#p18043</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Moving FA to the new Host]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18041#p18041" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>A link to the the server cannot be established.</p></blockquote></div><p>Check if MySQL service is running on your server and you can access the FA database using the credentials stored in config_db.php file.<br />Janusz</p>]]></content>
			<author>
				<name><![CDATA[itronics]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=89</uri>
			</author>
			<updated>2013-10-04T20:57:06Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18041#p18041</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Moving FA to the new Host]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18039#p18039" />
			<content type="html"><![CDATA[<p>Still no answer <img src="https://frontaccounting.com/punbb/img/smilies/sad.png" width="15" height="15" alt="sad" /></p>]]></content>
			<author>
				<name><![CDATA[asgare]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=17992</uri>
			</author>
			<updated>2013-10-04T20:45:30Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18039#p18039</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Moving FA to the new Host]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18025#p18025" />
			<content type="html"><![CDATA[<p>Here are the logs from Debug Mode:<br />mysql_set_charset(): Access denied for user &#039;web1&#039;@&#039;localhost&#039; (using password: NO) در فایل: /var/www/clients/client2/web1/web/eai/includes/db/connect_db.inc در خط15<br />mysql_set_charset(): A link to the server could not be established در فایل: /var/www/clients/client2/web1/web/eai/includes/db/connect_db.inc در خط15<br />mysql_connect(): Access denied for user &#039;c2eai&#039;@&#039;localhost&#039; (using password: YES) در فایل: /var/www/clients/client2/web1/web/eai/includes/db/connect_db.inc در خط28<br />mysql_select_db() expects parameter 2 to be resource, boolean given در فایل: /var/www/clients/client2/web1/web/eai/includes/db/connect_db.inc در خط29<br />mysql_real_escape_string(): Access denied for user &#039;web1&#039;@&#039;localhost&#039; (using password: NO) در فایل: /var/www/clients/client2/web1/web/eai/includes/db/connect_db.inc در خط130<br />mysql_real_escape_string(): A link to the server could not be established در فایل: /var/www/clients/client2/web1/web/eai/includes/db/connect_db.inc در خط130<br />mysql_set_charset(): Access denied for user &#039;web1&#039;@&#039;localhost&#039; (using password: NO) در فایل: /var/www/clients/client2/web1/web/eai/includes/db/connect_db.inc در خط39<br />mysql_set_charset(): A link to the server could not be established در فایل: /var/www/clients/client2/web1/web/eai/includes/db/connect_db.inc در خط39<br />mysql_query() expects parameter 2 to be resource, boolean given در فایل: /var/www/clients/client2/web1/web/eai/includes/db/connect_db.inc در خط53<br />mysql_insert_id() expects parameter 1 to be resource, boolean given در فایل: /var/www/clients/client2/web1/web/eai/includes/db/connect_db.inc در خط56<br />mysql_errno() expects parameter 1 to be resource, boolean given در فایل: /var/www/clients/client2/web1/web/eai/includes/db/connect_db.inc در خط147<br />mysql_num_rows() expects parameter 1 to be resource, null given در فایل: /var/www/clients/client2/web1/web/eai/includes/db/connect_db.inc در خط107</p>]]></content>
			<author>
				<name><![CDATA[asgare]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=17992</uri>
			</author>
			<updated>2013-10-03T15:01:46Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18025#p18025</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Moving FA to the new Host]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18024#p18024" />
			<content type="html"><![CDATA[<p>Sorry if this topic looks tedious but really couldn&#039;t found my answer within past posts.</p><p>First of all please do not suggest me to re-install and restore database, because after installation I do lots of works such re-configuring database charset, PO files and etc. …</p><p>I am willing to moving my FA to the new Host. I did it but after trying to log in to my account I encountered with the wrong password. According to the Joe guides I changed password in the database like as he wrote it in the past posts “5f4dcc3b5aa765d61d8327deb882cf99” but again it didn&#039;t work.</p><p>I re-checked “config_db.php” file but couldn&#039;t solved from there.<br />Please let me know if you faced with this issue.</p><p>Regards<br />John</p>]]></content>
			<author>
				<name><![CDATA[asgare]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=17992</uri>
			</author>
			<updated>2013-10-03T14:56:29Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18024#p18024</id>
		</entry>
</feed>
