From: Reini U. <ru...@x-...> - 2005-02-19 19:44:02
|
Joel Uckelman schrieb: > Thus spake Dan Frankowski: >>I agree with David Howland that the right thing to do is to not even run >>(or produce only a page showing a warning, but no edit buttons, etc.) >>until the setting is proper. I'd start the setting with a blank or with >>"./files" or something. > > ./files won't work because the web server will generally not have write > access there. Adopting that as a solution would leave people wondering > why they can't get their wikis to load. > >>Of course, since I'm not willing to dive into the code to change it at >>this point, my voice is not as authoritative. :) However, I still figure >>it helps the project as a whole to apply pressure for the right solution. > > My understanding from looking at the configurator code is that soon this > will be a moot point, since the configurator will prompt for a database > location. (Reini is working on that, I think?) I'm working on it, but I would not rely on it. It's very experimental right now. The only requitred settings which prevent from config.ini saving is a missing ADMIN_USER + ADMIN_PASSWD. Proper DATABASE_* settings are not required in the current version. This is TBD. (to be done) Anyway, we have to fix it in the file backend, similar as to the dba backend. Joel already did that, thanks! The developers opinion in this was/is: Storing in /tmp should be no error, just a warning. The bug was that the warning is only in "dba" not in "file". > What I committed results in a warning being displayed in a red-bordered box > (for DBA, at least---I haven't been able to figure out why everything is > displayed as a notice for flat file---anyone know the answer?), which is how > it used to be, and how I thought it still was until just yesterday. It's a red warning by some javascript validators, but a lot of javascript validation is still missing from configurator.php, for example disable the submit button on any valifdation error. And the 2nd validation check after the submit POST is also missing. PS: My machine is working again almost fine. Reformatted C: I still have to chown all the old SID's to my new SID (my custom find getfacl - sed - setfacl script is working for 30 hrs right now) -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban http://phpwiki.org |