Activating Modules

Hello All

Your assistance please

I’ve been experimenting with Dolibarr 6.03 for a month or so Today I find that I can not activate new modules, even when deactivating a module I can not reactivate it again
It started off that I created a draft invoice and it seems like it does not save it anywhere…

Centos-7.4 PHP 7.1, Mysql 5.5.56, Virtualmin 6.02

Attila

Try to activate a module, then go into you apache error.log to check if you find something…

Yaa I did the usual scan of error logs but nothing shows up

I logged in as a user and found the following at the top of the screen - first time that I have seen it, and seems to relate to changing the or trying to change the menu profile that I was unable to do ealier today

Dolibarr has detected a technical error.
This information can be useful for diagnostic purposes (you can set option $dolibarr_main_prod to ‘1’ to remove such notices):
Date: 20171211175524
Dolibarr: 6.0.3
Level of features: 0
PHP: 7.0.10
Server: Apache/2.4.6
OS: Linux dell710.local 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 20 20:32:50 UTC 2017 x86_64
UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36

Requested URL: /htdocs/index.php?mainmenu=home
Referer: http://merlin.za.net/htdocs/index.php
Menu manager: eldy_menu.php

Message: Call of showphoto with wrong parameters modulepart=societe

I looked in the dolibarr.log file and there may be something here that may point to the bug bear I tried to activate the services and product module

