Hello
> I also tried the installer with PHP 4. Unfortunately, it does not work
> due to an error:
>
> Fatal error: Call to undefined function: file_put_contents()
> in /var/www/care2x-php5/setup/_main.php on line 214
you could put simply this somewhere in an include file
if( !function_exists('file_put_contents') ){
function file_put_contents($filename, $content){
$fp = fopen( $filename, "w+" );
fwrite( $fp, $content );
fclose($fp);
}
}
then it will work on php4
best greetings
Kurt
>
> Greetings
> Kaloyan
>
> On Tue, 2006-10-03 at 22:08 -0700, [EMAIL PROTECTED] wrote:
>> The installer that we are using from MirrorMed is very terse, and
>> not closely coupled with the Care2x project. Kaloyan and
>> Latorilla have done a great job making it work with the project,
>> but it hit a brick wall with Win32 and PHP5. This is no fault of
>> theirs, but tearing it apart would take longer than simply coding
>> a new one.
>>
>> I borrowed the tests and interface code for the current installer
>> and began building a new one, detached from session handling
>> stuff. This new one will be just as configurable but with much
>> cleaner and more stable code.
>>
>> Please check out the setup folder in the php5_compatibility branch
>> at your convenience and give it a test run. No changes will be
>> made to the system (it's not done yet). Scroll down and seek the
>> messages, warnings, and error blocks in the global var dump to see
>> how your system measured up. The versions file in the old
>> installer is now in the setup/input folder named action_list.
>> Kaloyan, check this file out and make sure you understand what I
>> have done so far.
>>
>> I will be working more on this over the next two-three weeks, at
>> which time we should have a solid native installer.
>>
>> Have a nice day --Brian Zab
>>
>> ---------------------------------------------------------------------
>> ----
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to
>> share your
>> opinions on IT & business topics through brief surveys -- and earn
>> cash
>> http://www.techsay.com/default.php?
>> page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Care2002-developers mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/care2002-developers
>
>
> ----------------------------------------------------------------------
> ---
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to
> share your
> opinions on IT & business topics through brief surveys -- and earn
> cash
> http://www.techsay.com/default.php?
> page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Care2002-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/care2002-developers
---------------------------------------------------------
Kurt Brauchli-Haase
Department of Pathology, University of Basel, Switzerland
++41 61 265 28 28 http://ipath.ch
---------------------------------------------------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Care2002-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/care2002-developers