webERP Forum

Full Version: 4.15 tcpdf\include\barcode directory does not exist
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Related to printing Work Orders, there is a call in \includes\tcpdf
\tcpdf_barcodes_2d.php to \tcpdf\include\barcodes\qrcode.php, but this directory doesn't exist. The directory is located at \tcpdf\barcodes\

The following error is generated:

Warning: require_once(/share/MD0_DATA/Web/webERP/includes/tcpdf/include/barcodes/qrcode.php): failed to open stream: No such file or directory in /share/MD0_DATA/Web/webERP/includes/tcpdf/tcpdf_barcodes_2d.php on line 283

Fatal error: require_once(): Failed opening required '/share/MD0_DATA/Web/webERP/includes/tcpdf/include/barcodes/qrcode.php' (include_path='.:/etc/config/php') in /share/MD0_DATA/Web/webERP/includes/tcpdf/tcpdf_barcodes_2d.php on line 283

but the \barcodes directory is located under the roof of the \tcpdf . So either the code needs to be updated to
Thanks for the report!

The barcodes/ directory was somehow located to the wrong directory some time ago. By the time of the 4.15 release, this was still the case.

In the next 4.15.1 release, the directory is moved to its expected location. (this was done around July 1st)
Simply moving the barcodes directory to the tcpdf/include/ sub-directory fixes this issue.
Reference URL's