<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — orphaned company databases]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=6777&amp;type=atom" />
	<updated>2017-05-24T18:35:26Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=6777</id>
		<entry>
			<title type="html"><![CDATA[Re: orphaned company databases]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=27893#p27893" />
			<content type="html"><![CDATA[<p>If there were some extensions installed earlier, their tables need to be considered as well. <strong>Assets</strong> was an extension in FA v2.3.x but is now it is an integral part of FA in v2.4.x.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-05-24T18:35:26Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=27893#p27893</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: orphaned company databases]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=27889#p27889" />
			<content type="html"><![CDATA[<p>I started over again with a clean database and installed 2.3.26, administrative menu enabled. Restored data from backup,&nbsp; administrative menu disabled. Started clean again but this time removed security_roles and users tables from restore. All OK; copied 2.4.1 files in, and all went as advertised.</p>]]></content>
			<author>
				<name><![CDATA[normanroots]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=21086</uri>
			</author>
			<updated>2017-05-23T21:19:49Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=27889#p27889</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: orphaned company databases]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=27886#p27886" />
			<content type="html"><![CDATA[<p>My config_db.php begins as follows:<br />$def_coy = 0;</p><p>$tb_pref_counter = 4;</p><p>$db_connections = array (<br />&nbsp; 0 =&gt; <br />&nbsp; array (<br />&nbsp; &nbsp; &#039;name&#039; =&gt;</p><p>yet logging into this company as admin with role_id=3 has the administrative menu items inaccessible (Create/Update companies, etc.)</p><p>Can the databases be reconfigured manually?</p>]]></content>
			<author>
				<name><![CDATA[normanroots]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=21086</uri>
			</author>
			<updated>2017-05-23T18:31:31Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=27886#p27886</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: orphaned company databases]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=27782#p27782" />
			<content type="html"><![CDATA[<p>It is possible that the Company 0 is not the default company.<br />It is possible that the company prefix of &#039;0_&#039; may be in non default company as well.<br />Default company is based on <strong>$def_coy</strong> variable&#039;s value in <strong>config_db.php</strong>(attached example) file.</p><p>The example attached has the default company as 0 and the 0th element of the <strong>$db_connections</strong> array has it&#039;s <strong>tb_pref</strong> element as &quot;0_&quot; but this may not always be the case.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-05-10T21:06:23Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=27782#p27782</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: orphaned company databases]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=27778#p27778" />
			<content type="html"><![CDATA[<p>I am logged in as admin, roleid = 3, to the default company with table prefix of 0. A number of menu items including Create/Update companies are not available.</p>]]></content>
			<author>
				<name><![CDATA[normanroots]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=21086</uri>
			</author>
			<updated>2017-05-08T15:26:52Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=27778#p27778</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: orphaned company databases]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=27777#p27777" />
			<content type="html"><![CDATA[<p>You can create a new company only from the default company (generally 0) in any installation. Make sure you obtain the entire sql backup from your PHP 7 upgraded server (preferably pre-upgrade state) and the stanza pertaining to the company in the config_db.php file there as that would be useful to restore in the PHP 5 server instance.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-05-08T14:09:57Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=27777#p27777</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[orphaned company databases]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=27776#p27776" />
			<content type="html"><![CDATA[<p>I inadvertently updated a computer to PHP 7 and the 2.4 Frontaccounting update failed. I want to access the data from another computer still running PHP 5.</p><p>I though I&#039;d create a new company and update the data from a backup.</p><p>I went to create a new company by logging in as admin on the only company on this installation, but Create new company is greyed out/inaccessible.</p><p>Is there a fix?</p>]]></content>
			<author>
				<name><![CDATA[normanroots]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=21086</uri>
			</author>
			<updated>2017-05-08T00:58:48Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=27776#p27776</id>
		</entry>
</feed>
