Patient report download issue after latest patch i.e(5th patch) applied on OEMR 5.0

question

(Nilesh Hake) #1

Hi All,

I have OpenEMR 5.0 installed on Linux server and I had applied the 5th patch successfully on OpenEMR 5.0. But when trying to access patient report blank page get displayed and I had checked log below error displayed in log.

[Wed Oct 11 10:35:04.642634 2017] [:error] [pid 60335] [client 172.16.96.12:52126] PHP Warning: require_once(/html2pdf/_class/tcpdf.php): failed to open stream: No such file or directory in /var/www/openemr/library/html2pdf/html2pdf.class.php on line 13, referer: http://testserver.com/openemr/interface/patient_file/report/patient_report.php
[Wed Oct 11 10:35:04.642643 2017] [:error] [pid 60335] [client 172.16.96.12:52126] PHP Fatal error: require_once(): Failed opening required ‘/html2pdf/_class/tcpdf.php’ (include_path=’/var/www/openemr/vendor/phing/phing/classes:.:/usr/share/php:/usr/share/pear’) in /var/www/openemr/library/html2pdf/html2pdf.class.php on line 13, referer: http://testserver.com/openemr/interface/patient_file/report/patient_report.php

And the error is saying “/html2pdf/_class/tcpdf.php” file is not exist specified path but I had checked the file and file is exist on mentioned path.

Can any one tell me how can I resolve this issue?

Thanks,
Nilesh


(ViSolve) #2

@Nilesh_Hake,

I wasn’t able to reproduce the issue by applying patch 5. Could you please pen down the steps that you followed.
As you had mentioned, the file “tcpdf.php” was not available in the location you had mentioned. For me it was found in this location “library/html2pdf/vendor/tecnickcom/tcpdf/tcpdf.php”.

The file “tcpdfConfig.php” was only found in the location that you had specified. Just curious if you have moved or replaced any files manually ?

ViSolve