<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — 2.3 RC1 upgrade issues]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=1593</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=1593&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in 2.3 RC1 upgrade issues.]]></description>
		<lastBuildDate>Fri, 15 Oct 2010 16:29:10 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: 2.3 RC1 upgrade issues]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=7141#p7141</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (SDC)]]></author>
			<pubDate>Fri, 15 Oct 2010 16:29:10 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=7141#p7141</guid>
		</item>
		<item>
			<title><![CDATA[Re: 2.3 RC1 upgrade issues]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=7124#p7124</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (SDC)]]></author>
			<pubDate>Wed, 13 Oct 2010 19:54:22 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=7124#p7124</guid>
		</item>
		<item>
			<title><![CDATA[Re: 2.3 RC1 upgrade issues]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=7121#p7121</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Wed, 13 Oct 2010 13:23:31 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=7121#p7121</guid>
		</item>
		<item>
			<title><![CDATA[Re: 2.3 RC1 upgrade issues]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=7118#p7118</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Tue, 12 Oct 2010 20:53:29 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=7118#p7118</guid>
		</item>
		<item>
			<title><![CDATA[Re: 2.3 RC1 upgrade issues]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=7113#p7113</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (SDC)]]></author>
			<pubDate>Tue, 12 Oct 2010 10:22:59 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=7113#p7113</guid>
		</item>
		<item>
			<title><![CDATA[Re: 2.3 RC1 upgrade issues]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=7112#p7112</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Tue, 12 Oct 2010 06:22:15 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=7112#p7112</guid>
		</item>
		<item>
			<title><![CDATA[Re: 2.3 RC1 upgrade issues]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=7107#p7107</link>
			<description><![CDATA[<p>Just seen RC2 is release... tried to upgrade but the same issue is present...</p>]]></description>
			<author><![CDATA[null@example.com (SDC)]]></author>
			<pubDate>Mon, 11 Oct 2010 14:12:19 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=7107#p7107</guid>
		</item>
		<item>
			<title><![CDATA[2.3 RC1 upgrade issues]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=7105#p7105</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (SDC)]]></author>
			<pubDate>Mon, 11 Oct 2010 10:47:40 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=7105#p7105</guid>
		</item>
	</channel>
</rss>
