Hi Muthu, Register or admit a patient? ;-)
Please take look on revision 6812. I found that dongling else as well this afternoon and just moved it to a status that the message what you describe here will be shown (before that it fall into script error that smarty class is not assigned... worse). Why that is now happen always with the first patient seems a side effect of previous changes on this file. The 2nd run works always. So something happen in the last week with that file. But anyhow.. maybe it is the 12th hour sitting here on this place or I am getting old, I do not know. But so far I can't see the reason of that strange effect in that file. A direct call on http://localhost/care2x_26/include/care_api_classes/class_gui_person_show.php => no error. But rob...@mzungu:/var/www/care2x_26/include/care_api_classes$ grep '{' class_gui_person_show.php -R | wc -l 64 rob...@mzungu:/var/www/care2x_26/include/care_api_classes$ grep '}' class_gui_person_show.php -R | wc -l 63 => 64 open '{' and 63 closing '}' should give real issues - but it doesnt. Something strange. Maybe I need a break now. ;-) Robert Am Dienstag, den 28.09.2010, 23:41 +0530 schrieb Ap.Muthu: > SVN 6820 Fresh Install: > Create "super user" as Medical Consultant role (_a_0_all) and assign all > depts. > Login as "super user" > Create a new patient first as person: > Although data gets saved in the table with the correct PID, an error is > raised that "an invalid PID caused the data not to be saved in the > databank"! > The exact error message is: > > Invalid PID number or the data is not available from the databank! Please > report this to i...@care2x.org. Thank you. > > Second person (onwards) gets saved correctly and does not display any error. > > This error is due to execution of line 463 in file: > include/care_api_classes/class_gui_person_show.php > > Analysing the said file, we find that there are 64 opening curly braces and > only 63 closing braces. > It appears that the lines 462 to 464 are a dangling orphan "else" construct > with no parent "if". > > Regards, > Ap.Muthu > > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Care2002-developers mailing list > Care2002-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/care2002-developers -- -- -------------------------------------------- CARE2X - free Integ Hospital Info System https://sourceforge.net/projects/care2002/ http://www.care2x.org ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Care2002-developers mailing list Care2002-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/care2002-developers