Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
4.15 tcpdf\include\barcode directory does not exist
11-06-2018, 04:02 AM,
#1
4.15 tcpdf\include\barcode directory does not exist
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
Reply
11-06-2018, 01:38 PM, (This post was last modified: 11-06-2018, 02:19 PM by TurboPT.)
#2
RE: 4.15 tcpdf\include\barcode directory does not exist
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)