Do you use or administer OpenEMR? Take the General Satisfaction Survey to help improve the product

Import Authentication Error

Situation
This is my first setup of openEMR. I am unable to complete the process of adding bulk patient records. I’ve uploaded the XML with patient records successfully by following these steps

  1. Clicked on menu Miscellaneous>New Documents
  2. From document list on the left pane, selected CCR
  3. From the right pane, i uploaded Document to category ‘CCR’
  4. Document uploaded successfully
  5. From the left pane, if you expand CCR, you get to see the uploaded xml file.
  6. Clicked on the file and it opens in a new browser window. Fatal error : Uncaught Error: XSLTProcessor::transformToXml() can only be called after a stylesheet has been imported in /home/www//ccr/display.php:57 Stack trace: #0 /home/www//ccr/display.php(57): XSLTProcessor->transformToXml(Object(DOMDocument)) #1 {main} thrown in /home/www/******/ccr/display.php on line 57
  7. Going back to the documents page, the right pane appears as shown in the screenshot. When you click the import button, you get a javascript error message “Authentication Error”.

Kindly assist in sorting out this problem.

OpenEMR Version
6.0.0

Browser:
I’m using: Edge, Chrome

Operating System
I’m using: Windows 10

Logs

Date	Event	Category	User	Certificate User	Group	Patient ID	Success	API logging	Comments
2021-02-19 12:02	security-administration-Query	Security	Tumaini_Admin		Default	0	1		Query username, fname, lname FROM users WHERE active = 1 AND ( info IS NULL OR info NOT LIKE '%Inactive%' )

2021-02-19 12:02	security-administration-Query	Security	Tumaini_Admin		Default	0	1		Query dr.pid, dr.dr_id, dr.dr_message_text,dr.dr_message_due_date,
u.fname ffname, u.mname fmname, u.lname flname FROM `dated_reminders` dr
JOIN `users` u ON dr.dr_from_ID = u.id
JOIN `dated_reminders_link` drl ON dr.dr_id = drl.dr_id
WHERE drl.to_id = ? AND dr.`message_processed` = 0
AND dr.`dr_message_due_date` < ADDDATE(NOW(), INTERVAL 30 DAY)
ORDER BY `dr_message_due_date` ASC , `message_priority` ASC LIMIT 0,5 ('1',)

2021-02-19 12:02	security-administration-Query	Security	Tumaini_Admin		Default	0	1		Query dr.pid, dr.dr_id, dr.dr_message_text,dr.dr_message_due_date,
u.fname ffname, u.mname fmname, u.lname flname FROM `dated_reminders` dr
JOIN `users` u ON dr.dr_from_ID = u.id
JOIN `dated_reminders_link` drl ON dr.dr_id = drl.dr_id
WHERE drl.to_id = ? AND dr.`message_processed` = 0
AND dr.`dr_message_due_date` < ADDDATE(NOW(), INTERVAL 30 DAY)
ORDER BY `dr_message_due_date` ASC , `message_priority` ASC LIMIT 0,5 ('1',)

2021-02-19 12:02	patient-record-Query	Patient Demographics	Tumaini_Admin		Default	0	1		Query pnotes.id, pnotes.user, pnotes.pid, pnotes.title, pnotes.date, pnotes.message_status, pnotes.activity,
IF(pnotes.pid = 0 OR pnotes.user != pnotes.pid,users.fname,patient_data.fname) as users_fname,
IF(pnotes.pid = 0 OR pnotes.user != pnotes.pid,users.lname,patient_data.lname) as users_lname,
patient_data.fname as patient_data_fname, patient_data.lname as patient_data_lname
FROM ((pnotes LEFT JOIN users ON pnotes.user = users.username)
LEFT JOIN patient_data ON pnotes.pid = patient_data.pid) WHERE pnotes.message_status != 'Done' AND pnotes.activity = 1 AND
pnotes.deleted != '1' AND pnotes.assigned_to LIKE ? ('Tumaini_Admin',)

2021-02-19 12:01	patient-record-Query	Patient Demographics	Tumaini_Admin		Default	0	1		Query pnotes.id, pnotes.user, pnotes.pid, pnotes.title, pnotes.date, pnotes.message_status, pnotes.activity,
IF(pnotes.pid = 0 OR pnotes.user != pnotes.pid,users.fname,patient_data.fname) as users_fname,
IF(pnotes.pid = 0 OR pnotes.user != pnotes.pid,users.lname,patient_data.lname) as users_lname,
patient_data.fname as patient_data_fname, patient_data.lname as patient_data_lname
FROM ((pnotes LEFT JOIN users ON pnotes.user = users.username)
LEFT JOIN patient_data ON pnotes.pid = patient_data.pid) WHERE pnotes.message_status != 'Done' AND pnotes.activity = 1 AND
pnotes.deleted != '1' AND pnotes.assigned_to LIKE ? ('Tumaini_Admin',)