accessing variables within objects



Hello,

I'm using some php-classes which worked fine with php-5.0.4. Now I tried to upgrade to php-5.2.6, but the classes give a lot of errors. If I set

error_reporting(E_ALL);

I see messages like

Notice: Undefined property: FastTemplate::$main in /whereever/inc.template.php on line 293

Notice: Undefined property: current_session::$cust_id in /whereever/inc.init.php on line 117

In inc.template.php there are a lot of calls like $this->$key. In inc.init.php there are calls like $session->cust_id.

What has changed in php-5.2.x so that these calls don't work any more? What is the new, required form to use objects in a similar manner (unfortunately I have no ressources to code these classes from scratch)? Thanks.

Kind regards
Marten
.



Relevant Pages

  • Upgrading an ME based HP Pavilion to XP
    ... The HP Pavilion model in question is an HP 8766c ... loading 98 the a new Me then try upgrade to XP. ... and started from scratch with Me on and nada. ... transition disk. ...
    (microsoft.public.windowsxp.general)
  • Re: Upgrading an ME based HP Pavilion to XP
    ... more stringent hardware quality requirements. ... The HP Pavilion model in question is an HP 8766c ... loading 98 the a new Me then try upgrade to XP. ... > and started from scratch with Me on and nada. ...
    (microsoft.public.windowsxp.general)
  • Re: Question about timing of Upgrade to Win XP SP2
    ... Would it be better to install ... should I do my shortcut transfer the drive and then upgrade ... Install everything from scratch, alas. ... doubt that the Settings and Migration Wizard was set up to assimilate 98se ...
    (alt.comp.hardware.pc-homebuilt)
  • Re: Upgrading to SBSr2
    ... You should be able to build from scratch using this media set without ... consideration for SP1. ... upgrade and will not do a fresh clean install. ... know that i can re-partition my drives appropiately and reload my ...
    (microsoft.public.windows.server.sbs)
  • Re: Upgrade vs reformat
    ... I agree with Trevor that if the choice is there, starting from scratch is ... But I just did an inplace upgrade that went very well. ... Old hardware is plenty (dual xeon, ... > Current setup works but has some quirky issues that a reformat would ...
    (microsoft.public.windows.server.sbs)