|
|
Choosing A Webhost: |
Re: back-end install wizard: msg#00016cms.phpslash.devel
> >I backported Evan Hughes' install wizard for back-end to phpslash. It is Oh, it would be even better if you could just incorporate that into the setup_config.php itself a la run-parts in debian :-D say, have a directory called "post_setup", "pre_setup" or whatever, and e/a file in this directory is considered as a php script that needs to be run before and after setup respectively. That way sysadmins/webmasters can just have those scripts ready to upgrade their sites when new releases come out. Say that users diff the tables.sql file from the pass release against the new one and note the new tables they have added to their sites... etc... those directories could then be removed once the setup/upgrade is done. > >Luis - can you see if you can add your download option? Currently if it[snip] It's already fixed. They had a hicup for a few minutes. I already found and committed minor fixes. Which brings this to mind, the config-dist.ini.php and config_setup.ini.php are essentially the same file. We should be able to just move (rename) config_setup.ini.php to config-dist.ini.php for now (in CVS) and change the config_setup.php to use this file instead. That way we are not going to be doing double work every time we add a new variable to the ini file. got it. i think it creates less fuzz in the CVS rep. Just a few things to keep in mind (I have to run; I will continue later with this): 1. when there is a database already setup but there is no table in it, the script config_setup.php fails 2. if the server cannot write to the config.ini.php file, the config_setup.php fails (no error printed) 3. config_setup.php seems to be very fragile... in other words, lots of things can go wrong using $var+"string" to call a function. Especially since $var is assigned from something submitted from a browser... suggesting that it might fail if a browser mangles the strings or if users inject something... etc... i'm sure we can find a million things why this would not be wise. However, it works for now and we might change things later to improve it. 4. users have to be reminded to remove the config_setup.php file from the public site inmediately after setting the site up... if the script could remove itself it would be even better 5. if writing to the server's config.ini.php is not an option, then i will incorporate the code to push the file to the user's browser (as you suggested Joe). 6. ... i have a lot more things, but I'll try to keep them in mind... ----)(----- Luis Mondesi System Administrator LatinoMixed.com lemsx1-PkbjNfxxIARBDgjK7y7TUQ@xxxxxxxxxxxxxxxx "...The Mac does this so smoothly, it feels like an extension of your mind." - Paula Speer, MacWorld Magazine 2003-04 Public signature: http://www.latinomixed.com/lems1/public-a.asc _________________________________________________________________ MSN Search, le moteur de recherche qui pense comme vous ! http://search.msn.fr/worldwide.asp ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: How to add a module?, Joe Stewart |
|---|---|
| Next by Date: | M8 Goals, Release Criteria and TODO, Joe Stewart |
| Previous by Thread: | Re: back-end install wizard, Joe Stewart |
| Next by Thread: | Re: back-end install wizard, Joe Stewart |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |