From: Shaun M. <sh...@ae...> - 2007-09-01 09:37:45
|
On 31 Aug 2007, at 22:11, Verdon Vaillancourt wrote: > > I know the current svn version of phpws is compliant, but > unfortunately, the majority of these sites have too many > customizations, in some cases even to core, in others, here there and > everywhere in various mods like users and pagemaster and so on, to > make a full upgrade in that manner. If I have to, I will, but it > would be very, very painful ;-) > If they're useful generally we could always stick your mods into 0.11. > Is there any wisdom out there, as to what the bare minimum changes > required to get a 0.10.1 or 0.10.2 site php5 ready? Is it really that > many changes, or just a few scattered around? > There's actually very few changes needed for php5. Most of the problems are fixed by simply taking the core Item, Manager and List classes from 0.11 svn. I think that's all that will change in 0.11's core of importance. I back ported the core/Text.php parseOutput() changes from 1.x into 0.x a while back but wasn't happy with the speed of it despite the added functionality so I went looking for another parser. The PEAR BBCode parser subsequently has been picked up by someone else again and I've got that to try out. There's a new ImgLibrary too but that only affects phpwsBB and possibly Article though it's just bug fixes. Any mod that uses get_class() may have the same issues as the core Item/Manager/List classes. Just convert the returned data to lowercase before comparing. Apart from that there was probably a few $this reassigns but I think those were sorted in 0.10.2 anyway. At the back of my back burner there was a list of other changes I was trying to get in for 0.11 but "great artists ship" at some point. I'd really love to hammer the cross session contamination issues in announce, comment and pagemaster that I know of too. The other thing that would be useful from the University is to fix the daily build script which hasn't worked since December when we moved from CVS to SVN I think. I'm also wondering about MySQL 5.0 and 5.1 compatibility, particularly on Windows. IIRC the Language module with it's _EN suffix on the English language table causes issues on some file systems and versions of MySQL. > > ps. And I don't even want to talk about the dozen or so phpws 8.x > sites on the server. Those cheapos are going to have to cough up or > go somewhere else ;-) I've got one site on 0.8x still. It seems to run fine on php5 as long as you leave globals on for it. I've left them on 0.8x mostly because I stripped down the control panel in that to about four items. 0.10.x and 1.x would instantly confuse them. Shaun aegis design - http://www.aegisdesign.co.uk aegis hosting - http://www.aegishosting.co.uk |