From: Adam M. <ad...@tu...> - 2003-02-11 14:59:00
|
> 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 :). That was me being annoying and posting over and over on the PEAR mailing list about the HTML Template stuff, Pierre :) > 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. I'll talk with the team here and look into fixing these types of issues. Should be more tedious than hard really. > 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 will be revisiting all the core classes when I get some time on my hands. The goal there is to 'unhook' the core classes since the current inheritence structure really has no meaning. In the process I will be checking the usage of the PEAR DB package as well as other packages relied on in the core. I have more experience now with pear and feel confident I can accomplish this with relative ease. > 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. Just an fyi to you and everyone else on the list. A new installer is on the horizon for phpwebsite. It may be finished by next release, it may not. It will be completely stand alone from phpwebsite itself so it can be released at any time, independent of the phpwebsite releases. > Thank's for your great job, Thanks for visiting our mailing list Pierre :) Adam --------------------------------------------------------------------- Adam Morton Developer - Electronic Student Services http://phpwebsite.appstate.edu Founder - Appalachian Linux Users Group http://alug.appstate.edu |