Hello, The problem is that care2x files are owned by the root user. Apache needs ownership of the files in order to have write-access to them even if the permission mask is 777. I don't know why is this, but it is a matter of fact.
I see you are running apache2. The apache2 user/group is www-data. Check the docs of your distribution to make sure this is right in your case. The simple way to change the ownership is by executing the following command in the care2x root directory: chown -R www-data:www-data * Greetings Kaloyan On Tue, 28 Feb 2006 10:07:50 +0600 "Kyaw Kyaw Oo" <[EMAIL PROTECTED]> wrote: > -rwxrwxrwx 1 root root 19 Apr 15 2001 blank.htm > -rwxrwxrwx 1 root root 770 Dec 29 2003 blank.php > drwxrwxrwx 3 root root 4096 Dec 12 11:24 cache > -rwxrwxrwx 1 root root 6233 Jul 5 2004 chklang.php > drwxrwxrwx 14 root root 4096 Dec 12 11:24 classes > -rwxrwxrwx 1 root root 1813 Nov 6 2003 cookies.php > -rwxrwxrwx 1 root root 1436 Oct 2 2004 copy_notice.txt > drwxrwxrwx 3 root root 4096 Dec 12 11:24 counter > -rwxrwxrwx 1 root root 3647 Dec 29 2003 create_admin_8753.php > drwxrwxrwx 3 root root 4096 Dec 12 11:24 css > drwxrwxrwx 3 root root 4096 Dec 12 11:24 development > drwxrwxrwx 5 root root 4096 Dec 12 11:24 docs > drwxrwxrwx 6 root root 4096 Dec 12 11:24 fotos > drwxrwxrwx 2 root root 4096 Dec 12 11:24 global_conf > drwxrwxrwx 5 root root 4096 Dec 12 11:24 gui > drwxrwxrwx 10 root root 4096 Dec 12 11:23 help > drwxrwxrwx 3 root root 4096 Jan 18 10:23 include > -rwxrwxrwx 1 root root 147 Oct 30 2003 index.htm > -rwxrwxrwx 1 root root 147 Oct 30 2003 index.html > -rwxrwxrwx 1 root root 12219 Jan 23 09:12 index.php > drwxrwxrwx 6 root root 4096 Feb 27 16:40 install > drwxrwxrwx 4 root root 4096 Dec 12 11:22 js > drwxrwxrwx 23 root root 4096 Dec 12 11:22 language > -rwxrwxrwx 1 root root 21441 Jan 10 12:07 legal_gnu_gpl.htm > -rwxrwxrwx 1 root root 21437 Apr 14 2004 license.htm > drwxrwxrwx 4 root root 4096 Dec 12 11:22 logs > drwxrwxrwx 6 root root 4096 Dec 12 11:22 main > drwxrwxrwx 3 root root 4096 Dec 12 11:22 med_depot > drwxrwxrwx 40 root root 4096 Jan 17 10:31 modules > drwxrwxrwx 2 root root 4096 Dec 12 11:21 nocctemp > drwxrwxrwx 3 root root 4096 Dec 12 11:21 pharma > -rwxrwxrwx 1 root root 23 Mar 29 2003 phpinfo.php > drwxrwxrwx 5 root root 4096 Dec 12 11:21 plugins > drwxrwxrwx 5 root root 4096 Dec 12 11:21 radiology > -rwxrwxrwx 1 root root 43 Mar 29 2003 roots.php > -rwxrwxrwx 1 root root 1397 Jul 8 2001 sublinker-static.js > drwxrwxrwx 3 root root 4096 Dec 12 11:21 userconfig > http://203.94.76.61/phpinfo.php > > Connecting to the database server... > Creating the database structure... > /mysql/auto/care_db_structure_d21_auto_my.sql > Loading ICD10 english codes... > Setting file permissions... > Could not set /cache directory for writing. Please set it manually > otherwise > Care2x cannot create cache data. > > Could not set /cache/barcodes directory for writing. Please set it > manually > otherwise Care2x cannot cache barcode images. > > Could not set /counter directory for writing. Please set it manually > otherwise Care2x cannot write hits counts. > > Could not set /counter/hitcount.txt file for writing. Please set it > manually > otherwise Care2x cannot write hits counts. > > Could not set /fotos directory for writing. Please set it manually > otherwise > you cannot upload patient's images. > > Could not set /fotos/encounter directory for writing. Please set it > manually > otherwise you cannot upload encounters' images. > > Could not set /fotos/registration directory for writing. Please set > it > manually otherwise you cannot upload encounters' images. > > Could not set /fotos/news directory for writing. Please set it > manually > otherwise you cannot upload news' images. > > Could not set /logs directory for writing. Please set it manually > otherwise > Care2x cannot log data. > > Could not set /logs/access directory for writing. Please set it > manually > otherwise Care2x cannot log access data. > > Could not set /logs/access/2006 directory for writing. Please set it > manually otherwise Care2x cannot log this year's access data. > > Could not set /logs/access_fail directory for writing. Please set it > manually otherwise Care2x cannot log failed access data. > > Could not set /logs/access_fail/2006 directory for writing. Please > set it > manually otherwise Care2x cannot log this year's failed access data. > > Could not set /pharma directory for writing. Please set it manually > otherwise Care2x cannot store uploaded pharma data. > > Could not set /pharma/img directory for writing. Please set it > manually > otherwise Care2x cannot store uploaded pharma images. > > Could not set /med_depot directory for writing. Please set it > manually > otherwise Care2x cannot store uploaded med_depot data. > > Could not set /med_depot/img directory for writing. Please set it > manually > otherwise Care2x cannot store uploaded med_depot images. > > Could not set /radiology directory for writing. Please set it > manually > otherwise Care2x cannot create cache data. > > Could not set /radiology/dicom_img directory for writing. Please set > it > manually otherwise Care2x cannot cache barcode images. > > Could not set /gui directory for writing. Please set it manually > otherwise > Care2x cannot store department logos. > > Could not set /gui/img directory for writing. Please set it manually > otherwise Care2x cannot store department logos. > > Could not set /gui/img/logos_dept directory for writing. Please set > it > manually otherwise Care2x cannot store department logos. > > Could not set ../gui/smarty_template/templates_c directory for > writing. > Please set it manually otherwise Care2x will not run properly. > *Could not write the data to file /include/inc_init_main.php. Please > check > the directory & file permissions.* > > ================================================================== > I have ever tried on Fedora Core 3. And those are the installation > problems. > For detail configuration please on that address. > http://203.94.76.61/phpinfo.php > > Urgent! > kko!@ > ==================================================== > > On 2/27/06, Edmundo Barbosa <[EMAIL PROTECTED]> wrote: > > > > Hello Elpidio, Hello Kaloyan, Hello Daniel Zilli, Hello all Health > Care > > personnal and Medical Users of Care2X > > > > I plan to install Care2X in a Hospital Maternity with 2000 > ambulatorial > > woman patients every month. I search all pediatric and > ginecological > > avalaible resources to integrated with Care2X. It´s a city hospital > with > > very poor population. It´s a voluntary work to me. > > Every touch, advises and conseils will be welcome. > > > > Thanks in advance. > > > > Edmundo Barbosa > > > > ====================================================== > > *Kaloyan Raev <[EMAIL PROTECTED]>* escreveu: > > > > Hello, > > > > Can you send the output of the "ls -l" command executed in the > care2x > > root directory? > > > > Thanks > > Kaloyan > > > > On Mon, 27 Feb 2006 17:55:47 +0600 > > "Kyaw Kyaw Oo" wrote: > > > Dear all, > > > > > > I am still using the old installer and I try to install on Fedora > > > core 3. > > > And I have some problem in installation. Here is the error. I > tried > > > to > > > change chmod 777 cache .. etc.. But it is still not working ... > > > =============================================================== > > > Setting file permissions... > > > Could not set /cache directory for writing. Please set it > manually > > > otherwise > > > Care2x cannot create cache data. > > > > > > Could not set /cache/barcodes directory for writing. Please set > it > > > manually > > > otherwise Care2x cannot cache barcode images. > > > > > > Could not set /counter directory for writing. Please set it > manually > > > otherwise Care2x cannot write hits counts. > > > =============================================================== > > > Anyone! > > > kko!@ > > > ============================================================== > > > On 2/26/06, Kaloyan Raev wrote: > > > > > > > > Hi Edmundo, > > > > > > > > Thank you for the notice about nocc. > > > > It appears that not all files of this module are available in > the > > > > CVS repository and all exports are broken since beta 2.1.1. > > > > > > > > I will fix this for the next beta. > > > > > > > > Regarding the Radiology module, please explain in details what > > > > exactly needs to be customized. > > > > > > > > Thanks and greetings > > > > Kaloyan > > > > > > > > On Sat, 2006-02-25 at 17:05 -0300, Edmundo Barbosa wrote: > > > > > Hello, > > > > > > > > > > Thank you Kalayan for your work. > > > > > The new installer run very well. > > > > > Thank you about the Care2X new features. > > > > > > > > > > I experience only the follow message in the Internet Email > botton > > > > > > > > > > Warning: main(lang/en.php): failed to open stream: No such > file > > > or > > > > > directory > > > > > in /home/unida/public_html/care2x/modules/nocc/check_lang.php > on > > > line > > > > > 33 > > > > > > > > > > Warning: main(lang/en.php): failed to open stream: No such > file > > > or > > > > > directory > > > > > in /home/unida/public_html/care2x/modules/nocc/check_lang.php > on > > > line > > > > > 33 > > > > > > > > > > Fatal error: main(): Failed opening required > > > > > 'lang/en.php' > (include_path='.:/usr/lib/php:/usr/local/lib/php') > > > > > in /home/unida/public_html/care2x/modules/nocc/check_lang.php > on > > > line > > > > > 33 > > > > > > > > > > Warning: Unknown(): Your script possibly relies on a session > > > > > side-effect which existed until PHP 4.2.3. Please be advised > that > > > the > > > > > session extension does not con sider global variables as a > source > > > of > > > > > data, unless register_globals is enabled. You can disable > this > > > > > functionality and this warning by setting > session.bug_compat_42 > > > or > > > > > session.bug_compat_warn to off, respectively. in Unknown on > line > > > 0 > > > > > > > > > > Who can give me some light about it? > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------------------------------------- > > > > > > > > > > I would like also a tip, or more, I want the steps to > customize > > > > > Radiology form with brazilian portuguese language. > > > > > > > > > > Thanks again > > > > > > > > > > Edmundo Barbosa > > > > > ========================================================== > > > > > Kaloyan Raev escreveu: > > > > > Hello, > > > > > > > > > > The installation guide of the new installer is > > > > > ready and available on the Care2x wiki: > > > > > > > > > > http://care2x.org/wiki/index.php/Installation_Guide > > > > > > > > > > The guide will be updated as the installer evolves. > > > > > > > > > > I will be happy to hear your opinion. If you have > > > > > any idea how to guide can be improved and what is > > > > > missing, don't hesitate to share them with me. > > > > > > > > > > Greetings > > > > > Kaloyan > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > This SF.Net email is sponsored by xPML, a groundbreaking > > > > > scripting language > > > > > that extends applications into w eb and mobile media. > > > Attend > > > > > the live webcast > > > > > and join the prime developer group breaking into this new > > > > > coding territory! > > > > > > > > > > > > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > > > > _______________________________________________ > > > > > Care2002-developers mailing list > > > > > [email protected] > > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/care2002-developers > > > > > > > > > > > > > > > > > > > > Edmundo Barbosa > > > > > Tel. 083 3042-4258 / 8802-1889 > > > > > > > > > > > > > > > > > > > > > > > > > > ______________________________________________________________________ > > > > > Yahoo! Acesso Grátis > > > > > Internet r ápida e grátis. Instale o discador agora! > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email is sponsored by xPML, a groundbreaking > scripting > > > > language > > > > that extends applications into web and mobile media. Attend the > > > live > > > > webcast > > > > and join the prime developer group breaking into this new > coding > > > > territory! > > > > > > > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > > > _______________________________________________ > > > > Care2002-developers mailing list > > > > [email protected] > > > > > https://lists.sourceforge.net/lists/listinfo/care2002-developers > > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > > language > > that extends appl ications into web and mobile media. Attend the > live > > webcast > > and join the prime developer group breaking into this new coding > > territory! > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > _______________________________________________ > > Care2002-developers mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/care2002-developers > > > > > > > > > > Edmundo Barbosa > > Tel. 083 3042-4258 / 8802-1889 > > > > ------------------------------ > > Yahoo! Acesso Grátis > > Internet rápida e grátis. Instale o discador > agora!<http://us.rd.yahoo.com/mail/br/tagline/homepage_set/*http://br.acesso.yahoo.com> > > > > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Care2002-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/care2002-developers

