<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Tracmor Forum - [FIXED] Asset Transaction Reports - Error   0.20 Issue]]></title>
	<link rel="self" href="http://www.tracmor.com/forum/feed/atom/topic/142/"/>
	<updated>2011-07-28T16:24:27Z</updated>
	<generator>PunBB</generator>
	<id>http://www.tracmor.com/forum/topic/142/fixed-asset-transaction-reports-error-020-issue/</id>
		<entry>
			<title type="html"><![CDATA[Re: [FIXED] Asset Transaction Reports - Error   0.20 Issue]]></title>
			<link rel="alternate" href="http://www.tracmor.com/forum/post/1430/#p1430"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[smiller]]></name>
				<uri>http://www.tracmor.com/forum/user/701/</uri>
			</author>
			<updated>2011-07-28T16:24:27Z</updated>
			<id>http://www.tracmor.com/forum/post/1430/#p1430</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [FIXED] Asset Transaction Reports - Error   0.20 Issue]]></title>
			<link rel="alternate" href="http://www.tracmor.com/forum/post/1424/#p1424"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[jadobbins]]></name>
				<uri>http://www.tracmor.com/forum/user/694/</uri>
			</author>
			<updated>2011-07-26T19:39:56Z</updated>
			<id>http://www.tracmor.com/forum/post/1424/#p1424</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [FIXED] Asset Transaction Reports - Error   0.20 Issue]]></title>
			<link rel="alternate" href="http://www.tracmor.com/forum/post/1370/#p1370"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[mdocken]]></name>
				<uri>http://www.tracmor.com/forum/user/636/</uri>
			</author>
			<updated>2011-06-21T14:17:12Z</updated>
			<id>http://www.tracmor.com/forum/post/1370/#p1370</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [FIXED] Asset Transaction Reports - Error   0.20 Issue]]></title>
			<link rel="alternate" href="http://www.tracmor.com/forum/post/780/#p780"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[john.gallucci]]></name>
				<uri>http://www.tracmor.com/forum/user/250/</uri>
			</author>
			<updated>2010-02-12T21:57:53Z</updated>
			<id>http://www.tracmor.com/forum/post/780/#p780</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [FIXED] Asset Transaction Reports - Error   0.20 Issue]]></title>
			<link rel="alternate" href="http://www.tracmor.com/forum/post/509/#p509"/>
			<content type="html"><![CDATA[<p>Any fixes for this problem yet. I still get the &quot;could not connect &quot; error after installing the PHP XSL</p>]]></content>
			<author>
				<name><![CDATA[matt]]></name>
				<uri>http://www.tracmor.com/forum/user/130/</uri>
			</author>
			<updated>2009-07-28T11:47:07Z</updated>
			<id>http://www.tracmor.com/forum/post/509/#p509</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [FIXED] Asset Transaction Reports - Error   0.20 Issue]]></title>
			<link rel="alternate" href="http://www.tracmor.com/forum/post/488/#p488"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[matt]]></name>
				<uri>http://www.tracmor.com/forum/user/130/</uri>
			</author>
			<updated>2009-07-15T12:36:43Z</updated>
			<id>http://www.tracmor.com/forum/post/488/#p488</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [FIXED] Asset Transaction Reports - Error   0.20 Issue]]></title>
			<link rel="alternate" href="http://www.tracmor.com/forum/post/478/#p478"/>
			<content type="html"><![CDATA[<p>I have installed the PHP XSL and the asset Transaction report are now working </p><p>Thanks for all you help</p>]]></content>
			<author>
				<name><![CDATA[dev1andy]]></name>
				<uri>http://www.tracmor.com/forum/user/135/</uri>
			</author>
			<updated>2009-07-07T07:59:03Z</updated>
			<id>http://www.tracmor.com/forum/post/478/#p478</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [FIXED] Asset Transaction Reports - Error   0.20 Issue]]></title>
			<link rel="alternate" href="http://www.tracmor.com/forum/post/452/#p452"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[dev1andy]]></name>
				<uri>http://www.tracmor.com/forum/user/135/</uri>
			</author>
			<updated>2009-06-19T18:35:13Z</updated>
			<id>http://www.tracmor.com/forum/post/452/#p452</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [FIXED] Asset Transaction Reports - Error   0.20 Issue]]></title>
			<link rel="alternate" href="http://www.tracmor.com/forum/post/443/#p443"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[jsinclair]]></name>
				<uri>http://www.tracmor.com/forum/user/16/</uri>
			</author>
			<updated>2009-06-18T19:50:18Z</updated>
			<id>http://www.tracmor.com/forum/post/443/#p443</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [FIXED] Asset Transaction Reports - Error   0.20 Issue]]></title>
			<link rel="alternate" href="http://www.tracmor.com/forum/post/442/#p442"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[RobH]]></name>
				<uri>http://www.tracmor.com/forum/user/136/</uri>
			</author>
			<updated>2009-06-18T19:23:51Z</updated>
			<id>http://www.tracmor.com/forum/post/442/#p442</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [FIXED] Asset Transaction Reports - Error   0.20 Issue]]></title>
			<link rel="alternate" href="http://www.tracmor.com/forum/post/441/#p441"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[dev1andy]]></name>
				<uri>http://www.tracmor.com/forum/user/135/</uri>
			</author>
			<updated>2009-06-18T17:51:32Z</updated>
			<id>http://www.tracmor.com/forum/post/441/#p441</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [FIXED] Asset Transaction Reports - Error   0.20 Issue]]></title>
			<link rel="alternate" href="http://www.tracmor.com/forum/post/440/#p440"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[jsinclair]]></name>
				<uri>http://www.tracmor.com/forum/user/16/</uri>
			</author>
			<updated>2009-06-18T15:11:05Z</updated>
			<id>http://www.tracmor.com/forum/post/440/#p440</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [FIXED] Asset Transaction Reports - Error   0.20 Issue]]></title>
			<link rel="alternate" href="http://www.tracmor.com/forum/post/439/#p439"/>
			<content type="html"><![CDATA[<p>Please can you help me im getting&nbsp; the same error to i need to get this working by next week</p>]]></content>
			<author>
				<name><![CDATA[dev1andy]]></name>
				<uri>http://www.tracmor.com/forum/user/135/</uri>
			</author>
			<updated>2009-06-18T13:41:09Z</updated>
			<id>http://www.tracmor.com/forum/post/439/#p439</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [FIXED] Asset Transaction Reports - Error   0.20 Issue]]></title>
			<link rel="alternate" href="http://www.tracmor.com/forum/post/437/#p437"/>
			<content type="html"><![CDATA[<p>Hi </p><p>I get the same error. Any resolution yet?</p>]]></content>
			<author>
				<name><![CDATA[matt]]></name>
				<uri>http://www.tracmor.com/forum/user/130/</uri>
			</author>
			<updated>2009-06-18T10:33:06Z</updated>
			<id>http://www.tracmor.com/forum/post/437/#p437</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [FIXED] Asset Transaction Reports - Error   0.20 Issue]]></title>
			<link rel="alternate" href="http://www.tracmor.com/forum/post/436/#p436"/>
			<content type="html"><![CDATA[<p>Any resolution to this?</p>]]></content>
			<author>
				<name><![CDATA[timtimar]]></name>
				<uri>http://www.tracmor.com/forum/user/96/</uri>
			</author>
			<updated>2009-06-17T18:56:40Z</updated>
			<id>http://www.tracmor.com/forum/post/436/#p436</id>
		</entry>
</feed>

