Hi Robert,

Files from SVN 6821 and 6822 used.

The extra "{' (opening curly brace) has been traced to one present in a 
commented out statement.

The bug still remains.
The photo gets saved as 0.png / 0.gif / 0.jpg.... in 
/uploads/photos/registration folder
At that place (line 458), $buffer remains empty.
I will now check the session variable after displaying a valid first record.

Regards,
Ap.Muthu


> Hi,
>
> Am Dienstag, den 28.09.2010, 22:18 +0200 schrieb Robert Meggle:
>> Hi Muthu,
>>
>> Am Mittwoch, den 29.09.2010, 01:21 +0530 schrieb Ap.Muthu:
>> > Further investigation reveals that the value of $create_id at line 458 
>> > in
>> > the said file:
>> > include/care_api_classes/class_gui_person_show.php
>> > is empty (NULL) for the first person entry.
>> > This will make the value of $buffer empty (NULL) as well.
>> >
>> > At this point only $glob_obj->config['person_id_nr_init'] = 10000000 
>> > (the
>> > value set in the care_config_global table)
>> > $_POST Array is empty here.
>> > $_REQUEST = array(11) {
>> >   ["sid"]=>   string(32) "1fb7f38b20c27da217c4942de07dd67a"
>> >   ["lang"]=>   string(2) "en"
>> >   ["pid"]=>   string(1) "0"
>> >   ["from"]=>   string(5) "entry"
>> >   ["newdata"]=>   string(1) "1"
>> >   ["target"]=>   string(5) "entry"
>> >   ["ck_config"]=>   string(41) "CFG4ca2267d1c1a30.11511000 
>> > 1285695101.cfg"
>> >   ["ck_sid1fb7f38b20c27da217c4942de07dd67a"]=>   string(53)
>> > "T1YAAA==#QQiI030jFNwenf18ks/rphj2nQZgN+g7vmK5Am/OLNA="
>> >   ["ck_login_logged1fb7f38b20c27da217c4942de07dd67a"]=>   string(4) 
>> > "true"
>> >   ["ck_2level_sid1fb7f38b20c27da217c4942de07dd67a"]=>   string(53)
>> > "OHsAAA==#sBQKlHBTNjZy73vM+LXTHqBp80qxcgtPIsCLbNJeiR0="
>> >   ["aufnahme_user1fb7f38b20c27da217c4942de07dd67a"]=>   string(12) 
>> > "Doctor
>> > Super"
>> > }
>>
>> So I can read out here that you still have an issue by register the very
>> first patient to your system? Interesting...
>
> You're right. It had not fixed this issue. Here I was too fast in my
> conclusion ;-)
>
> Basically I would say that if the issue will not happen by next patient,
> it screams like an missed value by the first call of the class
> (session).
> This bug is repeatable: Install care2x, the first patient will not work.
> Try it again, and it is working.
>
>
> Don't you think?
>
> Robert
> -- 
> --
> --------------------------------------------
> 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
> 



------------------------------------------------------------------------------
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

Reply via email to