custom module installation in 3.3.1 version

Hi

I’ve tried installation custom modules as follow:

  1. unzip in htdocs dir
  2. create custom dir and clear comment in conf.php file for custom dir
    It is no success.

Environment: testing in windows 7pro dolibarr v 3.3.1 modules in attached files
final destination is web-server base on Linux (base dolbarr 3.3.1 has been installed with no problems.

Any suggestions, help in custom module installation will be really appreciate.

module_newsletter.zip (97.8 KB)

Sasha

Hi,

You should just take a look on Dolistore for this package !

It is stated :

Dolibarr min version: 3.0
Dolibarr max version: 3.0

So for sure it will not work with your 3.3.1

Rgds.

OK, so it is a so big difference here.
Would you let me know how to install packages for dolibarr 3.3. ++
I would really appreciate it.

Thanks for respond OK,

I have the same problem with module_NewTimeManFree-1.1.0
is should be OK for dolibarr .3.3.x so it should work with 3.3.1

Any suggestion will be appreciate, Sahsa

OK, so if the module is specified for 3.3.x it should be fine for your 3.3.1

First could you double check whether the path to your custom folder set in conf.php match with your installation. It should have 2 lines to declare the custom folders in conf.php:
$dolibarr_main_url_root_alt=‘http://…your path to custom folder…’;
$dolibarr_main_document_root_alt=’…your path to custom documents folder…’;

Then go to Setup / Modules and Other modules or Interfaces modules tab , if the module has been detected by Dolibarr so it is usually there that you’ll find the button to activate and perhaps to configure the module.

If you don’t see your module in the lists, so maybe there was a problem while copying the files…

If still not working so please give a little more details on which step fails.

Rgds

Thanks for respond.

This is local installation on Windows 7pro.

Well i populated ( fort testing purpose) custom dir to www; www/dolibarr; www/doilbarr/htdocs just to exclude location problem in this test.

location from conf.php is as follow:

"
$dolibarr_main_url_root=‘http://localhost/dolibarr’;
$dolibarr_main_document_root=‘C:/dolibarr/www/dolibarr/htdocs’;
//$dolibarr_main_url_root_alt=‘http://localhost/dolibarr/custom’;
//$dolibarr_main_document_root_alt=‘C:/dolibarr/www/dolibarr/htdocs/custom’;

$dolibarr_main_url_root_alt=‘http://localhost/dolibarr/custom’;
$dolibarr_main_document_root_alt=‘C:/dolibarr/www/dolibarr/htdocs/custom’;

"
and you can see the structure of custom dir in attachment.

it is no success so fare

Well, any suggestion will be really appreciate.
I try to test procedure before purchase more complex modules. So it it a test phase. I will move to installation on hosting web server base on Linux next.

Sasha

Hi,

Really bad luck…

I’m not used working with extra modules but I installed a new instance of 3.3.1 for test purpose and found :

. look like some modules cannot work if inside the custom folder, so you have to replace the files of your Dolibarr installation by the ones of the module, for instance with module_NewTimeManFree-1.1.0 :

… if you copy the files inside the custom folder then go to Setup / Modules you’ll get 3 error messages stating that files are found twice (once in the regular folders and once in the custom folder) so it’s not ok

… if you replace the files in your regular installation by the ones of the module so it is ok

. some other modules are working well in the custom folder, for instance http://www.dolistore.com/modules/17-NumberWords.html, if you copy the folder numberwords and its content inside your custom folder so it is ok (you’ll set the module and it’s set up in Setup/Modules/Other modules)

So it depends on the module !! if it doesn’t work inside the custom folder, so you’ll have to replace the regular files

Rgds.