Bad $modulepart name

Hi,
Somewhat new to Dolibarr, I have a linked files area that is no longer displaying files and the error I get is a bad $modulepart name. This is related to the showdocuments() function.

I am not sure where the modulepart names are stored or if they are stored for the application to reference against and decide if it is invalid or valid modulepart.

Thanks for any help

Hi,

Could you activate the Dolibarr log, reproduce the error and send us the dolibarr.log ?

I have the log running and was able to get the file. This forum is telling me that new users cannot upload files although.

Hi,

I have updated your trust level on the forum.
Alternatively, Could you use https://pastebin.com/ ?

Thanks Ksar.

Attached is the log.
dolibarr.log (61.9 KB)

Hi,

I do not see any error in the log.
Could you re-do the error and then send the log ?

I have managed to solve the problem as a temporary solution.

In the root->core->class->html.formfile.class.php file there is a multitude of if/else statements for different modules.
I have made an extra one that accommodates for our module.
An option for us moving forward may be to have the showdocuments() function have the option to search for modules in the custom folder also and then perform its usual function from there.

I would love to know if the system is supposed to function this way by default, but it seems it is not the case.