I can’t seem to get custom modules to work. Can you help me?
I installed Dolibarr on my shared server, and I have all the pre-installed/ default modules working fine. But when I install a module following the standard procedures (upload the zip file to the root directory & unzip), the module doesn’t appear as an option in my Module Set-up section of Dolibarr.
I tried several modules. Plus I tried it on several versions of Dolibarr (3.8.3, 3.8, & 3.7) - each being compatible with the modules. Unfortunately, I can’t get them to appear in any installation.
How can I get new modules to work in Dolibarr? Am I missing a setting?
Any help is greatly appreciated!
Joel
P.S. This is my first post in the forum!
P.P.S. I tried to post this thread in the installation forum but it didn’t show-up. So I thought I’d give it a try here.
I tried changing dolibarr_main_document_root from ‘/home/mywebsite/public_html/dolibarr’ to ‘/home/mywebsite/public_html/dolibarr/htdocs’. This was based on a parameter I saw on the Dolibarr Wiki. This broke the site - giving warnings for missing includes.
So that’s where I’m at now. Any ideas?
Also, I’m new to Dolibarr, and not super advanced with PHP or computer programming. So any help is appreciated!
Now the I’m just running into one problem with the a module loading it’s setup/ admin page. After I activate the module and then click on the setup icon, I’m getting a page with these warnings:
[br]
[code]
Warning: require_once(/home/mywebsite/public_html/dolibarr-380/allscreens/lib/allscreens.lib.php): failed to open stream: No such file or directory in /home/mywebsite/public_html/dolibarr-380/htdocs/allscreens/admin/admin.php on line 33
Fatal error: require_once(): Failed opening required ‘/home/mywebsite/public_html/dolibarr-380/allscreens/lib/allscreens.lib.php’ (include_path=’/home/mywebsite/public_html/htdocs’) in /home/mywebsite/public_html/dolibarr-380/htdocs/allscreens/admin/admin.php on line 33[/code]
Serge at MS Mobile helped me with the problem. He’s the author of the plugin.
The problem was how Dolibarr is/was installed. I’m using Godaddy’s Installatron to install the application, and it installs all of the directories into the root Dolibarr directory. I had to simply restore the default conf.php settings - from the original installation - and then install AllScreens in the root directory.
It was confusing because all of the plugins instruct to install in the htdocs folder.
Serge was extremely helpful. The theme is beautiful too. I would go as far as to recommend that Dolibarr hire MS Mobile to design its default theme!