Hi Brian, I welcome your decision to rewrite the installer. It definitely has some issues and it would be better to have one developed especially for Care2x.
I did a try of your code. It works OK with PHP 5. I like the structure of the installation steps. While you are thinking about the design can you consider upgrade options? For example, if the user has an already installed Care2x 2.2, he would want to upgrade to Care2x 2.3 than making new installation. 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 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 > Care2002-developers@lists.sourceforge.net > 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 Care2002-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/care2002-developers