I tried to solve it by checking the system settings, the folder parameters (maybe there is a parameter they don’t know that does this).
If, in the settings, in the invoice module, I try to generate a PDF with the DRAFT function, it is saved correctly in the right folder on the server as SPECIMEN.pdf
Hi there,
I’m a bit confused about the folder structure you’ve shared:
First, you haven’t specified which directory this content belongs to… perhaps it’s /documents/facture ?
If that’s the case, I don’t think there should be a payments subdirectory there…
If my above observations aren’t related to your issue, I would suggest checking the PHP error log - you might find some PDF generation errors that could explain why the document isn’t being stored.
Additionally, it might be helpful to enable Dolibarr’s native DEBUG module. Once activated in its default configuration, it will start logging information to /documents/dolibarr.log
Sincèrement, tout semble correct. C’est-à-dire, après avoir soigneusement examiné le LOG Dolibarr que vous avez partagé et sachant qu’il existe un enregistrement pour ce fichier dans la base de données… je dirais que le fichier existe bel et bien ! En fait, les lignes que vous avez montrées révèlent que le système a trouvé un fichier physique qui n’était pas reflété dans la liste des fichiers enregistrés dans la base de données… c’est la seule chose étrange, que je ne peux pas expliquer sans plus d’informations.
Vous ne pouvez toujours pas voir ce répertoire et ce fichier ? Ne serait-ce pas un problème de privilèges d’accès sur ce répertoire ? Pouvez-vous accéder à ce PDF depuis la fiche de la facture ? Et depuis l’interface du module ECM (Documents) également ?
I think Dolibarr try to create the file, but it don’t find the right route or it can’t create the folder, but I try to change also the folder permissions from: