From: Patrick T. <pa...@se...> - 2004-10-16 04:27:20
|
Matthew McNaney wrote: >There are many practices used in phpWebSite 0.9.3 that are, um, bad in >PHP5. > >One of the big ones is trying to reassign an object, likeso: > >$this = $otherContructedObject; > >I believe there are many that do it. Although we know now that it is a >poor practice, there are still some floating around. I believe Steven >Levin has a test copy working under php 5. > >Matt > >On Thu, 2004-10-14 at 23:55, Patrick Twohig wrote: > > >>I found on the site a version that's compatible with PHP5, because the >>latest stable version is not compatible with PHP5. It seems to work >>nicely, however the main page does not display at all when an anonymous >>user pulls up our site. Where in the source would be a good place to >>start looking for where the problem might be occuring? Or if anybody >>knows of a fix that already exists for this problem, I would greatly >>appreciate it. >> >>Thanks! >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by: IT Product Guide on ITManagersJournal >>Use IT products in your business? Tell us what you think of them. Give us >>Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more >>http://productguide.itmanagersjournal.com/guidepromo.tmpl >>_______________________________________________ >>Phpwebsite-developers mailing list >>Php...@li... >>https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers >> >> Yeah, a few of the modules use it. However, the basic functionality still works for the most part. As I said, the main web page only shows up when a user isn't logged in. So it just puts a page up there that says, "Welcome: Page is not available." I figured it would be worthwhile asking for a good place to start first, before I go muddling through lines and lines of PHP code. But thanks for the info, I've noticed some reassignments of $this here and there. Obviously, PHP5 rejects it. So I guess now it's time to get my hands dirty and start digging through some code. I'll go get a few cans of Mountian Dew and see what I can whip up.... |