Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: veeresh on July 21, 2006, 07:04:46 PM
-
Hi,
i want to install care2x open source hospital information system, on sme 7.
created an ibay named care2x and extracted the care2x files to the html folder of the ibay. I get the following error when I try to install
Installer Error: Error parsing config file /home/e-smith/files/ibays/care2x/html/installer/config.php
writable_dir is not writable!
the installation works fine when i install care2x on a regular fedora install when i extract the files to /var/www/html/care2x.
can somebody point out what could be going wrong
Thanks in advance
Veeresh
-
Hej use putty and mc
then go to html of the ibay you created then
chmod 755 html
after go in html and
chmod 666 config.php
when you have finished change
chmod 444 config.php
Hope this help
Jan
-
Hi,
thanks Janm,
i have already changed the permissions of the html folder. still it does not go through.
the install.php uses the tmp directory, which also has full write permissions.
anything else to check.
Veeresh
-
Try this from server-manager in
Create, modify, or remove i-bays
Information bay name: care2x
Group: Everyone
User access via file sharing or user ftp: write=group, Read=everyone
Public access via web or anonymous ftp: Entire Internet (no password required)
Execution of dynamic content (CGI, PHP, SSI): enabled
after that
/sbin/e-smith/signal-event post-upgrade
/sbin/e-smith/signal-event reboot
Jan
-
Might be a PHP base_dir restriction, have you tried this?
#/sbin/e-smith/db accounts setprop care2x PHPBaseDir /home/e-smith/files/ibays/care2x
#signal-event ibay-modify care2x
Lloyd
-
Hi,
Thanks Janm and ldkeen,
I tried both your solutions but still get the same error.
Any other leads
Veeresh
-
Veeresh
Installer Error: Error parsing config file /home/e-smith/files/ibays/care2x/html/installer/config.php
writable_dir is not writable!
Veeresh
I think you'll have to edit /home/e-smith/files/ibays/care2x/html/installer/config.php and find out exactly where writable_dir is located. Maybe it's set to be /var/www/html/care2s/temp (or similar) when it should be /home/e-smith/files/ibays/care2x/html/temp. You could also try taking the base_dir restrictriction down even further to test if this is the problem.
#/sbin/e-smith/db accounts setprop care2x PHPBaseDir /
#signal-event ibay-modify care2x
Lloyd
-
I got this error after installation
Session Replace: Table 'care2x.care_sessions' doesn't exist
I can't figure out what i've missed.
Regards,
Mike
-
Maybe you need to go in mysql
and make care2x
ps: is it posibul you could send me the prog
then i could try to install it on a sme 7.0 final
to se the output here local
Jan
-
Hi Jan, thanks for the reply.
I have already created care2x db but i still got the problem.
By the way here is the link to the program:
http://sourceforge.net/project/showfiles.php?group_id=53886&package_id=48463&release_id=272256
Installation Procedure:
http://www.care2x.org/manuals/en_install_auto_2_1.htm
Thanks,
Mike
-
Hi,
hi maykelsoft,
I could not get any further from the above errors. can you just post how you came this far.
Thanks
Veeresh
-
After installation i got this error:
Session Replace: Table 'caredb.care_sessions' doesn't exist
There is no login screen...
Regards,
Mike
-
Hi Veeresh,
This is what I've done:
1. I created an ibay named care2x
2. I unzipped care2x soffware on that director (/home/e-smith/files/ibays/care2x/html
3. chown www:www -R /home/e-smith/files/ibays/care2x/html
4. I go to http://x.x.x.x/care2x/install/install.php
After inputting some values.... i got that error on DB. I don't figure out why? It seems that i followed the procedures well.
Regards,
Mike
-
Any news with these errors?
When I tried to re-do the installation I've now got this error:
Installer Error: Error parsing config file /home/e-smith/files/ibays/care2x/html/installer/config.php
writable_dir is not writable!
I tried this:
chmod 755 config.php --- still the same
chmod 777 config.php --- still the same
Please help.
Regards,
Mike
-
It's working now...
Version: 2.2
I followed this instructions:
1. Make sure that the server can write in the following directories and files. NOTE: In most servers, file access permission is highly restrictive. Make sure that the following directories and files are system writeable. The easiest way to do this is to CHMOD 777 the following:
/cache/barcodes/
/counter/hits/
/counter/hitcount.txt
/fotos/encounter/
/fotos/news/
/fotos/registration/
/logs/ (and all its subdirectories)
/med_depot/img/
/pharma/img/
/radiology/dicom_img/
/gui/img/logos_dept/
/gui/smarty_template/templates_c/
A safer way to change the file permissions is to use the CHOWN command. Note: this functions only in *nix/Linux servers.
For windows users, right click on the file, select "properties" and remove any write protection.
2. Use an editor and open the file "inc_init_main.php" inside the directory "/include" .
• Enter the proper host, username, and password information for your mySQL database. If your mySQL resides on the same machine and uses the same IP address as the Apache web server you can use the default settings.
The defaults are:
$dbhost = 'localhost'
$dbusername = 'httpd'
$dbpassword = '' (empty string)
Alternative defaults are:
$dbhost = 'localhost'
$dbusername = 'root'
$dbpassword = '' (empty string)
• Enter the database name. You must remember this name since you need it in creating the database in later steps.
For example: $dbname = "caredb";
• Change the following three secret keys with unique keys of your choice.
$key : The secret key for the first level script lock.
$key_2level : The secret key for the second level script lock.
$ley_login : The secret key for the third level script lock.
• Enter the domain or ip addresses and hosts information.
For the main domain, enter the domain or host name without the http:// or https:// part and without a trailing slash as value of the $main_domain variable:
For example: $main_domain = www.st-john-hospital.org ;
Note: If the web server is within a network, enter specifically the IP adresses for the hosts. Never use "localhost".
If you are running Care2x in an SSL server, make sure that the $httprotocol variable in this script is set to "https".
For example: $httprotocol='https';