2017-12-12 17:46:28 DEBUG 192.168.10.148 User::get_full_tree call to build_path_from_id_user
2017-12-12 17:46:28 DEBUG 192.168.10.148 User::build_path_from_id_user id_user=1 protection=0
2017-12-12 17:46:28 DEBUG 192.168.10.148 User::build_path_from_id_user id_user=2 protection=0
2017-12-12 17:46:28 DEBUG 192.168.10.148 User::get_full_tree dol_sort_array
2017-12-12 17:46:28 INFO 192.168.10.148 Build childid for id = 1
2017-12-12 17:46:28 INFO 192.168.10.148 Module modDeplacement not qualified
2017-12-12 17:46:28 INFO 192.168.10.148 Module modDocumentGeneration not qualified
2017-12-12 17:46:28 INFO 192.168.10.148 Module modDynamicPrices not qualified
2017-12-12 17:46:28 DEBUG 192.168.10.148 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM llx_c_type_contact as tc WHERE tc.element=‘commande’ AND tc.source=‘external’ ORDER BY position ASC, code
2017-12-12 17:46:28 DEBUG 192.168.10.148 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM llx_c_type_contact as tc WHERE tc.element=‘commande’ AND tc.source=‘external’ ORDER BY position ASC, code
2017-12-12 17:46:28 DEBUG 192.168.10.148 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llx_extrafields WHERE elementtype = ‘expedition’ AND type != ‘separate’ AND entity IN (0, 1)
2017-12-12 17:46:28 DEBUG 192.168.10.148 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llx_extrafields WHERE elementtype = ‘expeditiondet’ AND type != ‘separate’ AND entity IN (0, 1)
2017-12-12 17:46:28 DEBUG 192.168.10.148 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llx_extrafields WHERE elementtype = ‘facture’ AND type != ‘separate’ AND entity IN (0, 1)
2017-12-12 17:46:28 DEBUG 192.168.10.148 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llx_extrafields WHERE elementtype = ‘facturedet’ AND type != ‘separate’ AND entity IN (0, 1)
2017-12-12 17:46:28 DEBUG 192.168.10.148 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llx_extrafields WHERE elementtype = ‘product’ AND type != ‘separate’ AND entity IN (0, 1)
2017-12-12 17:46:28 DEBUG 192.168.10.148 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llx_extrafields WHERE elementtype = ‘facture’ AND type != ‘separate’ AND entity IN (0, 1)
2017-12-12 17:46:28 DEBUG 192.168.10.148 sql=SELECT name, label, type, param FROM llx_extrafields WHERE elementtype = ‘facture_fourn’
2017-12-12 17:46:28 DEBUG 192.168.10.148 sql=SELECT name, label, type, param FROM llx_extrafields WHERE elementtype = ‘facture_fourn_det’
2017-12-12 17:46:28 DEBUG 192.168.10.148 sql=SELECT name, label, type, param FROM llx_extrafields WHERE elementtype = ‘facture_fourn’
2017-12-12 17:46:28 DEBUG 192.168.10.148 sql=SELECT name, label, type, param FROM llx_extrafields WHERE elementtype = ‘commande_fournisseur’
2017-12-12 17:46:28 DEBUG 192.168.10.148 sql=SELECT name, label, type, param FROM llx_extrafields WHERE elementtype = ‘commande_fournisseurdet’
2017-12-12 17:46:28 INFO 192.168.10.148 Module modHRM not qualified
2017-12-12 17:46:28 INFO 192.168.10.148 Module modLabel not qualified
2017-12-12 17:46:28 INFO 192.168.10.148 Module modModuleBuilder not qualified
2017-12-12 17:46:28 DEBUG 192.168.10.148 useNPR
2017-12-12 17:46:28 DEBUG 192.168.10.148 sql=SELECT t.rowid FROM llx_c_tva as t, llx_c_country as c WHERE t.fk_pays = c.rowid AND c.code = ‘ZA’ AND t.active = 1 AND t.recuperableonly = 1
2017-12-12 17:46:28 DEBUG 192.168.10.148 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llx_extrafields WHERE elementtype = ‘product’ AND type != ‘separate’ AND entity IN (0, 1)
2017-12-12 17:46:28 DEBUG 192.168.10.148 useNPR
2017-12-12 17:46:28 DEBUG 192.168.10.148 sql=SELECT t.rowid FROM llx_c_tva as t, llx_c_country as c WHERE t.fk_pays = c.rowid AND c.code = ‘ZA’ AND t.active = 1 AND t.recuperableonly = 1
2017-12-12 17:46:28 DEBUG 192.168.10.148 sql=SELECT name, label, fieldrequired FROM llx_extrafields WHERE elementtype = ‘product’ AND entity IN (0, 1)
2017-12-12 17:46:28 DEBUG 192.168.10.148 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llx_extrafields WHERE elementtype = ‘projet’ AND type != ‘separate’ AND entity IN (0, 1)
2017-12-12 17:46:28 DEBUG 192.168.10.148 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llx_extrafields WHERE elementtype = ‘projet_task’ AND type != ‘separate’ AND entity IN (0, 1)
2017-12-12 17:46:28 DEBUG 192.168.10.148 sql=SELECT name, label, fieldrequired FROM llx_extrafields WHERE elementtype = ‘projet_task’ AND entity = 1
2017-12-12 17:46:28 DEBUG 192.168.10.148 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llx_extrafields WHERE elementtype = ‘propal’ AND type != ‘separate’ AND entity IN (0, 1)
2017-12-12 17:46:28 DEBUG 192.168.10.148 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llx_extrafields WHERE elementtype = ‘propaldet’ AND type != ‘separate’ AND entity IN (0, 1)
2017-12-12 17:46:28 DEBUG 192.168.10.148 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llx_extrafields WHERE elementtype = ‘product’ AND type != ‘separate’ AND entity IN (0, 1)
2017-12-12 17:46:28 INFO 192.168.10.148 Module modReceiptPrinter not qualified
2017-12-12 17:46:28 DEBUG 192.168.10.148 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llx_extrafields WHERE elementtype = ‘resource’ AND type != ‘separate’ AND entity IN (0, 1)
2017-12-12 17:46:28 DEBUG 192.168.10.148 sql=SELECT name, label, fieldrequired FROM llx_extrafields WHERE elementtype = ‘resource’ AND entity = 1
2017-12-12 17:46:28 DEBUG 192.168.10.148 sql=SELECT name, label, type FROM llx_extrafields WHERE elementtype = ‘product’
2017-12-12 17:46:28 DEBUG 192.168.10.148 sql=SELECT name, label, fieldrequired FROM llx_extrafields WHERE elementtype = ‘product’ AND entity = 1
2017-12-12 17:46:28 DEBUG 192.168.10.148 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llx_extrafields WHERE elementtype = ‘societe’ AND type != ‘separate’ AND entity IN (0, 1)
2017-12-12 17:46:28 DEBUG 192.168.10.148 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llx_extrafields WHERE elementtype = ‘socpeople’ AND type != ‘separate’ AND entity IN (0, 1)
2017-12-12 17:46:28 DEBUG 192.168.10.148 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llx_extrafields WHERE elementtype = ‘societe’ AND type != ‘separate’ AND entity IN (0, 1)
2017-12-12 17:46:28 DEBUG 192.168.10.148 sql=SELECT name, label, fieldrequired FROM llx_extrafields WHERE elementtype = ‘societe’ AND entity = 1
2017-12-12 17:46:28 DEBUG 192.168.10.148 sql=SELECT name, label, fieldrequired FROM llx_extrafields WHERE elementtype = ‘socpeople’ AND entity = 1
2017-12-12 17:46:28 DEBUG 192.168.10.148 sql=SELECT name, label, fieldrequired FROM llx_extrafields WHERE elementtype = ‘user’ AND entity = 1
2017-12-12 17:46:28 INFO 192.168.10.148 Module modVariants not qualified
2017-12-12 17:46:28 INFO 192.168.10.148 Module modWebServicesClient not qualified
2017-12-12 17:46:28 INFO 192.168.10.148 Module modWebsites not qualified

2017-12-12 17:46:28 DEBUG 192.168.10.148 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llx_extrafields WHERE elementtype = ‘adherent’ AND type != ‘separate’ AND entity IN (0, 1)
2017-12-12 17:46:28 DEBUG 192.168.10.148 sql=SELECT name, label, fieldrequired FROM llx_extrafields WHERE elementtype = ‘adherent’ AND entity = 1
2017-12-12 17:46:28 DEBUG 192.168.10.148 sql=SELECT code, label, description FROM llx_c_action_trigger ORDER by rang
2017-12-12 17:46:28 INFO 192.168.10.148 — End access to /htdocs/admin/modules.php

regards
Attila

PS I forgot to mention that I downloaded the WAMP version and restored the database … and it did the same thing

up bubble