<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — More php 7 fixes]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=6734</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=6734&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in More php 7 fixes.]]></description>
		<lastBuildDate>Sun, 04 Jun 2017 18:06:57 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: More php 7 fixes]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=27944#p27944</link>
			<description><![CDATA[<p>@apmuthu your solution for creating a subdomain worked. I created accounts.mydomain.com and pointed it to the FA installation, then added the php5.6 handler to that .htaccess, and it now works independently. Thanks.</p>]]></description>
			<author><![CDATA[null@example.com (Dynamic)]]></author>
			<pubDate>Sun, 04 Jun 2017 18:06:57 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=27944#p27944</guid>
		</item>
		<item>
			<title><![CDATA[Re: More php 7 fixes]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=27927#p27927</link>
			<description><![CDATA[<p><a href="https://www.cyberciti.biz/tips/linux-password-trick.html">Set the immutable bit</a> for the <strong>.htaccess</strong> file or move it&#039;s contents to the webserver config file itself possibly on a per folder tree basis.</p><p>Running separate subdomains for each application (wordpress, frontaccounting) with their own PHP version setting may be another option.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Wed, 31 May 2017 10:39:22 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=27927#p27927</guid>
		</item>
		<item>
			<title><![CDATA[Re: More php 7 fixes]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=27926#p27926</link>
			<description><![CDATA[<p>I am having a problem running frontaccounting ever since I changed my CMS to wordpress. It appears wordpress is using PHP 7 and calling it in my .htaccess, but FA will not run correctly. Half the time I am getting white screens and the other times I get these three errors and pages refuse to work.</p><p>Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; cart has a deprecated constructor in /myaccountsfolder/sales/includes/cart_class.inc on line 24</p><p>Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; line_details has a deprecated constructor in /myaccountsfolder/sales/includes/cart_class.inc on line 650</p><p>session_start(): Cannot send session cache limiter - headers already sent (output started at /myaccountsfolder/sales/includes/cart_class.inc:24) in file: /myaccountsfolder/includes/session.inc at line 29</p><p>The workaround is changing this handler in the .htaccess from:</p><p>AddHandler application/x-httpd-php70s .php</p><p>to</p><p>AddHandler application/x-httpd-php56s .php</p><p>When I do this both wordpress and FA work fine, but whenever I change a setting in the backend in wordpress, or post anything on the site (basically whenever I use the CMS) the .htaccess is reverted by wordpress back to calling PHP 7.</p><p>What do I do? I have tried all the changes listed by cambell but it still does not work (though I do not have this file in my FA directory:</p><p>includes/ui/ControlRenderer.inc</p><p>I am running FA 2.4 but this issue began before I upgraded and upgrading does nothng to fix it.</p>]]></description>
			<author><![CDATA[null@example.com (Dynamic)]]></author>
			<pubDate>Wed, 31 May 2017 09:34:45 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=27926#p27926</guid>
		</item>
		<item>
			<title><![CDATA[Re: More php 7 fixes]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=27735#p27735</link>
			<description><![CDATA[<p>In general, yes. Sometimes there may be glitches in upgradation and user testing reports will help iron out such bugs.</p><p>As FA 2.4 is the unstable and development version, when new features are needed or issues addressed, it may require database structure&nbsp; and/or data changes. Such changes are generally placed in an <strong>alter sql/php</strong> file in the <strong>sql</strong> folder that may need to be executed manually (with care as to the <strong>db_prefix</strong>) or possibly through the web interface - <strong>Setup -&gt; Software Upgrade</strong>. The best way is to manually execute the changes in a MySQL client, line by line on a backup of the database first and then perform the actions on the live one - YMMV.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Fri, 21 Apr 2017 03:53:51 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=27735#p27735</guid>
		</item>
		<item>
			<title><![CDATA[Re: More php 7 fixes]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=27727#p27727</link>
			<description><![CDATA[<div class="quotebox"><cite>apmuthu wrote: wrote:</cite><blockquote><p>You will of course need to be aware that database changes will possibly devolve in time for this branch though upgrade paths will exist for standard installs.</p></blockquote></div><p>Call me an idiot (and you are probably right) but what does that mean when you say &quot;database changes will possibly devolve.&quot; If I use this branch will I still be able to easily upgrade to the final...?</p>]]></description>
			<author><![CDATA[null@example.com (rschwendeman)]]></author>
			<pubDate>Tue, 18 Apr 2017 07:43:07 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=27727#p27727</guid>
		</item>
		<item>
			<title><![CDATA[Re: More php 7 fixes]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=27704#p27704</link>
			<description><![CDATA[<div class="quotebox"><cite>apmuthu wrote:</cite><blockquote><p>Actually FA 2.4RC1 is already used in production by quite a few users. You will ofcourse need to be aware that database changes will possibly devolve in time for this branch though upgrade paths will exist for standard installs (but not guaranteed for the extensions).</p><p>The latest code for this branch is available <a href="https://github.com/FrontAccountingERP/FA/archive/unstable.zip">here</a>.</p></blockquote></div><p>Thanks mate.</p>]]></description>
			<author><![CDATA[null@example.com (Alaa)]]></author>
			<pubDate>Thu, 13 Apr 2017 13:34:21 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=27704#p27704</guid>
		</item>
		<item>
			<title><![CDATA[Re: More php 7 fixes]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=27700#p27700</link>
			<description><![CDATA[<p>Actually FA 2.4RC1 is already used in production by quite a few users. You will ofcourse need to be aware that database changes will possibly devolve in time for this branch though upgrade paths will exist for standard installs (but not guaranteed for the extensions).</p><p>The latest code for this branch is available <a href="https://github.com/FrontAccountingERP/FA/archive/unstable.zip">here</a>.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Wed, 12 Apr 2017 15:05:47 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=27700#p27700</guid>
		</item>
		<item>
			<title><![CDATA[Re: More php 7 fixes]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=27697#p27697</link>
			<description><![CDATA[<p>So guys.. do you have a guess on when FA 2.4 can be used on production ??<br />where can i download the latest FA 2.4 with your latest fixes ?</p><p>Regards.</p>]]></description>
			<author><![CDATA[null@example.com (Alaa)]]></author>
			<pubDate>Wed, 12 Apr 2017 10:16:06 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=27697#p27697</guid>
		</item>
		<item>
			<title><![CDATA[Re: More php 7 fixes]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=27696#p27696</link>
			<description><![CDATA[<p>FYI, the old style constructors (same name as class) started to be deprecated in PHP 5.3.3 (in the case that a namespace was used - which is not used in FA).&nbsp; The new style __construct was introduced in PHP 5.&nbsp; The old style is deprecated in PHP 7.</p><p>See http://php.net/manual/en/language.oop5.decon.php for more info.</p>]]></description>
			<author><![CDATA[null@example.com (cambell)]]></author>
			<pubDate>Wed, 12 Apr 2017 03:42:46 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=27696#p27696</guid>
		</item>
		<item>
			<title><![CDATA[Re: More php 7 fixes]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=27677#p27677</link>
			<description><![CDATA[<p>Yes, many users are on PHP 5.3.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Wed, 05 Apr 2017 19:32:17 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=27677#p27677</guid>
		</item>
		<item>
			<title><![CDATA[Re: More php 7 fixes]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=27672#p27672</link>
			<description><![CDATA[<p>The changes were made against 2.4, the unstable branch.&nbsp; So, are you saying there&#039;s a large user base of 2.4 users using php 5.3?&nbsp; If that&#039;s the case simply add that to the Travis test set.</p>]]></description>
			<author><![CDATA[null@example.com (cambell)]]></author>
			<pubDate>Wed, 05 Apr 2017 03:55:35 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=27672#p27672</guid>
		</item>
		<item>
			<title><![CDATA[Re: More php 7 fixes]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=27663#p27663</link>
			<description><![CDATA[<p>PHP 5.3 going EOL&nbsp; does not affect this version of FA and it&#039;s large userbase who are still on those versions. The newer versions and forks can cater to the latest versions of PHP. Almost all the users are on some form of private VPNs or on LANs for FA usage or protected by some other means or do not need the benefits of the later versions of PHP.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Mon, 03 Apr 2017 07:12:02 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=27663#p27663</guid>
		</item>
		<item>
			<title><![CDATA[Re: More php 7 fixes]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=27658#p27658</link>
			<description><![CDATA[<p>PHP 5.3 went <a href="http://php.net/supported-versions.php">end of life</a> nearly 3 years ago.&nbsp; The <a href="https://travis-ci.org/cambell-prince/frontaccounting/builds/216781433">Travis Tests</a> are running on PHP 5.4 and are all passing.</p><p>If you all were to integrate the test from <a href="https://github.com/FrontAccountingERP/FA/pull/5">this PR</a> then you would be able to continually run the tests on Travis against multiple versions of PHP.</p><p>There are also additional changes in a subsequent commit.</p>]]></description>
			<author><![CDATA[null@example.com (cambell)]]></author>
			<pubDate>Thu, 30 Mar 2017 14:45:47 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=27658#p27658</guid>
		</item>
		<item>
			<title><![CDATA[Re: More php 7 fixes]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=27656#p27656</link>
			<description><![CDATA[<p>Hope these constructors do not disrupt existing PHP 5.3 users.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Thu, 30 Mar 2017 13:52:15 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=27656#p27656</guid>
		</item>
		<item>
			<title><![CDATA[More php 7 fixes]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=27654#p27654</link>
			<description><![CDATA[<p>I&#039;ve done a few more php 7 fixes.</p><p>https://github.com/cambell-prince/frontaccounting/commit/65957eac3be2fae85088be43466b89d1025e7c31</p>]]></description>
			<author><![CDATA[null@example.com (cambell)]]></author>
			<pubDate>Thu, 30 Mar 2017 10:11:05 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=27654#p27654</guid>
		</item>
	</channel>
</rss>
