Unable to upload documents or link URL in Documents or Project tab

hi

on dolibarr 22.0.2 i cant upload any document or link any www.

in this cap, im the superadmin with every permisson enabled (but popup says i havent permission to do it):

so, i can upload documents to email attachment or upload logos to customer tabs (i assume that is not a server or PHP problem then) but neither me or any other user can upload on document/projects tab

any tip please?

thanks!

Hi @fer13 If you are not seeing anything on UI then I suggest dive into the code is the only easy option now if you have the knowledge about the Dolibarr code and also PHP for sure.

Thanks & regards

Saikat Koley

Software Developer(Dolibarr)

Call/WhatsApp : +919903256573

https://www.linkedin.com/in/saikatkoley/

maybe your Dolibarr has no write permission on the filesystem you installed Dolibarr.
on linux systems it could be www-data user/group and if the group doesn’t have permission to write files it will be not possible in Dolibarr.
But to help better more inormation would be needed.

@fer13 Check the User group permission once.

when you have ruled out that the webserver user lacks write permissions, then I’d like to see the output of your webservers log when trying to do this and pretty much only when you try to do this.

I’d also like if you could enable debug logging in Dolibarr and then send the output from dolibarr.log while trying to upload a file - and just that please

hello everyone.

thanks for your advices.

i checked permissions on my syonology and it seems to be OK

i can create propales and invoices in Dolibarr and i can upload logos to customers.

so my GED permissions for our user looks like this

and the module is only this:

do i need some additional field?

regards!

update: i check llx_user_rights and everyone has 2503 (upload document) and 2515 (administer directories) active

UPDATE FINAL SOLVED:

finally i found issue:

configuration - security - files (send files-download) , 1st option “filesize” was empty.

when i changed value to 1024 i enabled file upload as usual.

thanks everyone!!!

1 Like