<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Paypal Import module setup error.]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=10270&amp;type=atom" />
	<updated>2023-04-20T20:43:58Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=10270</id>
		<entry>
			<title type="html"><![CDATA[Re: Paypal Import module setup error.]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=42310#p42310" />
			<content type="html"><![CDATA[<p>Seems I fixed it by enclosing the comparison </p><p>if ( !defined(&#039;refresh_sys_prefs&#039;) ) { </p><p>seems to work.</p>]]></content>
			<author>
				<name><![CDATA[clab]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=29</uri>
			</author>
			<updated>2023-04-20T20:43:58Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=42310#p42310</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Paypal Import module setup error.]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=42309#p42309" />
			<content type="html"><![CDATA[<p>We get PHP the following error message when trying to run Paypal import setup for the first time:<br />Parse error: syntax error, unexpected &#039;!&#039;, expecting &#039;(&#039; in /home/cexpert2/faces.cexpert.com/modules/import_paypal/paypal_setup.php on line 23<br />Looking at the source file I can see the following at line 23:<br />//-------------------------------------------------------------------------------------------------<br />if !defined(&#039;refresh_sys_prefs&#039;) {<br />&nbsp; &nbsp; function refresh_sys_prefs()<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; flush_dir(company_path().&#039;/js_cache&#039;); // clear cache<br />&nbsp; &nbsp; &nbsp; &nbsp; unset($_SESSION[&#039;SysPrefs&#039;]);<br />&nbsp; &nbsp; &nbsp; &nbsp; get_company_prefs();<br />&nbsp; &nbsp; }<br />}</p><p>function can_process()<br />{<br />&nbsp; &nbsp; return true;<br />}</p><p>Can someone please advise?</p>]]></content>
			<author>
				<name><![CDATA[clab]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=29</uri>
			</author>
			<updated>2023-04-20T20:14:34Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=42309#p42309</id>
		</entry>
</feed>
