<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Upgraded PHP version now can't login]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=10459&amp;type=atom" />
	<updated>2024-03-30T18:40:40Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=10459</id>
		<entry>
			<title type="html"><![CDATA[Re: Upgraded PHP version now can't login]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=42993#p42993" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[trentdavis]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=1335</uri>
			</author>
			<updated>2024-03-30T18:40:40Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=42993#p42993</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Upgraded PHP version now can't login]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=42864#p42864" />
			<content type="html"><![CDATA[<p>Time to exit your hosting service and roll your own - a learning curve though.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2024-02-07T15:09:36Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=42864#p42864</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Upgraded PHP version now can't login]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=42863#p42863" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[marcusblade]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=47612</uri>
			</author>
			<updated>2024-02-07T14:28:24Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=42863#p42863</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Upgraded PHP version now can't login]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=42855#p42855" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2024-02-02T19:23:23Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=42855#p42855</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Upgraded PHP version now can't login]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=42851#p42851" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[marcusblade]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=47612</uri>
			</author>
			<updated>2024-01-30T14:48:40Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=42851#p42851</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Upgraded PHP version now can't login]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=42848#p42848" />
			<content type="html"><![CDATA[<p>FA officially supports php 8.0. Don&#039;t go more than this.</p>]]></content>
			<author>
				<name><![CDATA[kvvaradha]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19348</uri>
			</author>
			<updated>2024-01-30T14:06:30Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=42848#p42848</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Upgraded PHP version now can't login]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=42844#p42844" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[marcusblade]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=47612</uri>
			</author>
			<updated>2024-01-26T19:55:06Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=42844#p42844</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Upgraded PHP version now can't login]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=42842#p42842" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[marcusblade]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=47612</uri>
			</author>
			<updated>2024-01-26T16:36:31Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=42842#p42842</id>
		</entry>
</feed>
