<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — update causes old code not to work]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=1715</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=1715&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in update causes old code not to work.]]></description>
		<lastBuildDate>Tue, 07 Dec 2010 18:00:25 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: update causes old code not to work]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=7623#p7623</link>
			<description><![CDATA[<p>I&#039; don&#039;t know what are you talking about. The code fragment you have attached make use of mysqli database API which is not used in FA distribution. And yes, there were huge changes throughout FA code between 2.2 and 2.3 releases.</p><p>Janusz</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Tue, 07 Dec 2010 18:00:25 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=7623#p7623</guid>
		</item>
		<item>
			<title><![CDATA[update causes old code not to work]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=7604#p7604</link>
			<description><![CDATA[<p>hello,<br />We recently upgraded a clients front accounting site from version 2.2.5 to 2.3 (RC3) and a page that was added to the old version is now coming up with an error,</p><p>The code that seems to be at fault is as follows:</p><p>$stockID = $rRow[&#039;stock_id&#039;];<br />&nbsp; &nbsp; $brStmt = &quot;SELECT SUM(qty) FROM &quot;.TB_PREF.&quot;stock_moves WHERE stock_id=&#039;$stockID&#039;&quot;;<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; $rbr = @mysqli_query($dbc, $brStmt);<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; $Rrbr = mysqli_fetch_array($rbr);</p><p>and the error from the page is:</p><p>mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in file: /var/www/fa/inventory/inventory_overview.php at line 68</p><p>the result is mostly displayed correctly but the total quantity, which is derived from this query is 0 in all items.<br />Is there changes in the new version that would cause this?</p><p>Thank you.</p>]]></description>
			<author><![CDATA[null@example.com (nickMolhoek)]]></author>
			<pubDate>Mon, 06 Dec 2010 02:46:38 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=7604#p7604</guid>
		</item>
	</channel>
</rss>
