[Care2002-developers] How to enable Nginx Web Server to serve PHP code/pages in Ubuntu

2008-11-03 Thread Mark Alan
The php5-cgi (until 5.2.4) package does not include a script to automatically start it in external FASTCGI Mode (Daemon mode). As there is some confusion on the Internet on how to properly set PHP script execution in the Nginx Web server, I am attaching the script that we reliably use at our U

Re: [Care2002-developers] patch part i

2008-11-03 Thread Gjergj Sheldija
ok, better :) gj. Mark Alan wrote: > Gjergj Sheldija wrote: > >> full patch follows : >> >> --- trunk/2.6/language/en/lang_en_aufnahme.php 2008/10/23 22:38:26 >> 6208 >> +++ trunk/2.6/language/en/lang_en_aufnahme.php 2008/11/03 12:05:29 >> 6209 >> @@ -409,4 +409,6 @@ >> $

Re: [Care2002-developers] patch part i

2008-11-03 Thread Mark Alan
Gjergj Sheldija wrote: > full patch follows : > > --- trunk/2.6/language/en/lang_en_aufnahme.php2008/10/23 22:38:26 > 6208 > +++ trunk/2.6/language/en/lang_en_aufnahme.php2008/11/03 12:05:29 > 6209 > @@ -409,4 +409,6 @@ > $LDOtherHospitalNr='Other Hospital Nr.'; > $LDSe

[Care2002-developers] patch part i

2008-11-03 Thread Gjergj Sheldija
full patch follows : --- trunk/2.6/language/en/lang_en_aufnahme.php 2008/10/23 22:38:26 6208 +++ trunk/2.6/language/en/lang_en_aufnahme.php 2008/11/03 12:05:29 6209 @@ -409,4 +409,6 @@ $LDOtherHospitalNr='Other Hospital Nr.'; $LDSelectOtherHospital = 'Select other hospital to change th

[Care2002-developers] patch pt II

2008-11-03 Thread Gjergj Sheldija
part of the patch --- trunk/2.6/include/care_api_classes/class_gui_input_person.php 2008/10/23 22:38:26 6208 +++ trunk/2.6/include/care_api_classes/class_gui_input_person.php 2008/11/03 12:05:29 6209 @@ -307,7 +307,6 @@ }

Re: [Care2002-developers] bug report: "Fatal error: Call to a member function FetchRow() on a non-object"

2008-11-03 Thread Gjergj Sheldija
thank you Mark, actually i'm just submitting a different way of handling the error with a nice error message :) gj. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based

Re: [Care2002-developers] bug report: "Fatal error: Call to a member function FetchRow() on a non-object"

2008-11-03 Thread Mark Alan
Gjergj Sheldija wrote: > could you please submit those code patches to me ? Code patch follows. M. --- cut here --- --- class_gui_input_person.php-orig 2008-11-02 16:47:30.0 + +++ class_gui_input_person.php 2008-11-02 16:49:21.0 + @@ -716,7 +716,8 @@

[Care2002-developers] Script to spawn php5-cgi to enable Nginx to serve PHP code/pages

2008-11-03 Thread Mark Alan
The php5-cgi (until 5.2.4) package does not include a script to automatically start it in external FASTCGI Mode (Daemon mode). As there is some confusion on the Internet on how to properly set PHP script execution in the Nginx Web server, I am attaching the script that we reliably use at mo