<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — PHP 8.1 onwards db_set_charset needs second parameter]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=10206</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=10206&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in PHP 8.1 onwards db_set_charset needs second parameter.]]></description>
		<lastBuildDate>Fri, 24 Feb 2023 09:56:26 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: PHP 8.1 onwards db_set_charset needs second parameter]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=42121#p42121</link>
			<description><![CDATA[<p>Ok, done. Included in 2.4.15 at Sourceforge.net.</p><p>Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Fri, 24 Feb 2023 09:56:26 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=42121#p42121</guid>
		</item>
		<item>
			<title><![CDATA[Re: PHP 8.1 onwards db_set_charset needs second parameter]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=42120#p42120</link>
			<description><![CDATA[<p>Great to see the new release from FA. We have to fix one more issue&nbsp; from the gettext.inc <strong>add_domain</strong> function generates a big list of not found domain file error for /lang/C/LC_MESSAGES/C.po.&nbsp; So we need to add one if condition there </p><div class="codebox"><pre><code>  function add_domain($domain, $path = false, $version =&#039;&#039;)
    {   
        
        if ($path === false) </code></pre></div><p>With this <br /></p><div class="codebox"><pre><code>  function add_domain($domain, $path = false, $version =&#039;&#039;)
    {   
       if($domain == &#039;C&#039;)
        return;
        
        if ($path === false) </code></pre></div><p>The if condition prevents adding log lines of missing entries.</p>]]></description>
			<author><![CDATA[null@example.com (kvvaradha)]]></author>
			<pubDate>Fri, 24 Feb 2023 09:36:41 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=42120#p42120</guid>
		</item>
		<item>
			<title><![CDATA[Re: PHP 8.1 onwards db_set_charset needs second parameter]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=42117#p42117</link>
			<description><![CDATA[<p>Thanks @kvvaradha.</p><p>We just got this included in the new minor 2.4.15 that is releasing today.</p><p>Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Fri, 24 Feb 2023 08:48:31 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=42117#p42117</guid>
		</item>
		<item>
			<title><![CDATA[PHP 8.1 onwards db_set_charset needs second parameter]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=42115#p42115</link>
			<description><![CDATA[<p>While activating an extension from php 8.1 onwards, we have an issue with </p><p>mysqli_set_charset second parameter cant be null,&nbsp; This happens from db_import function from maintenance_db.inc</p><div class="codebox"><pre><code>$encoding = null; // UI encoding for default site language is the default</code></pre></div><p>With<br /></p><div class="codebox"><pre><code>$encoding =&#039;utf8&#039;; // UI encoding for default site language is the default</code></pre></div><p>Or a valid $encoding needs to be passed here.</p>]]></description>
			<author><![CDATA[null@example.com (kvvaradha)]]></author>
			<pubDate>Fri, 24 Feb 2023 06:31:51 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=42115#p42115</guid>
		</item>
	</channel>
</rss>
