Hi Mark,

Add this line in /
home/care2x-2.6/include/care_api_classes/class_gui_input_person.php the
error disappears.

Good luck :)

$address = $address_obj->getAllActiveCityTown();
        if ($address) // add this line
            while($addr=$address->FetchRow()){

Sylvia.

2008/10/30 Gjergj Sheldija <[EMAIL PROTECTED]>

> hi Mark,
>
> yep i know of it, but as for now i'm a bit short on time :(
> hope from some help from the community with those little bugs.
> sadly i still haven't receive any code patch for the bugs.
>
> gjergji
>
> Mark Alan wrote:
> > In the main menu clicking at "Patient" gives a fatal error:
> >
> > "Fatal error: Call to a member function FetchRow() on a non-object in
> > /home/care2x-2.6/include/care_api_classes/class_gui_input_person.php on
> > line 720"
> >
> > the 720 line reads:
> >    while($addr=$address->FetchRow()){
> >
> > Do $addr and $address exit in any circunstance?
> > Shouldn't FetchRow() be enclosed in some kind of checking function to
> > verify its limits of operation?
> >
> >
> > Care2x 2.6-svn running over an Ubuntu 8.04 server.
> >
> >
> > Regards,
> >
> > M.
> >
> > -------------------------------------------------------------------------
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> > Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the
> world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > _______________________________________________
> > Care2002-developers mailing list
> > Care2002-developers@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/care2002-developers
> >
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Care2002-developers mailing list
> Care2002-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/care2002-developers
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Care2002-developers mailing list
Care2002-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/care2002-developers

Reply via email to