arnabnaha wrote on Saturday, December 19, 2015:
ok…got it…there is a new form called custom_odt. Tried to install it but gives an error -
ERROR: could not open table.sql, broken form?
P.S There is no sql table for the form in the forms folder
arnabnaha wrote on Saturday, December 19, 2015:
ok…got it…there is a new form called custom_odt. Tried to install it but gives an error -
ERROR: could not open table.sql, broken form?
P.S There is no sql table for the form in the forms folder
arnabnaha wrote on Saturday, December 19, 2015:
https://omp.openmedpractice.com/ui-demo/interface/login/login_frame.php?site=default
This demo is showing the same behaviour
juggernautsei wrote on Wednesday, December 23, 2015:
I looked at the code and the way it is looking for an encounter with the date of $today (whatever, the current date is ).
Remove these lines 47 -58 from template_fill.php
Find the current encouter if there is one.
$sql = “SELECT encounter FROM form_encounter WHERE pid = $pid AND date = ‘$today’”;
$qd = sqlQuery($sql);
auto load the current encounter from database - too many clicks
if(!empty($qd)){
$encounter = $qd[‘encounter’];
}else{
echo “Call front desk to have patient checked in.”;
die(“no encounter found for patient”);
exit;
}
If you uncomforatable with deleting lines, I have updated that file in the patch. Just download the patch again and replace that file. The demo site is now working again.