Re: [Care2002-developers] Care2002-developers Digest, Vol 26, Issue 1

2008-06-02 Thread coolman coolx
For Rafael:

For care2x_v2.5_RC1.zip, make sure the sql dump has the insert data. The
mysql dump didn't have the insert data as part of the dump.

Also, check that it connects to your db. If it doesn't connect, you will see
blank page. We had to fix some of the code for it to connect. The RC1 And
RC2 is quite buggy!

If you need php4, you can download xamp from www.apachefriends.org. It
enables you to switch between php4 and php5.  I run ubuntu gusty and it has
worked for me so far.

Installing the older versions, just works. You can mail me at
[EMAIL PROTECTED] if you need further assistance with the installation.

Hope this helps.

On 6/1/08, [EMAIL PROTECTED] 
[EMAIL PROTECTED] wrote:

 Send Care2002-developers mailing list submissions to
 care2002-developers@lists.sourceforge.net

 To subscribe or unsubscribe via the World Wide Web, visit
 https://lists.sourceforge.net/lists/listinfo/care2002-developers
 or, via email, send a message with subject or body 'help' to
 [EMAIL PROTECTED]

 You can reach the person managing the list at
 [EMAIL PROTECTED]

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of Care2002-developers digest...


 Today's Topics:

1. Installation problems: blank page (rafael bonifaz)
2. Re: Installation problems: (Alvaro Gutierrez)
3. Re: Integrate Care2x and DHIS (Robert Meggle)


 --

 Message: 1
 Date: Sat, 31 May 2008 18:37:17 -0500
 From: rafael bonifaz [EMAIL PROTECTED]
 Subject: [Care2002-developers] Installation problems: blank page
 To: care2002-developers@lists.sourceforge.net
 Message-ID:
 [EMAIL PROTECTED]
 Content-Type: text/plain; charset=iso-8859-1

 Hi all,

 I had try to install care2x in two GNU/Linux distributions we not success.

 The first configuration I had was CentOS5 with php4 (it wasn' t easy to get
 php4 to work on CentOS) and Postgesql as the database. After several
 attempts I succeeded with the installation, but after I want to test the
 program all I get is a blank pages. There is no error message and the logs
 say nothing to me, I activated error report in php.ini, but no important
 information available.

 So I thought maybe there was a problem with the php4 rpm I use on CentOS.
 So
 I decided to go with Debian etch that still support php4. After installing
 the software I get the exact same problem, a blank page with no info.

 So I was reading the archives of this mailing list and someone resolve this
 problem using care2x RC1 instead of RC2, so I did the same thing with no
 success. This are the files wich I had try the installation:
 care2x_d22_full.tar.gz
 care2x_v2.5_RC1.zip

 I guess this something that happened  to a lot of people before and some of
 you may have a solution. I have installed a lot of web application with
 linux, php and postges/mysql and haven' t had this problems.

 Is there a last release or just this RC?

 Here in Ecuador our president strongly supports Free (as freedom) Software
 and there is even a decrete that public institution must use Free Software.
 Minister of Health in my country is interesting in the modernistion of
 public hospitals and they want to interconnect information between
 hospitals. Care2x seems to do this, but first I need to installed to see
 how
 it really works. So please help me on this or if you can recomend me a
 similar software that is Free (freedom) Software.

 Regards,


 Rafael
 -- next part --
 An HTML attachment was scrubbed...

 --

 Message: 2
 Date: Sun, 1 Jun 2008 10:46:54 +0300
 From: Alvaro Gutierrez [EMAIL PROTECTED]
 Subject: Re: [Care2002-developers] Installation problems:
 To: care2002-developers@lists.sourceforge.net
 Message-ID:

 
 !!AAAYACkSpTGjRHRPl93TiYgKvanCgAAAELYnuJAr40pGjdMYmH4exh0BAA==@
 agc.co.ke

 Content-Type: text/plain; charset=iso-8859-1

 This message is for Rafael Bonifaz in Ecuador, related to the installation
 of CARE2X in Linux?



 Rafael:



 Actualmente estoy viviendo en Kenya en ?frica con la idea de montar un
 servidor central que pueda dar servicio a los peque?os hospitales rurales,
 reduciendo el costo de operaci?n y con un costo que no afecte los pobres
 presupuestos de esas instituciones.



 La idea naci? con mi soporte en IT a los hospitales de misi?n y se fue
 ampliando hasta llegar a esta idea que involucra cualquier tipo de
 comunicaci?n digital, utilizando VSAT, GSM/GPRS, PAket Radio (para radios
 HF
 y VHF). Ahora estoy en la fase de implementaci?n de las pruebas para
 demostrar al gobierno local y a las organizaciones que la idea es factible.



 Encontr? CARE2X y cree un grupo de desarrollo, integre un team con varias
 instituciones (donadores, proveedores de Internet y estudiantes
 universitarios) y encontr? muy cerca de ac? (en Tanzania) un grupo que ha
 desarrollado m?dulos para diferentes 

