<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[missing main.inc.php in &#x2F;app&#x2F;data&#x2F; and how to solve the error]]></title><description><![CDATA[<p dir="auto">A few modules for dolibarr need the main.inc.php in ../../../ from their installation directory (like <em>customizeforms</em> installed in <code>/app/data/custom/customizeforms/admin</code>).</p>
<p dir="auto">The error in the log is something like:<br />
<code>[php7:error] [pid 149] [client 172.18.0.1:42180] PHP Fatal error: Uncaught Error: Call to undefined function restrictedArea() in /app/data/custom/customizeforms/list.php:32\nStack trace:\n#0 {main}\n thrown in /app/data/custom/customizeforms/list.php on line 32</code></p>
<p dir="auto">The solution is to set a symbolic link:<br />
<code>/app/data# ln -s /app/code/htdocs/main.inc.php main.inc.php</code></p>
<p dir="auto">Maybe it's a good idea to add the symbolic link to the app package!?</p>
]]></description><link>https://forum.cloudron.io/topic/5119/missing-main-inc-php-in-app-data-and-how-to-solve-the-error</link><generator>RSS for Node</generator><lastBuildDate>Mon, 20 Apr 2026 15:57:01 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/5119.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 24 May 2021 13:09:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to missing main.inc.php in &#x2F;app&#x2F;data&#x2F; and how to solve the error on Tue, 25 May 2021 03:19:48 GMT]]></title><description><![CDATA[<p dir="auto">Per <a href="https://www.dolistore.com/en/modules/1133-CustomizeForms.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.dolistore.com/en/modules/1133-CustomizeForms.html</a>, we have to email <a href="mailto:paulorcdo@gmail.com" target="_blank" rel="noopener noreferrer nofollow ugc">paulorcdo@gmail.com</a> . <a class="plugin-mentions-user plugin-mentions-a" href="/user/luckow" aria-label="Profile: luckow">@<bdi>luckow</bdi></a> can you check with them ?</p>
]]></description><link>https://forum.cloudron.io/post/31836</link><guid isPermaLink="true">https://forum.cloudron.io/post/31836</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Tue, 25 May 2021 03:19:48 GMT</pubDate></item><item><title><![CDATA[Reply to missing main.inc.php in &#x2F;app&#x2F;data&#x2F; and how to solve the error on Tue, 25 May 2021 03:19:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/luckow" aria-label="Profile: luckow">@<bdi>luckow</bdi></a> thanks for reporting the problem and the fix.</p>
<p dir="auto">I wonder if this a module bug though? Is the author of customizeforms reachable in some way?</p>
]]></description><link>https://forum.cloudron.io/post/31835</link><guid isPermaLink="true">https://forum.cloudron.io/post/31835</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Tue, 25 May 2021 03:19:02 GMT</pubDate></item></channel></rss>