<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Nginx server and PHP version]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=9282</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=9282&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Nginx server and PHP version.]]></description>
		<lastBuildDate>Wed, 11 Aug 2021 16:01:25 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Nginx server and PHP version]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=39836#p39836</link>
			<description><![CDATA[<p>@joe: can include this?</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Wed, 11 Aug 2021 16:01:25 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=39836#p39836</guid>
		</item>
		<item>
			<title><![CDATA[Re: Nginx server and PHP version]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=39812#p39812</link>
			<description><![CDATA[<div class="quotebox"><cite>lugezz wrote:</cite><blockquote><p>I understand you have to download now the 2.4.9 version from SourceForge and install it again and it should work.</p><p>----------<br />install/isession.incDiffSwitch to side-by-side view<br />--- a/install/isession.inc<br />+++ b/install/isession.inc<br />@@ -31,7 +31,7 @@<br /> //<br /> function strip_quotes($data)<br /> {<br />-&nbsp; &nbsp; if(get_magic_quotes_gpc()) {<br />+&nbsp; &nbsp; if(version_compare(phpversion(), &#039;5.4&#039;, &#039;&lt;&#039;) &amp;&amp; get_magic_quotes_gpc()) {<br /> &nbsp; &nbsp; &nbsp; &nbsp; if(is_array($data)) {<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; foreach($data as $k =&gt; $v) {<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $data[$k] = strip_quotes($data[$k]);</p></blockquote></div><p>thanks it worked fine</p>]]></description>
			<author><![CDATA[null@example.com (cedricktshiyoyo)]]></author>
			<pubDate>Fri, 06 Aug 2021 12:07:46 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=39812#p39812</guid>
		</item>
		<item>
			<title><![CDATA[Re: Nginx server and PHP version]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=39414#p39414</link>
			<description><![CDATA[<p>I understand you have to download now the 2.4.9 version from SourceForge and install it again and it should work.</p><p>----------<br />install/isession.incDiffSwitch to side-by-side view<br />--- a/install/isession.inc<br />+++ b/install/isession.inc<br />@@ -31,7 +31,7 @@<br /> //<br /> function strip_quotes($data)<br /> {<br />-&nbsp; &nbsp; if(get_magic_quotes_gpc()) {<br />+&nbsp; &nbsp; if(version_compare(phpversion(), &#039;5.4&#039;, &#039;&lt;&#039;) &amp;&amp; get_magic_quotes_gpc()) {<br /> &nbsp; &nbsp; &nbsp; &nbsp; if(is_array($data)) {<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; foreach($data as $k =&gt; $v) {<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $data[$k] = strip_quotes($data[$k]);</p>]]></description>
			<author><![CDATA[null@example.com (lugezz)]]></author>
			<pubDate>Wed, 05 May 2021 14:32:21 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=39414#p39414</guid>
		</item>
		<item>
			<title><![CDATA[Re: Nginx server and PHP version]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=39413#p39413</link>
			<description><![CDATA[<p>Hello Cedrick! Are you using 2.4.9 version? It&#039;s supposed to working well in this version.</p>]]></description>
			<author><![CDATA[null@example.com (lugezz)]]></author>
			<pubDate>Wed, 05 May 2021 14:29:16 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=39413#p39413</guid>
		</item>
		<item>
			<title><![CDATA[Re: Nginx server and PHP version]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=39404#p39404</link>
			<description><![CDATA[<div class="quotebox"><blockquote><p>Function get_magic_quotes_gpc() is deprecated in file: /var/www/html/finance/includes/session.inc at line 308<br />Trying to access array offset on value of type bool in file: /var/www/html/finance/gl/includes/db/gl_db_accounts.inc at line 220<br />implode(): Passing glue string after array is deprecated. Swap the parameters in file: /var/www/html/finance/includes/ui/ui_lists.inc at line 151</p></blockquote></div><p>Hello guys, i am having the same message, I am using ubuntu 20.04 with php 7.4.3&nbsp; &nbsp;mysql&nbsp; Ver 8.0.23-0ubuntu0.20.04.1</p><p>Any idea?</p>]]></description>
			<author><![CDATA[null@example.com (cedricktshiyoyo)]]></author>
			<pubDate>Wed, 05 May 2021 09:51:31 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=39404#p39404</guid>
		</item>
		<item>
			<title><![CDATA[Re: Nginx server and PHP version]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=39378#p39378</link>
			<description><![CDATA[<p>Genius!!!! It works perfectly, thanks a million!</p>]]></description>
			<author><![CDATA[null@example.com (lugezz)]]></author>
			<pubDate>Tue, 27 Apr 2021 22:30:20 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=39378#p39378</guid>
		</item>
		<item>
			<title><![CDATA[Re: Nginx server and PHP version]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=39377#p39377</link>
			<description><![CDATA[<p>Thanks a lot! I will follow your advice!</p>]]></description>
			<author><![CDATA[null@example.com (lugezz)]]></author>
			<pubDate>Tue, 27 Apr 2021 19:28:38 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=39377#p39377</guid>
		</item>
		<item>
			<title><![CDATA[Re: Nginx server and PHP version]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=39376#p39376</link>
			<description><![CDATA[<p>Regarding 7.4, you can safely ignore the error.</p><p>PHP 7.4 has better validation than earlier php.&nbsp; I fixed a lot of these issues in my fork and I still need to post the fixes.&nbsp; The fix for db_tags.inc is:</p><div class="codebox"><pre><code>diff --git a/core/admin/db/tags_db.inc b/core/admin/db/tags_db.inc
index b33de82..96bdbe9 100644
--- a/core/admin/db/tags_db.inc
+++ b/core/admin/db/tags_db.inc
@@ -77,7 +77,7 @@ function get_tag_name($id)
        $result = db_query($sql, &quot;could not get tag name&quot;);
        
        $row = db_fetch_row($result);
-       return $row ? $row[0] : &#039;&#039;;
+       return $row == false ? false : $row[0];
 }</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Braath Waate)]]></author>
			<pubDate>Tue, 27 Apr 2021 19:12:37 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=39376#p39376</guid>
		</item>
		<item>
			<title><![CDATA[Nginx server and PHP version]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=39375#p39375</link>
			<description><![CDATA[<p>I am serving FrontAccounting on Ubuntu on a Nginx server and I have the problem with PHP version and I don&#039;t know how to handle it, I have the following problems:</p><p>PHP v.7.0: mysqli_connect(): The server requested authentication<br />PHP v.7.4: Trying to access array offset on value of type bool En archivo : /var/www/..../admin/db/tags_db.inc en la línea80<br />PHP v.8.0: A lot of message with deprecated functions.</p><p>I set 7.4 because although the problem it is working, can you help me to know what should I do?. Thanks in advance.</p>]]></description>
			<author><![CDATA[null@example.com (lugezz)]]></author>
			<pubDate>Tue, 27 Apr 2021 18:05:06 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=39375#p39375</guid>
		</item>
	</channel>
</rss>
