From: Pierre-Alain J. <pa...@pe...> - 2003-02-11 01:21:41
|
Hello, New to this list and new user of phpwebsite, I'm starting an evaluation of CMS available for php. One of your developer (sorry, I do not find back his name) discussed about phpwebsite on pear ML and that sounds like something cool for me, so here I am :). Before I run to far in fixes in the setup script, have you successfully tested the current RC4 with error_reporting(E_ALL) and register_globals Off ? I got a lot of errors due to these two settings. Most of errors can be solved by a safe (isset($myvar) && $myvar==123) or even initialize a default value for each variable. A second error is the wrong way to check if a DB::connect successed or not, instead of checking the message ($db->message), there is a DB:isError($db): if(DB::isError($db)){ echo 'foobar '.$db->message; } I would like to continue my tests but I actually do not have a lot of times to debug/fixes others things then the setup itself. If the application itself works well with the above settings, I can try to fix the setup scripts. Otherwise, I like to see an application using PEAR, so I will try anyway to fix it later :), if that helps. Thank's for your great job, pierre |