<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — 2.3 RC1 upgrade issues]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=1593&amp;type=atom" />
	<updated>2010-10-15T16:29:10Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=1593</id>
		<entry>
			<title type="html"><![CDATA[Re: 2.3 RC1 upgrade issues]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=7141#p7141" />
			<content type="html"><![CDATA[<p>Hi Janusz,</p><p>This now works perfectly except for the following couple of field issues.</p><p>SQL script execution failed in line 225: Field &#039;name&#039; doesn&#039;t have a default value<br />--------------------------------------------------------------------------------<br />SQL script execution failed in line 230: Field &#039;notes&#039; doesn&#039;t have a default value<br />--------------------------------------------------------------------------------</p><p>In alter2.3.sql I added the name and notes fields on lines 225, 230, and 235.</p><p>All worked after that.</p><p>Many thanks for your help.<br />Cheers, Steve</p>]]></content>
			<author>
				<name><![CDATA[SDC]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=2061</uri>
			</author>
			<updated>2010-10-15T16:29:10Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=7141#p7141</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 2.3 RC1 upgrade issues]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=7124#p7124" />
			<content type="html"><![CDATA[<p>Many thanks Janusz, I&#039;m not setup for CVS and as I use windows, looks a bit of a pain to configure.... Is there any way of getting the code I need or do you know when the next stable release will be put out?</p><p>Thanks in advance<br />Cheers, Steve</p>]]></content>
			<author>
				<name><![CDATA[SDC]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=2061</uri>
			</author>
			<updated>2010-10-13T19:54:22Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=7124#p7124</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 2.3 RC1 upgrade issues]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=7121#p7121" />
			<content type="html"><![CDATA[<p>I have just fixed the problem. Unfortunately a couple of files has changed, so maybe the best way to continue testing is to upload them from CVS unstable branch. All the changed files are listed in CHANGELOG.txt.</p><p>Thank you again for pointing out this overlooked problem.</p><p>Janusz</p>]]></content>
			<author>
				<name><![CDATA[itronics]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=89</uri>
			</author>
			<updated>2010-10-13T13:23:31Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=7121#p7121</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 2.3 RC1 upgrade issues]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=7118#p7118" />
			<content type="html"><![CDATA[<p>Regarding the first error, seems you have found serious problem in upgrade routine.&nbsp; I will post to this thread when I find solution to this issue. Thanks for pointing out the problem.<br />Janusz</p>]]></content>
			<author>
				<name><![CDATA[itronics]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=89</uri>
			</author>
			<updated>2010-10-12T20:53:29Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=7118#p7118</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 2.3 RC1 upgrade issues]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=7113#p7113" />
			<content type="html"><![CDATA[<p>Thanks Janusz, this worked ok but now it has tripped up on a couple more issues.</p><p>The first is the update_totals section of the alter2.3.php. This section fails with....</p><p>FATAL : sales order return nothing - etc etc.</p><p>...when trying to update the second company database I think due to this sql....</p><p>SELECT sorder.*, cust.name, cust.curr_code, loc.location_name, cust.discount, stype.sales_type, stype.id AS sales_type_id, stype.tax_included, ship.shipper_name, tax_group.name AS tax_group_name , tax_group.id AS tax_group_id FROM 0_sales_orders sorder, 0_debtors_master cust,0_sales_types stype, 0_tax_groups tax_group, 0_cust_branch branch,0_locations loc, 0_shippers ship WHERE sorder.order_type=stype.id AND branch.branch_code = sorder.branch_code AND branch.tax_group_id = tax_group.id AND sorder.debtor_no = cust.debtor_no AND loc.loc_code = sorder.from_stk_loc AND ship.shipper_id = sorder.ship_via AND sorder.trans_type = &#039;30&#039; AND sorder.order_no = &#039;1&#039;</p><p>It looks like there is a table prefix issue here because even for the second company the sql it trying to select from company 0_</p><p>The var TB_PREF seems to come from the logged in user (which when upgrading is 0_) and there seems to be other references to it which generates these errors in the error.log....</p><p>[12-Oct-2010 07:28:36] 0:admin:cart_class.inc:403:[before upgrade] Invalid argument supplied for foreach()<br />[12-Oct-2010 07:28:36] 0:admin:cart_class.inc:463:[before upgrade] Invalid argument supplied for foreach()</p><p>Also another issue seems to be with the trans_link column as below.</p><p>DATABASE ERROR : Parent document numbers cannot be retrieved<br />error code : 1054<br />error message : Unknown column &#039;trans_link&#039; in &#039;field list&#039;<br />sql that failed was : SELECT trans_link FROM 0_debtor_trans WHERE trans_no=&#039;5&#039; AND type=&#039;10&#039; AND trans_link!=0</p><p>...this I got round by deleting the call to drop the trans_link column in the alter2.3php and assume I can drop the column after the upgrade.</p><p>Welcome your thoughts.<br />Cheers, Steve</p>]]></content>
			<author>
				<name><![CDATA[SDC]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=2061</uri>
			</author>
			<updated>2010-10-12T10:22:59Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=7113#p7113</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 2.3 RC1 upgrade issues]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=7112#p7112" />
			<content type="html"><![CDATA[<p>Probably you have MySQL running in strict mode. Please change &#039;&#039; to &#039;0&#039; in lines 59 and 86 in file sql/alter2.3.sql. We will fix this issue in final 2.3. Thanks for pointing this out.<br />Janusz</p>]]></content>
			<author>
				<name><![CDATA[itronics]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=89</uri>
			</author>
			<updated>2010-10-12T06:22:15Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=7112#p7112</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 2.3 RC1 upgrade issues]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=7107#p7107" />
			<content type="html"><![CDATA[<p>Just seen RC2 is release... tried to upgrade but the same issue is present...</p>]]></content>
			<author>
				<name><![CDATA[SDC]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=2061</uri>
			</author>
			<updated>2010-10-11T14:12:19Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=7107#p7107</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[2.3 RC1 upgrade issues]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=7105#p7105" />
			<content type="html"><![CDATA[<p>Hi, trying to upgrade FA from 2.2.11 -&gt; 2.3 RC1.</p><p>Getting stuck at the database upgrade section.</p><p>When installing I get the error....</p><p>SQL script execution failed in line 86: Incorrect integer value: &#039;&#039; for column &#039;length&#039; at row 1</p><p>Looking at the alter2.3.sql file at line 59...</p><p>INSERT INTO `0_sys_prefs` SELECT &#039;postal_address&#039;,&#039;setup.company&#039;, &#039;tinytext&#039;,&#039;&#039;, c.postal_address FROM `0_company` c;</p><p>The issue would seem to be that the tinytext length is set to a &#039;&#039; string and not an integer. If I set this to NULL it moves past this error and gets stuck again at another tinytext further down the file.</p><p>Is it OK to set these to NULL or should they have a value.... ?</p><p>Any other solutions gratefully received <img src="https://frontaccounting.com/punbb/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>Thanks in advance.....<br />Cheers, Steve</p>]]></content>
			<author>
				<name><![CDATA[SDC]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=2061</uri>
			</author>
			<updated>2010-10-11T10:47:40Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=7105#p7105</id>
		</entry>
</feed>
