Hi Omello, 

Thank you for your commitment. I'd be happy if our cooperation solve
this problem. I will keep using the mailing list, so other can watch the
progress and eventually join the work.

Here is what you can start with: 

1. Download care2x beta 2.1.5 from this location:
http://sourceforge.net/project/showfiles.php?group_id=53886&package_id=48463&release_id=394175

2. Download latest version of ADOdb from here:
http://sourceforge.net/project/showfiles.php?group_id=42718&package_id=34890&release_id=387862

3. Extract somewhere the care2x package. Replace /classes/adodb
directory with the one from the ADOdb package you have downloaded at
stip 2. 

4. Install this updated Care2x. You may use the new installer (ex.
http://localhost/care2x/installer/).

After installation you will face the first problem. When accessing the
home page you will see bottom left below the main menu the following
error: 

Session Replace: Table 'care2x-b215-adodb.sessions' doesn't exist

As I understand this means that the 'session' table cannot be found.
Actually there is such table, but it is called 'care_session'. I found
out that adding this line of code: 

$ADODB_SESSION_TBL = 'care_sessions';

in /include/inc_environment_global.php:101 solves this problem.

After you modify this file, login and try to create new patient. After
you click the 'Save' button you will receive the following error:

Fatal error: Call to a member function on a non-object
in 
/var/www/care2x-b215-adodb/include/care_api_classes/class_gui_person_show.php 
on line 440

The error itself is not very interesting (actually I don't know what it
means). The interesting is that the process reaches that line 440 only
if the $pid variable is not set. But it should be set in the session.
And it was set using session_register(). Here comes the incompatibility
between latest ADOdb and the current code of Care2x. 

Actually, the patient is created and stored in the DB, but cannot be
displayed right after this, because of the above error. There is similar
situation when you try to admit the patient later. 

Omello, try the above to get introduced with the problem. I hope you
have an idea what is going on and how it could be fixed. I am open for
whatever questions. 

Thank you and regards
Kaloyan


On Sat, 2006-02-18 at 12:24 -0500, Omello Joy Martin wrote:

> Hello Kaloyan Raen

> I can give you a hand on PHP programming.
> I have good knowledge of Php for any reflexibility you may forward
> any code that you would like transformed into PHP.

> THANKS 
> Omello Joy Martin




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Care2002-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/care2002-developers

Reply via email to