Yeah , and actually once Ive finished porting ADOdb into this script, there will be almost no need at all to edit the config file- database and installation setup will be handled in setup.php (in Alpha testing at the moment, with XML schema) and the remaining configuration options will be stored in a database table.
(The advantage to XML is that once the setup script is completed, to add a new table, all we need to do is drop in table_name.xml file in "schema" folder, with no editing to config or installer required.
Much more accurate and precise, and an XML schema properly constructed will mean we only need one schema for ALL supported databases (Oracle, PostGres, MySQL, MSSQL, SyBase, etc.. whatever we can find a testing platform for it)
It lets our "customers" simply drop in, untar, set a couple folder permissions, run setup, and they're done. No more editing of config files needed. :)
I expect to have it committed to CVS sometime in the next 4 weeks (If nothing else comes up to pre-empt my free time)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
when ever I try to run setup.php I get the following errors:
Notice: Use of undefined constant DBHOST - assumed 'DBHOST' in C:\Inetpub\wwwroot\churchmouse.biz\cmweb\phpemail\include\config.php on line 15
Notice: Use of undefined constant DBUSER - assumed 'DBUSER' in C:\Inetpub\wwwroot\churchmouse.biz\cmweb\phpemail\include\config.php on line 16
Notice: Use of undefined constant DBPASSWD - assumed 'DBPASSWD' in C:\Inetpub\wwwroot\churchmouse.biz\cmweb\phpemail\include\config.php on line 17
Notice: Use of undefined constant DBNAME - assumed 'DBNAME' in C:\Inetpub\wwwroot\churchmouse.biz\cmweb\phpemail\include\config.php on line 22
Notice: Use of undefined constant FROM - assumed 'FROM' in C:\Inetpub\wwwroot\churchmouse.biz\cmweb\phpemail\include\config.php on line 37
Notice: Use of undefined constant HEADER - assumed 'HEADER' in C:\Inetpub\wwwroot\churchmouse.biz\cmweb\phpemail\include\config.php on line 42
Notice: Use of undefined constant FOOTER - assumed 'FOOTER' in C:\Inetpub\wwwroot\churchmouse.biz\cmweb\phpemail\include\config.php on line 62
Any help would be appreciated. I know my db, username and pw are correct.
Thanks
Peer
Hi,
these are warning and shouldn't stop things working, it should be fixed in cvs, by putting quotes around FOOTER etc.
Yeah , and actually once Ive finished porting ADOdb into this script, there will be almost no need at all to edit the config file- database and installation setup will be handled in setup.php (in Alpha testing at the moment, with XML schema) and the remaining configuration options will be stored in a database table.
(The advantage to XML is that once the setup script is completed, to add a new table, all we need to do is drop in table_name.xml file in "schema" folder, with no editing to config or installer required.
Much more accurate and precise, and an XML schema properly constructed will mean we only need one schema for ALL supported databases (Oracle, PostGres, MySQL, MSSQL, SyBase, etc.. whatever we can find a testing platform for it)
It lets our "customers" simply drop in, untar, set a couple folder permissions, run setup, and they're done. No more editing of config files needed. :)
I expect to have it committed to CVS sometime in the next 4 weeks (If nothing else comes up to pre-empt my free time)