Hi @all
We’re running on Dolibarr 13.0.1 on a Debian installation
Currently we’re facing the problem that it’s not possible anymore to upload a file to send together with an email.
When we want e.g. directly send the invoice generated by Dolibarr to the customer together with another PDF I can select the file which should be attached and I can click on Upload file.
I get a success message that the upload was ok, but the file is not shown or attached at all. It’s even not stored in the local file system as stated in dolibarr.log
In addition it throws an error:
Your state setup use an old syntax (entity=1). Reedit it using setup area.
in the upcoming logs I see that the file seems to be uploaded but directly deleted again ?!?
here’s the log:
2021-03-04 08:59:47 ERR 192.168.0.36 Your state setup use an old syntax (entity=1). Reedit it using setup area.
2021-03-04 08:59:47 INFO 192.168.0.36 — Access to POST /dolibarr/compta/facture/card.php - action=send, massaction= NOTOKENRENEWAL=
2021-03-04 08:59:47 INFO 192.168.0.36 functions.lib::dol_mkdir: dir=/var/lib/dolibarr/documents/users/2/temp
2021-03-04 08:59:47 INFO 192.168.0.36 files.lib.php::dol_dir_list path=/var/lib/dolibarr/documents/facture/RE2103-267 types=files recursive=0 filter= excludefilter=“(\.meta|_preview.\.png)$"
2021-03-04 08:59:47 INFO 192.168.0.36 Product::fetch id=101 ref= ref_ext=
2021-03-04 08:59:47 INFO 192.168.0.36 files.lib.php::dol_dir_list path=/var/lib/dolibarr/documents/produit/2-10-SL-FVB/ types=files recursive=0 filter= excludefilter="(\.meta|_preview.\.png)$”
2021-03-04 08:59:47 INFO 192.168.0.36 Product::fetch id=101 ref= ref_ext=
2021-03-04 08:59:47 INFO 192.168.0.36 Product::fetch id=76 ref= ref_ext=
2021-03-04 08:59:47 INFO 192.168.0.36 files.lib.php::dol_dir_list path=/var/lib/dolibarr/documents/produit/8-30/ types=files recursive=0 filter= excludefilter=“(\.meta|_preview.\.png)$"
2021-03-04 08:59:47 INFO 192.168.0.36 Product::fetch id=76 ref= ref_ext=
2021-03-04 08:59:47 INFO 192.168.0.36 files.lib.php::dol_dir_list path=/var/lib/dolibarr/documents/facture/RE2103-267 types=files recursive=0 filter=RE2103-267[^-]+ excludefilter=["(\.meta|_preview.\.png)$”,“^\.”]
2021-03-04 08:59:47 INFO 192.168.0.36 dol_delete_file file=/var/lib/dolibarr/documents/users/2/temp//Pricelist.pdf disableglob=1 nophperrors=0 nohook=0
2021-03-04 08:59:47 INFO 192.168.0.36 DolEditor::DolEditor htmlname=message width= height=280 toolbarname=dolibarr_notes
2021-03-04 08:59:47 INFO 192.168.0.36 — End access to /dolibarr/compta/facture/card.php
Is anyone else facing this problem in the latest version?
It worked in 12.x and I assume in 13.0.0 …
Best regards
Bastian