Re: [Care2002-developers] Care2002-developers Digest, Vol 26, Issue 1

2008-06-02 Thread rafael bonifaz
On Mon, Jun 2, 2008 at 2:46 AM, coolman coolx [EMAIL PROTECTED] wrote:

 For Rafael:

 For care2x_v2.5_RC1.zip, make sure the sql dump has the insert data. The
 mysql dump didn't have the insert data as part of the dump.


Thanks a lot I would check if it has the instert data for postgresql.

On RC2 I had a problem with a table on the optional Spanish packages. I
solve this using latin1 instead of utf8 on the database. I prefer utf8, but
latin1 works find at the moment.



 Also, check that it connects to your db. If it doesn't connect, you will
 see blank page. We had to fix some of the code for it to connect. The RC1
 And RC2 is quite buggy!


What version should I install for a production envioroment? RC1 and RC2 are
buggy just for the installation or in general?

I am working with rc2 at the moment. Is is connecting to the db, and I know
this because everytime I visit the blank page there is an insert made to
care_config_user table.

We start reading the code of index.php and found that we could have some
kind of debug enableing this variable:
$db-debug=1;

After that we get this info:

(postgres7): SELECT user_id FROM care_config_user WHERE
user_id='CFG48440420714b10.46405800 1212417056.cfg'
--
--
(postgres7): SELECT serial_config_data FROM care_config_user WHERE
user_id='default'
--
--
(postgres7): SELECT type, value FROM care_config_global WHERE type ILIKE
'language_%'
--
--
(postgres7): SELECT type, value FROM care_config_global WHERE type ILIKE
'gui_frame_left_nav_width'
--
--
(postgres7): SELECT type, value FROM care_config_global WHERE type ILIKE
'gui_frame_left_nav_border'
--
--
(postgres7): SELECT user_id FROM care_config_user WHERE
user_id='CFG484404207532d0.48005500 1212417056.cfg'
--
--
(postgres7): INSERT INTO care_config_user (user_id, serial_config_data,
create_time) VALUES ('CFG484404207532d0.48005500 1212417056.cfg',
'a:19:{s:4:mask;b:0;s:11:idx_bgcolor;s:7:#99ccff;s:12:idx_txtcolor;s:7:#66;s:9:idx_hover;s:7:#cc;s:9:idx_alink;s:7:#ff;s:11:top_bgcolor;s:7:#99ccff;s:12:top_txtcolor;s:7:#330066;s:12:body_bgcolor;s:7:#ff;s:13:body_txtcolor;s:7:#66;s:10:body_hover;s:7:#cc0033;s:10:body_alink;s:7:#cc;s:11:bot_bgcolor;s:7:#cc;s:12:bot_txtcolor;s:4:gray;s:5:bname;s:7:mozilla;s:8:bversion;s:3:5.0;s:2:ip;s:13:
192.168.20.23;s:3:cid;s:13:484404207532d;s:5:dhtml;i:1;s:4:lang;s:2:es;}',
'20080602093056')
--
--
(postgres7): SELECT type, value FROM care_config_global WHERE type ILIKE
'theme_control_buttons'
--
--
(postgres7): SELECT type, value FROM care_config_global WHERE type ILIKE
'theme_mascot'
--
--
(postgres7): SELECT type, value FROM care_config_global WHERE type ILIKE
'theme_common_icons'
--
--
(postgres7): SELECT type, value FROM care_config_global WHERE type ILIKE
'template_smarty'
--

I am working with postgres8 and I see that the log refer to postgres7. could
that be a problem? I can do a downgrade of the database on debian, so I
guess I would try that later.





 If you need php4, you can download xamp from www.apachefriends.org. It
 enables you to switch between php4 and php5.  I run ubuntu gusty and it has
 worked for me so far.


Thanks a lot, I solve that problem using debian instead of centos. I preffer
to use the packages of the distribution becuase keeping the distro updated
is easy and it would keep php, apache and postgres updated without any
furder work.




 Installing the older versions, just works. You can mail me at
 [EMAIL PROTECTED] if you need further assistance with the installation.


What older version exactly?

