<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Upgraded PHP version now can't login]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=10459</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=10459&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Upgraded PHP version now can't login.]]></description>
		<lastBuildDate>Sat, 30 Mar 2024 18:40:40 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Upgraded PHP version now can't login]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=42993#p42993</link>
			<description><![CDATA[<p>I&#039;m having this same issue and the solution to replace line 14 of includes/session.inc does not work.&nbsp; HELP!!!</p>]]></description>
			<author><![CDATA[null@example.com (trentdavis)]]></author>
			<pubDate>Sat, 30 Mar 2024 18:40:40 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=42993#p42993</guid>
		</item>
		<item>
			<title><![CDATA[Re: Upgraded PHP version now can't login]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=42864#p42864</link>
			<description><![CDATA[<p>Time to exit your hosting service and roll your own - a learning curve though.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Wed, 07 Feb 2024 15:09:36 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=42864#p42864</guid>
		</item>
		<item>
			<title><![CDATA[Re: Upgraded PHP version now can't login]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=42863#p42863</link>
			<description><![CDATA[<div class="quotebox"><cite>apmuthu wrote:</cite><blockquote><p>Use the bleeding edge from the <strong><a href="https://github.com/FrontAccountingERP/FA/archive/refs/heads/master.zip">GitHub Master</a></strong> as it has many PHP 8.x fixes.</p></blockquote></div><p>So I was able to get the login screen to work by replacing the session.inc with the one on GitHub Master.</p><p>But now I have this issue Topic: login repeats with every click&nbsp; (https://frontaccounting.com/punbb/viewtopic.php?id=9606)</p><p>I did this per your other post but still doesn&#039;t work.&nbsp; </p><p>effective workaround to use the newer commit only for https and not for http:</p><p>Replace hardcoded line 14 of includes/session.inc:</p><p>define(&#039;SECURE_ONLY&#039;, true);<br />to be</p><p>define(&#039;SECURE_ONLY&#039;, (parse_url($_SERVER[&#039;REQUEST_URI&#039;], PHP_URL_SCHEME) == &#039;https&#039;));<br />This way newer installs will not break when not using https. The last few times, the released versions seem to have some showstopper for existing users. This will only make existing users especially on legacy systems not to upgrade as that would warrant &quot;consultant costs&quot;. FA should herd and retain it&#039;s flock as that is where the network wealth of the project lies - bulk satisfied standard users who can upgrade atleast in minor versions safely.</p><p>I uploaded&nbsp; my session.inc file maybe I did something wrong.</p><p>Also if I downgrade to php 7.4 this repeat login does not happen, only happens with 8.0, 8.1 and 8.2.&nbsp; I would stay at 7.4 but my hosting service is upgrading everyone to 8.2 in a few weeks.&nbsp; </p><p>Thanks.</p>]]></description>
			<author><![CDATA[null@example.com (marcusblade)]]></author>
			<pubDate>Wed, 07 Feb 2024 14:28:24 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=42863#p42863</guid>
		</item>
		<item>
			<title><![CDATA[Re: Upgraded PHP version now can't login]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=42855#p42855</link>
			<description><![CDATA[<p>Use the bleeding edge from the <strong><a href="https://github.com/FrontAccountingERP/FA/archive/refs/heads/master.zip">GitHub Master</a></strong> as it has many PHP 8.x fixes.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Fri, 02 Feb 2024 19:23:23 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=42855#p42855</guid>
		</item>
		<item>
			<title><![CDATA[Re: Upgraded PHP version now can't login]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=42851#p42851</link>
			<description><![CDATA[<p>Even when I only upgrade to PHP 8.0, the login page on the main screen disappears.&nbsp; When I downgrade back to 7.4 everything work.&nbsp; </p><p>When I install a new instance of FrontAccounting on a 8.0+ it works.&nbsp; But I can&#039;t seem to restore any data so that will not be the solution.</p>]]></description>
			<author><![CDATA[null@example.com (marcusblade)]]></author>
			<pubDate>Tue, 30 Jan 2024 14:48:40 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=42851#p42851</guid>
		</item>
		<item>
			<title><![CDATA[Re: Upgraded PHP version now can't login]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=42848#p42848</link>
			<description><![CDATA[<p>FA officially supports php 8.0. Don&#039;t go more than this.</p>]]></description>
			<author><![CDATA[null@example.com (kvvaradha)]]></author>
			<pubDate>Tue, 30 Jan 2024 14:06:30 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=42848#p42848</guid>
		</item>
		<item>
			<title><![CDATA[Re: Upgraded PHP version now can't login]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=42844#p42844</link>
			<description><![CDATA[<p>I was able to login if I revert the php database back to 7.3.&nbsp; If I upgrade to 7.4 everything works, but once I go to 8.0+ the login in screen changes and I can no longer login.&nbsp; So there must be something that needs to be done.&nbsp; I am unable to find anything on this.</p>]]></description>
			<author><![CDATA[null@example.com (marcusblade)]]></author>
			<pubDate>Fri, 26 Jan 2024 19:55:06 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=42844#p42844</guid>
		</item>
		<item>
			<title><![CDATA[Upgraded PHP version now can't login]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=42842#p42842</link>
			<description><![CDATA[<p>I have updated my website from php7.3 to php8.3 and now I can&#039;t login into FrontAccount.&nbsp; I can&#039;t seem to find any steps when upgrading the database.</p>]]></description>
			<author><![CDATA[null@example.com (marcusblade)]]></author>
			<pubDate>Fri, 26 Jan 2024 16:36:31 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=42842#p42842</guid>
		</item>
	</channel>
</rss>
