<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — SQL code on web]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=7497</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7497&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in SQL code on web.]]></description>
		<lastBuildDate>Sun, 06 May 2018 16:08:15 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: SQL code on web]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=31576#p31576</link>
			<description><![CDATA[<p>It appears that you have some of the debug parameters in your <strong>config.php</strong> file turned on - turn them off to get rid of these outputs.</p><p>This last specific SQL comes from the <strong>function get_sql_for_journal_inquiry()</strong> in <strong>gl/includes/db/gl_db_trans.inc</strong>.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sun, 06 May 2018 16:08:15 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=31576#p31576</guid>
		</item>
		<item>
			<title><![CDATA[Re: SQL code on web]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=31575#p31575</link>
			<description><![CDATA[<p><strong>&quot;It&#039;s not a bug, it&#039;s a feature&quot;</strong></p><p>Please compare your config.php with config.default.php and this will reveal why every page shows the sql queries.</p>]]></description>
			<author><![CDATA[null@example.com (poncho1234)]]></author>
			<pubDate>Sun, 06 May 2018 15:39:14 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=31575#p31575</guid>
		</item>
		<item>
			<title><![CDATA[SQL code on web]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=31574#p31574</link>
			<description><![CDATA[<p>Hi</p><p>There is some SQL code in the green field on the footer of web version like:</p><p>&lt;div id=&#039;footer_debug&#039;&gt;&lt;div class=&#039;note_msg&#039;&gt;&lt;pre&gt;SELECT name, value FROM 0_sys_prefs&lt;/pre&gt;</p><br /><p>&lt;div id=&#039;footer_debug&#039;&gt;&lt;div class=&#039;note_msg&#039;&gt;&lt;pre&gt;SELECT COUNT(*) FROM (SELECT IFNULL(a.gl_seq,0) as gl_seq,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; gl.tran_date,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; gl.type,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; gl.type_no,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; refs.reference,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SUM(IF(gl.amount&gt;0, gl.amount,0)) as amount,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; com.memo_,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; IF(ISNULL(u.user_id),&#039;&#039;,u.user_id) as user_id<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FROM 0_gl_trans as gl<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LEFT JOIN 0_audit_trail as a ON<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (gl.type=a.type AND gl.type_no=a.trans_no)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LEFT JOIN 0_comments as com ON<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (gl.type=com.type AND gl.type_no=com.id)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LEFT JOIN 0_refs as refs ON<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (gl.type=refs.type AND gl.type_no=refs.id)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LEFT JOIN 0_users as u ON<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; a.user=u.id<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; WHERE gl.tran_date &gt;= &#039;2018-04-06&#039;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AND gl.tran_date &lt;= &#039;2018-05-06&#039;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AND gl.amount!=0 AND gl_seq=0 GROUP BY gl.tran_date, a.gl_seq, gl.type, gl.type_no) tmp_count&lt;/pre&gt;</p><p>No difference where I am, they are everywhere, on the web, in the reports.</p><p>I don&#039;t know how they get there. Please tell me how can I fix it.</p><p>thank you so much.</p>]]></description>
			<author><![CDATA[null@example.com (A.A)]]></author>
			<pubDate>Sun, 06 May 2018 11:16:56 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=31574#p31574</guid>
		</item>
	</channel>
</rss>
