missing main.inc.php in /app/data/ and how to solve the error
-
A few modules for dolibarr need the main.inc.php in ../../../ from their installation directory (like customizeforms installed in
/app/data/custom/customizeforms/admin).The error in the log is something like:
[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 32The solution is to set a symbolic link:
/app/data# ln -s /app/code/htdocs/main.inc.php main.inc.phpMaybe it's a good idea to add the symbolic link to the app package!?
-
A few modules for dolibarr need the main.inc.php in ../../../ from their installation directory (like customizeforms installed in
/app/data/custom/customizeforms/admin).The error in the log is something like:
[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 32The solution is to set a symbolic link:
/app/data# ln -s /app/code/htdocs/main.inc.php main.inc.phpMaybe it's a good idea to add the symbolic link to the app package!?
-
Per https://www.dolistore.com/en/modules/1133-CustomizeForms.html, we have to email paulorcdo@gmail.com . @luckow can you check with them ?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login