<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Development Environment?]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=2118&amp;type=atom" />
	<updated>2011-06-02T18:19:31Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=2118</id>
		<entry>
			<title type="html"><![CDATA[Re: Development Environment?]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=9335#p9335" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>AndrewE wrote:</cite><blockquote><p>Can anyone recommend a development environment or debugger to use for debugging the PHP code?</p></blockquote></div><p>Hi Andrew.<br />I use Netbeans (Mac version) with xdebug which works really well, and is free.</p>]]></content>
			<author>
				<name><![CDATA[p2409]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=267</uri>
			</author>
			<updated>2011-06-02T18:19:31Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=9335#p9335</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Development Environment?]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=9236#p9236" />
			<content type="html"><![CDATA[<p>Welcome to Front Accounting and I am quite new to FA too. I have study FA code and have been trying to hack the code for quite some time. Before you can do this, you should understand how FA works.</p><p>To debug FA, you can change the parameters in the file config.php which is located in your frontaccounting folder.</p><p>You may change the following parameters to suite your debugging need. 1 mean activated, 0 mean inactive.</p><p>&nbsp; &nbsp; &nbsp; &nbsp;$error_logfile = dirname(__FILE__).&#039;/tmp/errors.log&#039;;<br />&nbsp; &nbsp; $debug &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 1;&nbsp; &nbsp; // show sql on database errors</p><p>&nbsp; &nbsp; $show_sql &nbsp; &nbsp; &nbsp; &nbsp; = 1;&nbsp; &nbsp; // show all sql queries in page footer for debugging purposes<br />&nbsp; &nbsp; $go_debug &nbsp; &nbsp; &nbsp; &nbsp; = 0;&nbsp; &nbsp; // set to 1 for basic debugging, or 2 to see also backtrace after failure.<br />&nbsp; &nbsp; $pdf_debug &nbsp; &nbsp; &nbsp; &nbsp; = 0;&nbsp; &nbsp; // display pdf source instead reports for debugging when $go_debug!=0<br />&nbsp; &nbsp; // set $sql_trail to 1 only if you want to perform bugtracking sql trail<br />&nbsp; &nbsp; // Warning: this produces huge amount of data in sql_trail table.<br />&nbsp; &nbsp; // Don&#039;t forget switch the option off and flush the table manually after <br />&nbsp; &nbsp; // trail, or your future backup files are overloaded with unneeded data.<br />&nbsp; &nbsp; //<br />&nbsp; &nbsp; $sql_trail &nbsp; &nbsp; &nbsp; &nbsp; = 1; // save all sql queries in sql_trail<br />&nbsp; &nbsp; $select_trail &nbsp; &nbsp; = 0; // track also SELECT queries</p><br /><p>&nbsp; &nbsp;if you activate the $sql_trail = 1, you can check and verify the sql query in the folowing table:<br />&nbsp; &nbsp;1) 0_sql_trail</p><p> You can also copy and paste the sql script from your browser and execute it in MySQL command line.</p><p>&nbsp; Hope it help...</p>]]></content>
			<author>
				<name><![CDATA[tclim]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=4821</uri>
			</author>
			<updated>2011-05-24T16:36:19Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=9236#p9236</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Development Environment?]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=9235#p9235" />
			<content type="html"><![CDATA[<p>I am new to PHP, but have experience with programming in several other languages (c flavors, basic flavors, FORTRAN, LISP,APL---I think I&#039;m showing my age).&nbsp; We wish to poke around at the code so as to better understand what is going on--seem to have a little problem with the inventory status item not showing results--, but that may be because we modified a field width to get longer inventory locations and we probably missed something.</p><p>Can anyone recommend a development environment or debugger to use for debugging the PHP code?</p>]]></content>
			<author>
				<name><![CDATA[AndrewE]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=6344</uri>
			</author>
			<updated>2011-05-24T16:26:00Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=9235#p9235</id>
		</entry>
</feed>