I would, thaks a lot. Is there any irc for care2x where we can chat. It
could be really helpfull for people new to care2x as me and that whant to
try this software.

Regards,

Rafael
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Care2002-developers mailing list
Care2002-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/care2002-developers


Re: [Care2002-developers] Care2002-developers Digest, Vol 26, Issue 1

2008-06-02 Thread rafael bonifaz
On Mon, Jun 2, 2008 at 2:46 AM, coolman coolx [EMAIL PROTECTED] wrote:

 For Rafael:

 For care2x_v2.5_RC1.zip, make sure the sql dump has the insert data. The
 mysql dump didn't have the insert data as part of the dump.


Thanks a lot I would check if it has the instert data for postgresql.

On RC2 I had a problem with a table on the optional Spanish packages. I
solve this using latin1 instead of utf8 on the database. I prefer utf8, but
latin1 works find at the moment.



 Also, check that it connects to your db. If it doesn't connect, you will
 see blank page. We had to fix some of the code for it to connect. The RC1
 And RC2 is quite buggy!


What version should I install for a production envioroment? RC1 and RC2 are
buggy just for the installation or in general?

I am working with rc2 at the moment. Is is connecting to the db, and I know
this because everytime I visit the blank page there is an insert made to
care_config_user table.

We start reading the code of index.php and found that we could have some
kind of debug enableing this variable:
$db-debug=1;

After that we get this info:

(postgres7): SELECT user_id FROM care_config_user WHERE
user_id='CFG48440420714b10.46405800 1212417056.cfg'
--
--
(postgres7): SELECT serial_config_data FROM care_config_user WHERE
user_id='default'
--
--
(postgres7): SELECT type, value FROM care_config_global WHERE type ILIKE
'language_%'
--
--
(postgres7): SELECT type, value FROM care_config_global WHERE type ILIKE
'gui_frame_left_nav_width'
--
--
(postgres7): SELECT type, value FROM care_config_global WHERE type ILIKE
'gui_frame_left_nav_border'
--
--
(postgres7): SELECT user_id FROM care_config_user WHERE
user_id='CFG484404207532d0.48005500 1212417056.cfg'
--
--
(postgres7): INSERT INTO care_config_user (user_id, serial_config_data,
create_time) VALUES ('CFG484404207532d0.48005500 1212417056.cfg',
'a:19:{s:4:mask;b:0;s:11:idx_bgcolor;s:7:#99ccff;s:12:idx_txtcolor;s:7:#66;s:9:idx_hover;s:7:#cc;s:9:idx_alink;s:7:#ff;s:11:top_bgcolor;s:7:#99ccff;s:12:top_txtcolor;s:7:#330066;s:12:body_bgcolor;s:7:#ff;s:13:body_txtcolor;s:7:#66;s:10:body_hover;s:7:#cc0033;s:10:body_alink;s:7:#cc;s:11:bot_bgcolor;s:7:#cc;s:12:bot_txtcolor;s:4:gray;s:5:bname;s:7:mozilla;s:8:bversion;s:3:5.0;s:2:ip;s:13:
192.168.20.23;s:3:cid;s:13:484404207532d;s:5:dhtml;i:1;s:4:lang;s:2:es;}',
'20080602093056')
--
--
(postgres7): SELECT type, value FROM care_config_global WHERE type ILIKE
'theme_control_buttons'
--
--
(postgres7): SELECT type, value FROM care_config_global WHERE type ILIKE
'theme_mascot'
--
--
(postgres7): SELECT type, value FROM care_config_global WHERE type ILIKE
'theme_common_icons'
--
--
(postgres7): SELECT type, value FROM care_config_global WHERE type ILIKE
'template_smarty'
--

I am working with postgres8 and I see that the log refer to postgres7. could
that be a problem? I can do a downgrade of the database on debian, so I
guess I would try that later.





 If you need php4, you can download xamp from www.apachefriends.org. It
 enables you to switch between php4 and php5.  I run ubuntu gusty and it has
 worked for me so far.


Thanks a lot, I solve that problem using debian instead of centos. I preffer
to use the packages of the distribution becuase keeping the distro updated
is easy and it would keep php, apache and postgres updated without any
furder work.




 Installing the older versions, just works. You can mail me at
 [EMAIL PROTECTED] if you need further assistance with the installation.


What older version exactly?

I would, thaks a lot. Is there any irc for care2x where we can chat. It
could be really helpfull for people new to care2x as me and that whant to
try this software.

Regards,

Rafael
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Care2002-developers mailing list
Care2002-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/care2002-developers