<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Tracmor Forum - [FIXED] Asset Transaction Reports - Error   0.20 Issue]]></title>
		<link>http://www.tracmor.com/forum/topic/142/fixed-asset-transaction-reports-error-020-issue/</link>
		<description><![CDATA[The most recent posts in [FIXED] Asset Transaction Reports - Error   0.20 Issue.]]></description>
		<lastBuildDate>Thu, 28 Jul 2011 16:24:27 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: [FIXED] Asset Transaction Reports - Error   0.20 Issue]]></title>
			<link>http://www.tracmor.com/forum/post/1430/#p1430</link>
			<description><![CDATA[<div class="quotebox"><cite>jadobbins wrote:</cite><blockquote><p>Call-time pass-by-reference has been deprecated<br />Error Type:&nbsp; &nbsp;Unknown</p><p>Source File:&nbsp; &nbsp;/var/www/includes/php/PHPReports/PHPReportMaker.php(273) : eval()&#039;d code&nbsp; &nbsp; &nbsp;Line:&nbsp; &nbsp;295</p><br /><p>Call Stack:</p><p>#0 /var/www/includes/php/PHPReports/PHPReportMaker.php(273): QcodoHandleError()<br />#1 /var/www/includes/php/PHPReports/PHPReportMaker.php(273): PHPReportMaker::run()<br />#2 /var/www/reports/asset_transaction_report.php(426): PHPReportMaker-&gt;run()<br />#3 /var/www/includes/qcodo/_core/qform/QFormBase.class.php(657): AssetTransactionListForm-&gt;btnGenerate_Click()<br />#4 /var/www/includes/qcodo/_core/qform/QFormBase.class.php(774): QFormBase-&gt;TriggerMethod()<br />#5 /var/www/includes/qcodo/_core/qform/QFormBase.class.php(242): QFormBase-&gt;TriggerActions()<br />#6 /var/www/reports/asset_transaction_report.php(475): QFormBase::Run()</p><br /><p>Any ideas?</p></blockquote></div><p>This is kind of a quick fix I used on my install, YMMV. I set allow_call_time_pass_reference to On in my php.ini, and restarted Apache. Got rid of the depreciated error for me.</p><p>Also it might help to know that I am running PHP 5.3.2 on Centos 6.</p><p>Hope this helps!</p>]]></description>
			<author><![CDATA[null@example.com (smiller)]]></author>
			<pubDate>Thu, 28 Jul 2011 16:24:27 +0000</pubDate>
			<guid>http://www.tracmor.com/forum/post/1430/#p1430</guid>
		</item>
		<item>
			<title><![CDATA[Re: [FIXED] Asset Transaction Reports - Error   0.20 Issue]]></title>
			<link>http://www.tracmor.com/forum/post/1424/#p1424</link>
			<description><![CDATA[<p>I was getting the phpReportsLanguage Error</p><p>I installed php5-xsl</p><p>Now I get:</p><p>Error in PHP Script<br />/reports/asset_transaction_report.php &nbsp; &nbsp; PHP Version: 5.3.2-1ubuntu4.9;&nbsp; Zend Engine Version: 2.3.0;&nbsp; Qcodo Version: 0.3.32 (Qcodo Beta 3)<br />Application: Apache/2.2.14 (Ubuntu);&nbsp; Server Name: 10.224.3.47<br />HTTP User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0</p><p>Call-time pass-by-reference has been deprecated<br />Error Type:&nbsp; &nbsp;Unknown</p><p>Source File:&nbsp; &nbsp;/var/www/includes/php/PHPReports/PHPReportMaker.php(273) : eval()&#039;d code&nbsp; &nbsp; &nbsp;Line:&nbsp; &nbsp;295</p><br /><p>Call Stack:</p><p>#0 /var/www/includes/php/PHPReports/PHPReportMaker.php(273): QcodoHandleError()<br />#1 /var/www/includes/php/PHPReports/PHPReportMaker.php(273): PHPReportMaker::run()<br />#2 /var/www/reports/asset_transaction_report.php(426): PHPReportMaker-&gt;run()<br />#3 /var/www/includes/qcodo/_core/qform/QFormBase.class.php(657): AssetTransactionListForm-&gt;btnGenerate_Click()<br />#4 /var/www/includes/qcodo/_core/qform/QFormBase.class.php(774): QFormBase-&gt;TriggerMethod()<br />#5 /var/www/includes/qcodo/_core/qform/QFormBase.class.php(242): QFormBase-&gt;TriggerActions()<br />#6 /var/www/reports/asset_transaction_report.php(475): QFormBase::Run()</p><br /><p>Any ideas?</p>]]></description>
			<author><![CDATA[null@example.com (jadobbins)]]></author>
			<pubDate>Tue, 26 Jul 2011 19:39:56 +0000</pubDate>
			<guid>http://www.tracmor.com/forum/post/1424/#p1424</guid>
		</item>
		<item>
			<title><![CDATA[Re: [FIXED] Asset Transaction Reports - Error   0.20 Issue]]></title>
			<link>http://www.tracmor.com/forum/post/1370/#p1370</link>
			<description><![CDATA[<p>Had the same problem generating reports in Ubuntu Lucid. (Undefined index:&nbsp; phpReportsLanguage<br />Error Type:&nbsp; &nbsp;E_NOTICE).&nbsp; The following solved the problem:</p><p>apt-get install php5-xsl</p><p>thumbs up!&nbsp; Thanks forum!</p>]]></description>
			<author><![CDATA[null@example.com (mdocken)]]></author>
			<pubDate>Tue, 21 Jun 2011 14:17:12 +0000</pubDate>
			<guid>http://www.tracmor.com/forum/post/1370/#p1370</guid>
		</item>
		<item>
			<title><![CDATA[Re: [FIXED] Asset Transaction Reports - Error   0.20 Issue]]></title>
			<link>http://www.tracmor.com/forum/post/780/#p780</link>
			<description><![CDATA[<p>I am running RHEL 5 with Apache and MySql installed.&nbsp; In order to resolve this issue, I had to install the XML module for PHP.&nbsp; To do this I ran the following command<br /></p><div class="codebox"><pre><code>yum install php-xml</code></pre></div><p>After restarting the httpd service I was able to generate reports.</p>]]></description>
			<author><![CDATA[null@example.com (john.gallucci)]]></author>
			<pubDate>Fri, 12 Feb 2010 21:57:53 +0000</pubDate>
			<guid>http://www.tracmor.com/forum/post/780/#p780</guid>
		</item>
		<item>
			<title><![CDATA[Re: [FIXED] Asset Transaction Reports - Error   0.20 Issue]]></title>
			<link>http://www.tracmor.com/forum/post/509/#p509</link>
			<description><![CDATA[<p>Any fixes for this problem yet. I still get the &quot;could not connect &quot; error after installing the PHP XSL</p>]]></description>
			<author><![CDATA[null@example.com (matt)]]></author>
			<pubDate>Tue, 28 Jul 2009 11:47:07 +0000</pubDate>
			<guid>http://www.tracmor.com/forum/post/509/#p509</guid>
		</item>
		<item>
			<title><![CDATA[Re: [FIXED] Asset Transaction Reports - Error   0.20 Issue]]></title>
			<link>http://www.tracmor.com/forum/post/488/#p488</link>
			<description><![CDATA[<p>hi </p><p>I have install xsl looks beter now - don&#039;t get the failure anymore, but now I get a blank page with a &quot;could not connect&quot; error when i run the report</p><p>any ideas?</p>]]></description>
			<author><![CDATA[null@example.com (matt)]]></author>
			<pubDate>Wed, 15 Jul 2009 12:36:43 +0000</pubDate>
			<guid>http://www.tracmor.com/forum/post/488/#p488</guid>
		</item>
		<item>
			<title><![CDATA[Re: [FIXED] Asset Transaction Reports - Error   0.20 Issue]]></title>
			<link>http://www.tracmor.com/forum/post/478/#p478</link>
			<description><![CDATA[<p>I have installed the PHP XSL and the asset Transaction report are now working </p><p>Thanks for all you help</p>]]></description>
			<author><![CDATA[null@example.com (dev1andy)]]></author>
			<pubDate>Tue, 07 Jul 2009 07:59:03 +0000</pubDate>
			<guid>http://www.tracmor.com/forum/post/478/#p478</guid>
		</item>
		<item>
			<title><![CDATA[Re: [FIXED] Asset Transaction Reports - Error   0.20 Issue]]></title>
			<link>http://www.tracmor.com/forum/post/452/#p452</link>
			<description><![CDATA[<p>Thank you for your reply</p><p>i have commenting out line number 364 ,365 ,366 i now get a error </p><p>OOOOPS, THERE&#039;S AN ERROR HERE.</p><p>There is no XSLT processor available. Check if you compiled PHP with --enable-xslt and the Sablotron library (for PHP4) or with --enable-xsl (for PHP5).</p><p>This error message was generated by phpReports.</p>]]></description>
			<author><![CDATA[null@example.com (dev1andy)]]></author>
			<pubDate>Fri, 19 Jun 2009 18:35:13 +0000</pubDate>
			<guid>http://www.tracmor.com/forum/post/452/#p452</guid>
		</item>
		<item>
			<title><![CDATA[Re: [FIXED] Asset Transaction Reports - Error   0.20 Issue]]></title>
			<link>http://www.tracmor.com/forum/post/443/#p443</link>
			<description><![CDATA[<p>Thanks for the information.&nbsp; It looks like this is in fact a bug (maybe two different bugs).&nbsp; I am not yet sure about the phpReportsLanguage error,&nbsp; but the one reported by RobH can be resolved by creating an Asset custom field.&nbsp; An issue has been created for this bug <a href="http://code.google.com/p/tracmor/issues/detail?id=71">here</a>.</p>]]></description>
			<author><![CDATA[null@example.com (jsinclair)]]></author>
			<pubDate>Thu, 18 Jun 2009 19:50:18 +0000</pubDate>
			<guid>http://www.tracmor.com/forum/post/443/#p443</guid>
		</item>
		<item>
			<title><![CDATA[Re: [FIXED] Asset Transaction Reports - Error   0.20 Issue]]></title>
			<link>http://www.tracmor.com/forum/post/442/#p442</link>
			<description><![CDATA[<div class="quotebox"><cite>dev1andy wrote:</cite><blockquote><p>i have commented out line 364 and 365 this is the error im getting </p><p>Line 366 in Red</p><p>Line 361:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return;<br />Line 362:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if($_SESSION[&quot;phpReportsLanguage&quot;])<br />Line 363:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $sLang = $_SESSION[&quot;phpReportsLanguage&quot;];<br />Line 364:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //else<br />Line 365:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //$sLang = $GLOBALS[&quot;phpReportsLanguage&quot;];<br />Line 366:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(!$sLang)<br />Line 367:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $sLang = &quot;default&quot;;<br />Line 368:&nbsp; &nbsp; <br />Line 369:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $sTitle&nbsp; &nbsp; = $this-&gt;_aMsgs[&quot;OPS&quot;][$sLang];<br />Line 370:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $sError&nbsp; &nbsp; = $this-&gt;_aMsgs[&quot;ERROR&quot;][$sLang];<br />Line 371:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $sMsg&nbsp; &nbsp; &nbsp; &nbsp; = $this-&gt;_aMsgs[$sMsg_][$sLang];</p></blockquote></div><br /><p>I was able to get by this by commenting out line number 366.. however after that i get an error as follows</p><p>Invalid argument supplied for foreach()<br />Error Type:&nbsp; &nbsp;E_WARNING&nbsp; &nbsp; <br />Rendered Page:&nbsp; &nbsp;Click here to view contents able to be rendered <br />Source File:&nbsp; &nbsp;C:\wamp\www\tracmor\reports\asset_transaction_report.php&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Line:&nbsp; &nbsp;337&nbsp; &nbsp; </p><p>Line 332:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //some data to show in the report<br />Line 333:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $sSql = AssetTransaction::LoadArrayBySearch(true, $this-&gt;.....snipped..<br />Line 334:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $strXmlColNameByCustomField = &quot;&quot;;<br />Line 335:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $strXmlFieldByCustomField = &quot;&quot;;<br />Line 336:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $intCustomFieldCount = 0;<br /><span style="color: red">Line 337:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; foreach ($this-&gt;chkCustomFieldArray as $chkCustomField) {</span><br />Line 338:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if ($chkCustomField-&gt;Checked) {<br />Line 339:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $strXmlColNameByCustomField .= &quot;&lt;COL CELLCLASS=&#039;report_column_header&#039;&gt;&quot;.$chkCustomField-&gt;Text.&quot;&lt;/COL&gt;&quot;;<br />Line 340:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $strXmlFieldByCustomField .= &quot;&lt;COL TYPE=&#039;FIELD&#039; CELLCLASS=&#039;report_cell&#039;&gt;__&quot;.$chkCustomField-&gt;ActionParameter.&quot;&lt;/COL&gt;&quot;;<br />Line 341:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $intCustomFieldCount++;<br />Line 342:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</p>]]></description>
			<author><![CDATA[null@example.com (RobH)]]></author>
			<pubDate>Thu, 18 Jun 2009 19:23:51 +0000</pubDate>
			<guid>http://www.tracmor.com/forum/post/442/#p442</guid>
		</item>
		<item>
			<title><![CDATA[Re: [FIXED] Asset Transaction Reports - Error   0.20 Issue]]></title>
			<link>http://www.tracmor.com/forum/post/441/#p441</link>
			<description><![CDATA[<p>i have commented out line 364 and 365 this is the error im getting </p><p>Line 366 in Red</p><p>Line 361:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return;<br />Line 362:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if($_SESSION[&quot;phpReportsLanguage&quot;])<br />Line 363:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $sLang = $_SESSION[&quot;phpReportsLanguage&quot;];<br />Line 364:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //else<br />Line 365:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //$sLang = $GLOBALS[&quot;phpReportsLanguage&quot;];<br />Line 366:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(!$sLang)<br />Line 367:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $sLang = &quot;default&quot;;<br />Line 368:&nbsp; &nbsp; <br />Line 369:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $sTitle&nbsp; &nbsp; = $this-&gt;_aMsgs[&quot;OPS&quot;][$sLang];<br />Line 370:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $sError&nbsp; &nbsp; = $this-&gt;_aMsgs[&quot;ERROR&quot;][$sLang];<br />Line 371:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $sMsg&nbsp; &nbsp; &nbsp; &nbsp; = $this-&gt;_aMsgs[$sMsg_][$sLang];</p>]]></description>
			<author><![CDATA[null@example.com (dev1andy)]]></author>
			<pubDate>Thu, 18 Jun 2009 17:51:32 +0000</pubDate>
			<guid>http://www.tracmor.com/forum/post/441/#p441</guid>
		</item>
		<item>
			<title><![CDATA[Re: [FIXED] Asset Transaction Reports - Error   0.20 Issue]]></title>
			<link>http://www.tracmor.com/forum/post/440/#p440</link>
			<description><![CDATA[<p>Could you test commenting out the offending lines of code? Lines 364 and 365 of includes/php/PHPReports/PHPReportsUtil.php.</p><p>Example:<br /></p><div class="codebox"><pre><code>function showMsg($sMsg_=null,$oParms_=null){
            if(!$sMsg_)
                return;
            if($_SESSION[&quot;phpReportsLanguage&quot;])
                $sLang = $_SESSION[&quot;phpReportsLanguage&quot;];
            //else
            //    $sLang = $GLOBALS[&quot;phpReportsLanguage&quot;];</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (jsinclair)]]></author>
			<pubDate>Thu, 18 Jun 2009 15:11:05 +0000</pubDate>
			<guid>http://www.tracmor.com/forum/post/440/#p440</guid>
		</item>
		<item>
			<title><![CDATA[Re: [FIXED] Asset Transaction Reports - Error   0.20 Issue]]></title>
			<link>http://www.tracmor.com/forum/post/439/#p439</link>
			<description><![CDATA[<p>Please can you help me im getting&nbsp; the same error to i need to get this working by next week</p>]]></description>
			<author><![CDATA[null@example.com (dev1andy)]]></author>
			<pubDate>Thu, 18 Jun 2009 13:41:09 +0000</pubDate>
			<guid>http://www.tracmor.com/forum/post/439/#p439</guid>
		</item>
		<item>
			<title><![CDATA[Re: [FIXED] Asset Transaction Reports - Error   0.20 Issue]]></title>
			<link>http://www.tracmor.com/forum/post/437/#p437</link>
			<description><![CDATA[<p>Hi </p><p>I get the same error. Any resolution yet?</p>]]></description>
			<author><![CDATA[null@example.com (matt)]]></author>
			<pubDate>Thu, 18 Jun 2009 10:33:06 +0000</pubDate>
			<guid>http://www.tracmor.com/forum/post/437/#p437</guid>
		</item>
		<item>
			<title><![CDATA[Re: [FIXED] Asset Transaction Reports - Error   0.20 Issue]]></title>
			<link>http://www.tracmor.com/forum/post/436/#p436</link>
			<description><![CDATA[<p>Any resolution to this?</p>]]></description>
			<author><![CDATA[null@example.com (timtimar)]]></author>
			<pubDate>Wed, 17 Jun 2009 18:56:40 +0000</pubDate>
			<guid>http://www.tracmor.com/forum/post/436/#p436</guid>
		</item>
	</channel>
</rss>

