Creat CCD failed


(Sally Shang) #1

Hello, everyone, I upgraded my Openemr from 4.2.0 to 5.0.0 today, it works well, but when I hit ‘generate CCD’ and ‘download’ buttons in patient’s summary---->report , I just get blank screen, the part of CCR has no problem.
And the same thing happen in Miscellaneous—>new documents, I can’t view CCD and CCR. Have anyone encountered this problem before, I don’t understand how to solve this problem, I need help, many thans!

Here is log with ‘generate CCD’ button:

[Wed Nov 01 20:48:21.371172 2017] [:error] [pid 10924:tid 1960] [client ::1:65096] PHP Warning: DOMDocument::save(C:\xampp\htdocs\openemr\ccr/generatedXml/ccrForCCD.xml): failed to open stream: No such file or directory in C:\xampp\htdocs\openemr\ccr\createCCR.php on line 220, referer: http://localhost/openemr/interface/patient_file/report/patient_report.php
[Wed Nov 01 20:48:21.652360 2017] [:error] [pid 10924:tid 1960] [client ::1:65096] PHP Fatal error: Class ‘XSLTProcessor’ not found in C:\xampp\htdocs\openemr\ccr\createCCR.php on line 228, referer: http://localhost/openemr/interface/patient_file/report/patient_report.php

Log with click “CCD” in new documents:
[Wed Nov 01 20:53:44.296776 2017] [:error] [pid 10924:tid 1956] [client ::1:65141] PHP Fatal error: Class ‘XSLTProcessor’ not found in C:\xampp\htdocs\openemr\ccr\display.php on line 65, referer: http:// localhost/openemr/controller.php?document&list&patient_id=00

(Matthew Vita) #2

Hi there.

Can you explain how you installed OpenEMR? XAMPP on Windows? Custom Linux install? Something else?

If you are technically inclined, you can solve this by trying the solutions here: however, it’s OS-specific.

EDIT: Sorry, it has been a long day. I didn’t see that “xampp” was mentioned in your logs. Please try this: - should work


Matthew Vita
OpenEMR Project Administrator

(Sally Shang) #3

Hi, MatthewVita
Thank you so much for your answer, yes, I installed OpenEMR on windows, more specifically, the OS is WIN 10. I used to use the 4.2.0 verson, and I found something interesting in new verson, so I upgraded it step by step, 4.2.0—>4.2.1---->4.2.2—>5.0.0 until 5.0.0(5), stupid…I know, then I found the problems here.
The weird thing is that another latest version OpenEMR have the same problems too, I downloaded the package on the official website and installed it several days ago, without any change, I really feel confused.

(Brady Miller) #4

Hi @Sally_Shang ,

Recommend making sure the php xsl module is on:


(Brady Miller) #5

geez, I just realized I posted the same link as @MatthewVita did above :slight_smile: Ignore my post and follow Matthew’s post above.

(Sally Shang) #6

Hi, there
Thank you so much, it works! I would have walked through many detours without your kind help. And next time I’ll search for the solution more carefully before I ask for help.:joy:Thanks again! @brady.miller @MatthewVita