[SPT/CWIS] CWIS problem
Edward Almasy
ealmasy at scout.wisc.edu
Tue May 20 13:51:55 CDT 2008
On May 20, 2008, at 12:59 PM, Zaw Aung wrote:
> I am trying to install "CWIS", but got the following error:
> Fatal error: Call to undefined function: file_put_contents() in /
> home/frontier/frontiersinecology-www/demo/cwis/installcwis.php on
> line 664
> Could you please tell me what's the problem or how I can fix it?
The problem is that file_put_contents() is only available in PHP 5 or
later. We tested the 1.5.0 release on PHP 4.1, however for reasons
unclear to me it appears that that bit of code was either reworked
after that testing, or perhaps was never exercised in a PHP 4.x
environment.
A version of installcwis.php that should work in a PHP 4.x environment
is attached below. Please copy it in in place of the file you have on
there now and give it a try.
Ed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: installcwis.php
Type: text/php
Size: 30360 bytes
Desc: not available
Url : http://www.scout.wisc.edu/pipermail/spt-cwis-users/attachments/20080520/2c922aca/attachment-0001.bin
-------------- next part --------------
---
Edward Almasy ealmasy at scout.wisc.edu
Co-Director 1210 W Dayton Street
Internet Scout Madison WI 53706
Computer Sciences Department 608-262-6606 (voice)
University of Wisconsin - Madison 608-265-9296 (fax)
More information about the SPT-CWIS-Users
mailing list