<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Does SQL_Trail accurately show errors?]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=7660</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7660&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Does SQL_Trail accurately show errors?.]]></description>
		<lastBuildDate>Tue, 14 Aug 2018 15:42:00 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Does SQL_Trail accurately show errors?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32467#p32467</link>
			<description><![CDATA[<p>Hope it will be fixed and incase of error reporting issue,&nbsp; you can check with 1and1 for more details.</p>]]></description>
			<author><![CDATA[null@example.com (kvvaradha)]]></author>
			<pubDate>Tue, 14 Aug 2018 15:42:00 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32467#p32467</guid>
		</item>
		<item>
			<title><![CDATA[Re: Does SQL_Trail accurately show errors?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32466#p32466</link>
			<description><![CDATA[<p>@kvvaradha - Thank you for a quick reply again.&nbsp; &nbsp;To paraphrase how I understand what you are saying is that&nbsp; sometimes there are &quot;warnings&quot; triggered quick and presented in the sql_trail but after a very short time through the process of the DB firewall, the operation does complete despite the warning.</p><p>I did get in the habit of checking through FA user queries like &quot;Sales order inquiry&quot; and &quot;GL inquiry&quot; to verify the page operations (Direct Invoice, Bank Payment, etc.) completed properly.&nbsp; So far, since the start of this total posting, all DB operations have completed properly when I checked inside the actual MySql DB even though the SQL_Trail reports problems.</p><p>Unless I can find an actual time DB operations do not complete (which has only occurred once in the hundreds of operations I&#039;ve inspected), I will consider this post resolved.</p><p>Thank you again for your help (and apmuthu) and I will delete the connections I sent you in a couple of weeks if nothing else has happened.</p>]]></description>
			<author><![CDATA[null@example.com (JimmyC)]]></author>
			<pubDate>Tue, 14 Aug 2018 14:59:31 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32466#p32466</guid>
		</item>
		<item>
			<title><![CDATA[Re: Does SQL_Trail accurately show errors?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32465#p32465</link>
			<description><![CDATA[<p>@JimmyC - I just checked your message and replied it. Anyway i post the answer here. </p><br /><p>I read it. i dont think you have problem.&nbsp; Some php versions has conflicting problem. sometimes a certain module is prohibited to use.. Like that some functions of FA is prohibited to run there.&nbsp; &nbsp;</p><p>Example when i open the purchase invoice,, it shows the below error<br /></p><div class="codebox"><pre><code>There are no suppliers defined in the system.
/homepages/36/d687707890/htdocs/rrbc/includes/ui/ui_msgs.inc:14:    trigger_error(&#039;There are no suppliers defined in the system.&#039;,&#039;256&#039;)
/homepages/36/d687707890/htdocs/rrbc/includes/data_checks.inc:245:    display_error(&#039;There are no suppliers defined in the system.&#039;,&#039;1&#039;)
/homepages/36/d687707890/htdocs/rrbc/purchasing/po_entry_items.php:73:    check_db_has_suppliers(&#039;There are no suppliers defined in the system.&#039;)</code></pre></div><p>For this error, you dont need to worry, it has to show <strong> &quot;There are no suppliers defined in the system.&quot;</strong></p><p><strong>trigger_error</strong> - function was failed to work in your server.&nbsp; may be the error reporting functions are affected badly due to their 1and1 firwall. so its connected few functions affected. <strong> display_error, check_db_has_supplier</strong></p><div class="codebox"><pre><code>function display_error($msg, $center=true)
{
    trigger_error($msg, E_USER_ERROR);
}

function display_notification($msg, $center=true)
{
    trigger_error($msg, E_USER_NOTICE);
}

function display_warning($msg, $center=true)
{
    trigger_error($msg, E_USER_WARNING);
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (kvvaradha)]]></author>
			<pubDate>Tue, 14 Aug 2018 14:06:25 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32465#p32465</guid>
		</item>
		<item>
			<title><![CDATA[Re: Does SQL_Trail accurately show errors?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32464#p32464</link>
			<description><![CDATA[<p>@apmuthu; I have PM&#039;d kvvaradha with credentials he requested along with 1N1.COM&#039;s suggested PHP script to connect to the MySQL DB for the FA link.</p><p>Let me know if you need any links/credentials to help.</p>]]></description>
			<author><![CDATA[null@example.com (JimmyC)]]></author>
			<pubDate>Tue, 14 Aug 2018 12:33:52 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32464#p32464</guid>
		</item>
		<item>
			<title><![CDATA[Re: Does SQL_Trail accurately show errors?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32462#p32462</link>
			<description><![CDATA[<p>Can i get credentials to check there.?</p>]]></description>
			<author><![CDATA[null@example.com (kvvaradha)]]></author>
			<pubDate>Tue, 14 Aug 2018 09:31:41 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32462#p32462</guid>
		</item>
		<item>
			<title><![CDATA[Re: Does SQL_Trail accurately show errors?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32461#p32461</link>
			<description><![CDATA[<p>I forgot to say, the current DB collation is utf8_unicode_ci</p>]]></description>
			<author><![CDATA[null@example.com (JimmyC)]]></author>
			<pubDate>Tue, 14 Aug 2018 06:04:09 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32461#p32461</guid>
		</item>
		<item>
			<title><![CDATA[Re: Does SQL_Trail accurately show errors?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32460#p32460</link>
			<description><![CDATA[<p>@kvvaradha, pertaining to config_db.php and the DB user, everything looks good except the line: collation&#039; =&gt; utf8_xx.&nbsp; I&#039;m not sure what that really tells MySQL to use.&nbsp; &nbsp;When I remember that when I setup that DB, it did ask what UTF setting to use. </p><p>Not knowing what &quot;collation&#039; =&gt; &#039;utf8_xx&quot; means, I&nbsp; don&#039;t know how to compare this to our setting.&nbsp; </p><p>Thank you for pointing me to the config_db.php file.&nbsp; I had skipped right over it after looking in the config.php file.</p>]]></description>
			<author><![CDATA[null@example.com (JimmyC)]]></author>
			<pubDate>Tue, 14 Aug 2018 05:55:05 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32460#p32460</guid>
		</item>
		<item>
			<title><![CDATA[Re: Does SQL_Trail accurately show errors?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32459#p32459</link>
			<description><![CDATA[<p>@kvvaradha, On the same server that hosts FA, I also run two other packages (HumHub which is written in YII and Mantis) for the last 21 months.&nbsp; MySQL has not ever given either of those two packages any problems.&nbsp; FA is the first application that we have experienced any time of DB read access or write problems. </p><p>I am still at a loss of why because I just do not know PHP hardly at all and it has been ten years since I worked with HTML web pages.&nbsp; So I am of no help trying to figure out where in the FA code are the routines that actually control selecting and putting data.&nbsp; </p><p>I will welcome your thoughts and any direction that you could offer me to try to figure out what is going on.</p>]]></description>
			<author><![CDATA[null@example.com (JimmyC)]]></author>
			<pubDate>Tue, 14 Aug 2018 05:45:08 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32459#p32459</guid>
		</item>
		<item>
			<title><![CDATA[Re: Does SQL_Trail accurately show errors?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32456#p32456</link>
			<description><![CDATA[<div class="quotebox"><cite>JimmyC wrote:</cite><blockquote><p>@kvvaradha has offered to help me diagnose the DB setup and trouble shoot what may be causing my errors and hopefully I will learn.</p><p>But, I still don&#039;t know how to change the DB, username or password in FA.&nbsp; Could you point me where to look?</p></blockquote></div><p>You can do it through config_db.php</p><p>Probably. try to install some other framework or cms like wordpress. and use it there. if the server has problem you can experience the same problem there.</p>]]></description>
			<author><![CDATA[null@example.com (kvvaradha)]]></author>
			<pubDate>Tue, 14 Aug 2018 05:24:14 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32456#p32456</guid>
		</item>
		<item>
			<title><![CDATA[Re: Does SQL_Trail accurately show errors?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32455#p32455</link>
			<description><![CDATA[<p>@apmuthu; I just realized one point that I haven&#039;t made is that even though sql_trail shows the errors I have listed, all but one or two out of the hundreds listed did complete correctly to the database.&nbsp; For instance, for the following error:</p><p>INSERT INTO 0_bank_accounts (account_code, account_type, bank_account_name, bank_name, bank_account_number, bank_address, bank_curr_code, dflt_curr_act, bank_charge_act) VALUES (&amp;#039;1066&amp;#039;, &amp;#039;3&amp;#039;, &amp;#039;Undeposited Donations&amp;#039;, &amp;#039;Treasurer&amp;#039;, &amp;#039;&amp;#039;,&amp;#039;&amp;#039;, &amp;#039;USD&amp;#039;, &amp;#039;0&amp;#039;, &amp;#039;5690&amp;#039;)&nbsp; &nbsp; 1&nbsp; &nbsp; could not add a bank account for 1066<br />17&nbsp; &nbsp; SET sql_mode = &amp;#039;&amp;#039; </p><br /><p>The database still made the Bank account of 1066 with all of the field values listed.&nbsp; I apologize for not pointing this out earlier because this may turn out to be a hand-shaking timing error.&nbsp; &nbsp;I am also saying that all of the above errors that I listed in the previous posts except for &quot;Concurrent editing conflict while sales order upda...&quot; completed correctly without throwing an exception to the users form.&nbsp; The errors only showed up in the sql_trail table in the database.</p><p>If this post raises any more unanswered questions, please ask and I will respond.</p>]]></description>
			<author><![CDATA[null@example.com (JimmyC)]]></author>
			<pubDate>Tue, 14 Aug 2018 03:15:19 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32455#p32455</guid>
		</item>
		<item>
			<title><![CDATA[Re: Does SQL_Trail accurately show errors?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32454#p32454</link>
			<description><![CDATA[<p>@apmuthu; Thank you for your reply.&nbsp; I&#039;m not sure if I do have sufficient rights or not because I don&#039;t know how to check and see if I had entered the correct user with the correct password.&nbsp; I tried to look through the PHP files on the server install directory of my FA.&nbsp; I do have multiple MySQL databases for different programs that we use.&nbsp; But, as far as I know, there is only one database username &amp; password for each database and with any error in either the name or password there will be no connection possible to that database.&nbsp; Also, this user has full rights to only this one database.</p><p>@kvvaradha has offered to help me diagnose the DB setup and trouble shoot what may be causing my errors and hopefully I will learn.</p><p>But, I still don&#039;t know how to change the DB, username or password in FA.&nbsp; Could you point me where to look?</p>]]></description>
			<author><![CDATA[null@example.com (JimmyC)]]></author>
			<pubDate>Tue, 14 Aug 2018 02:36:19 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32454#p32454</guid>
		</item>
		<item>
			<title><![CDATA[Re: Does SQL_Trail accurately show errors?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32452#p32452</link>
			<description><![CDATA[<p>Replace each instance of </p><div class="codebox"><pre><code>&amp;#039;</code></pre></div><p> with an apostrophe (single quote) and then execute the SQLs in order in some MySQL client like phpMyAdmin, SQLyog, etc.</p><p>Chances are that the db user you created does not have sufficient write permissions.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Tue, 14 Aug 2018 01:11:06 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32452#p32452</guid>
		</item>
		<item>
			<title><![CDATA[Re: Does SQL_Trail accurately show errors?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32440#p32440</link>
			<description><![CDATA[<p>@JimmyC - It looks like the server is not responding you for all ur queries. If you need me to check your server contact me, we can check in either TV or Anydesk.</p>]]></description>
			<author><![CDATA[null@example.com (kvvaradha)]]></author>
			<pubDate>Mon, 13 Aug 2018 04:06:13 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32440#p32440</guid>
		</item>
		<item>
			<title><![CDATA[Re: Does SQL_Trail accurately show errors?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32439#p32439</link>
			<description><![CDATA[<p>Brand new install.&nbsp; <br />Used the new USA 4-digit COA - ONLY!<br />Used the default &quot;admin&quot; account with a new password.<br />Setup =&gt; Access setup =&gt; System Administrator and enabled everything,<br />Brand new Bank account created (1066). </p><p>Still produced &quot;some&quot; of the same errors and I pasted them below.</p><p>Dumping data for table 0_sql_trail<br />1&nbsp; &nbsp; SET sql_mode = &amp;#039;&amp;#039;&nbsp; &nbsp; 1&nbsp; &nbsp; <br />2&nbsp; &nbsp; UPDATE 0_users SET last_visit_date=&amp;#039;2018-08-12 17:16:24&amp;#039; WHERE user_id=&amp;#039;admin&amp;#039;&nbsp; &nbsp; 1&nbsp; &nbsp; could not update last visit date for user admin<br />3&nbsp; &nbsp; SET sql_mode = &amp;#039;&amp;#039;&nbsp; &nbsp; 1&nbsp; &nbsp; <br />4&nbsp; &nbsp; SET sql_mode = &amp;#039;&amp;#039;&nbsp; &nbsp; 1&nbsp; &nbsp; <br />5&nbsp; &nbsp; UPDATE 0_users SET last_visit_date=&amp;#039;2018-08-12 17:17:08&amp;#039; WHERE user_id=&amp;#039;admin&amp;#039;&nbsp; &nbsp; 1&nbsp; &nbsp; could not update last visit date for user admin<br />6&nbsp; &nbsp; SET sql_mode = &amp;#039;&amp;#039;&nbsp; &nbsp; 1&nbsp; &nbsp; <br />7&nbsp; &nbsp; SET sql_mode = &amp;#039;&amp;#039;&nbsp; &nbsp; 1&nbsp; &nbsp; <br />8&nbsp; &nbsp; SET sql_mode = &amp;#039;&amp;#039;&nbsp; &nbsp; 1&nbsp; &nbsp; <br />9&nbsp; &nbsp; SET sql_mode = &amp;#039;&amp;#039;&nbsp; &nbsp; 1&nbsp; &nbsp; <br />10&nbsp; &nbsp; SET sql_mode = &amp;#039;&amp;#039;&nbsp; &nbsp; 1&nbsp; &nbsp; <br />11&nbsp; &nbsp; SET sql_mode = &amp;#039;&amp;#039;&nbsp; &nbsp; 1&nbsp; &nbsp; <br />12&nbsp; &nbsp; INSERT INTO 0_chart_master (account_code, account_code2, account_name, account_type) VALUES (&amp;#039;1066&amp;#039;, &amp;#039;&amp;#039;, &amp;#039;Undeposited Donations&amp;#039;, &amp;#039;1&amp;#039;)&nbsp; &nbsp; 1&nbsp; &nbsp; <br />13&nbsp; &nbsp; SET sql_mode = &amp;#039;&amp;#039;&nbsp; &nbsp; 1&nbsp; &nbsp; <br />14&nbsp; &nbsp; SET sql_mode = &amp;#039;&amp;#039;&nbsp; &nbsp; 1&nbsp; &nbsp; <br />15&nbsp; &nbsp; SET sql_mode = &amp;#039;&amp;#039;&nbsp; &nbsp; 1&nbsp; &nbsp; <br />16&nbsp; &nbsp; INSERT INTO 0_bank_accounts (account_code, account_type, bank_account_name, bank_name, bank_account_number, bank_address, bank_curr_code, dflt_curr_act, bank_charge_act) VALUES (&amp;#039;1066&amp;#039;, &amp;#039;3&amp;#039;, &amp;#039;Undeposited Donations&amp;#039;, &amp;#039;Treasurer&amp;#039;, &amp;#039;&amp;#039;,&amp;#039;&amp;#039;, &amp;#039;USD&amp;#039;, &amp;#039;0&amp;#039;, &amp;#039;5690&amp;#039;)&nbsp; &nbsp; 1&nbsp; &nbsp; could not add a bank account for 1066<br />17&nbsp; &nbsp; SET sql_mode = &amp;#039;&amp;#039;&nbsp; &nbsp; 1&nbsp; &nbsp; </p><br /><p>I still can&#039;t figure out why.</p>]]></description>
			<author><![CDATA[null@example.com (JimmyC)]]></author>
			<pubDate>Sun, 12 Aug 2018 21:55:41 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32439#p32439</guid>
		</item>
		<item>
			<title><![CDATA[Re: Does SQL_Trail accurately show errors?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=32438#p32438</link>
			<description><![CDATA[<p>The first user is &quot;admin&quot;. The second user is &quot;jimmyc&quot;. Try logging in with &quot;admin&quot;.<br />It is possible that the Chart of Accounts you used may not be updated to the schema for the default Charts.</p><p>Try a fresh install with the <strong>sql/en_US-new.sql</strong> chart.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sun, 12 Aug 2018 17:58:04 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=32438#p32438</guid>
		</item>
	</channel>
</rss>
