<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — [2.4.x] Systemic 'Red X' for all Extensions & Missing Menu Li]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=10697</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=10697&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in [2.4.x] Systemic 'Red X' for all Extensions & Missing Menu Li.]]></description>
		<lastBuildDate>Fri, 12 Dec 2025 00:00:46 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[[2.4.x] Systemic 'Red X' for all Extensions & Missing Menu Li]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=43797#p43797</link>
			<description><![CDATA[<p>Body:</p><p>Hello FrontAccounting Community,</p><p>I am seeking assistance with a systemic failure where all extensions show a Red X on the &quot;Install/Activate Extensions&quot; page, and more critically, active extensions (like Import Transactions) are completely missing from the main menu.</p><p>This is occurring on both a fresh XAMPP installation and a HostGator installation, pointing toward a core compatibility issue rather than a permissions failure.</p><p>Environment Details</p><p>Component&nbsp; &nbsp; Version/Status<br />FrontAccounting Version&nbsp; &nbsp; 2.4.x (Likely a standard release)<br />PHP Version (XAMPP)&nbsp; &nbsp; 7.1.1 (from the installer name)<br />Problem Status&nbsp; &nbsp; All active extensions fail to load/display.</p><p>Diagnostic Steps Completed (Problem is NOT one of these)<br />We have systematically ruled out the most common causes:</p><p>File Permissions: The required folders (modules, _cache, company/0/attachments) have been confirmed to be writable and have sufficient permissions.</p><p>Extension Activation: The file installed_extensions.php confirms the extensions are correctly marked as active (&#039;active&#039; =&gt; 1).</p><p>Core Compatibility Patch #1 (Magic Quotes): The file includes\db\connect_db.inc does NOT contain the deprecated get_magic_quotes_gpc() function, meaning this common PHP 7.x patch is not needed.</p><p>PHP Config: session.save_path is working, and resource limits (max_execution_time, memory_limit) have been significantly increased.</p><p>Short Tags: short_open_tag = On has been confirmed.</p><p>The Remaining Mystery: Fatal PHP Error<br />Since the extensions are correctly configured to load but are failing to execute (missing menu links), the script is hitting a Fatal Error during the menu-building process. Given the PHP 7.1 version, the next most probable cause is the use of the reference operator (&amp;) in a function declaration.</p><p>Could an experienced user please confirm the location of the core database wrapper file(s) that must be patched for PHP 7.1 compatibility, specifically by removing the &amp; from function definitions like function &amp;db_query(...)?</p><p>I have searched for database.inc and sql_funcs.inc and they do not exist in the expected locations in this specific FA version. If I knew the correct file name, I could apply the patch and resolve this systemic issue on both my installations.</p><p>Thank you in advance for any guidance!</p>]]></description>
			<author><![CDATA[null@example.com (brianrhunt777)]]></author>
			<pubDate>Fri, 12 Dec 2025 00:00:46 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=43797#p43797</guid>
		</item>
	</channel>
</rss>
