Older versions of phpws and php5 compatability

View: New views
4 Messages — Rating Filter:   Alert me  

Older versions of phpws and php5 compatability

by Verdon Vaillancourt-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

I have large number of phpws sites, many/most heavily customized, in  
various 0.10.x flavours. I may even have a couple of 0.9.x versions,  
but I think I have all of them up to 0.10.x. I want to start  
strategizing for getting php5 ready.

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 ;-)

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?

Thanks for any advice,
verdon

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 ;-)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Phpwebsite-developers mailing list
Phpwebsite-developers@...
https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers

Re: Older versions of phpws and php5 compatability

by Verdon Vaillancourt-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Doh! I should have been clearer, I'm talking about the svn phpws  
0.11.x. I have no intention of moving these sites to phpws 1.x,  
though my new stuff is using that. I just want the bare minimum to  
get my older 0.10.x sites php5 ready.

On 31-Aug-07, at 5:11 PM, 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 ;-)


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Phpwebsite-developers mailing list
Phpwebsite-developers@...
https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers

Re: Older versions of phpws and php5 compatability

by Matthew McNaney :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey Verdon,

> 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?

As far as I know, 0.11.0 is ready for php 5. Personally the only module I
have tinkered with is Calendar and I'm pretty sure it is ready for 5 as
well.

You may want to just run one site under 0.11.0 for a week and see if
anything pops up. I can probably help you with anything that pops up.

Matt

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Phpwebsite-developers mailing list
Phpwebsite-developers@...
https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers

Re: Older versions of phpws and php5 compatability

by Shaun Murray :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Phpwebsite-developers mailing list
Phpwebsite-developers@...
https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers