mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
The templates view, like myobject_card.php are including the following
files:
dol_include_once('/mymodule/class/myobject.class.php');
dol_include_once('/mymodule/lib/mymodule_myobject.lib.php');
The mymodule value was replaced correctly, but the myobject value
wasn't, leading to another classfile beind included when, for instance,
creating new `myobject` objects (whatever myobject actually was, except
myobject of course), and resulting in PHP errors like:
Fatal error: Uncaught Error: Class "DemoObject" not found in
/var/www/html/custom/demobug/demoobject_card.php:105 Stack trace:
#0 {main} thrown in
/var/www/html/custom/demobug/demoobject_card.php on line 105
Fixes #24653
|
||
|---|---|---|
| .. | ||
| admin | ||
| template | ||
| index.php | ||
| README.md | ||
Module Builder
This is a module to provide embedded tools to develop your own application/features inside Dolibarr ERP CRM software. It provide tools for module developers to kickstart their project and give an hands-on sample of which features Dolibarr has to offer for module development.
If you don't need to develop your own module/application, you just don't need this.
After enabling this module, you should find features to generate or edit modules/application from menu Home - Tools - Module builder