Topic: TCPDF error: Unable to create output file

After upgrading FA from ver 2.4.11 to Build 7.03.2023 to FA 2.4.15 I am now receiving the following error message when trying to print a document.

TCPDF error: Unable to create output file: ../company/0/pdf_files/YgAJ_YBzcAdEUuEZLulbtQxx.pdf

Using Ubuntu 20.04.5
MariaDB 10.3.38
PHP ver 7.4.33

Thanks in advance for your help.

Regards,  Frank Carll

Re: TCPDF error: Unable to create output file

Your FA has the company directory issue
Whether it may removed or permission revoked.

1. Check the directory found in this order
/company/0/pdf_files

2. Permission for each directory such as
Company
0
Pdf_files

If all have 755 or 775 it will be ok. If still not working try 777 to work.

Subscription service based on FA
HRM CRM POS batch Themes

Re: TCPDF error: Unable to create output file

Changing the permission of Pdf_files from 775 to 777 solved the problem.

I appreciate your suggestion.

Frank

Re: TCPDF error: Unable to create output file

This could be better resolved with file and folder ownership fixes.
Debian/Ubuntu by default uses ownership of www-data
Keeping it as 775 permissions is best.

chmod -R 775 ../company/
chown -R www-data:www-data ../company/