PostNuke: A Flexible Open Source Content Management System
home | forum | international support | contact us

Support Forum

Start ::  PostNuke 0.7 Support ::  XTE Support ::  Host update to PHP5 and "$this when not in object context"

Moderated by: Support Team

Bottom
Host update to PHP5 and "$this when not in object context"

  • Link to this postingPosted: 13.02.2008, 12:39
    Profile Homepage
    marcpare
    rank:
    pnFreshman pnFreshman
    registered:
     May 2004
    Status:
    offline
    last visit:
    14.02.08
    Posts:
    26
    My host has just updated to PHP5 and I get this error message "Fatal error: Using $this when not in object context in /home/parentre/public_html/pnTemp/Xanthia_compiled/PiterpanV2eng^%%51^517^51702573%%home.htm.inc on line 11"

    Any ideas on how to fix this?

    Cheers

    Marc
  • Link to this postingPosted: 13.02.2008, 13:56
    Profile Homepage
    cyber_wolf
    rank:
    pnHelper pnHelper
    registered:
     June 2002
    Status:
    offline
    last visit:
    27.04.08
    Posts:
    280
    What module were you trying to use when you got this error? PostNuke version?

    -----
    cyber_wolf
    http://www.bkbsolutions.com - My PostNuke module development site.
  • Link to this postingPosted: 13.02.2008, 17:55
    Profile Homepage
    marcpare
    rank:
    pnFreshman pnFreshman
    registered:
     May 2004
    Status:
    offline
    last visit:
    14.02.08
    Posts:
    26
    It is part of an Openstar install. It looks like it has something to do with the Xanthia theme. Some people have had the same problem, but I just can't seem to find an answer to the problem.

    My site is at:

    http://parEntreprise.com

  • Link to this postingPosted: 13.02.2008, 18:02
    Profile Homepage
    AmmoDump
    rank:
    pnProfessional pnProfessional
    registered:
     December 2003
    Status:
    offline
    last visit:
    08.05.08
    Posts:
    2635
    Dump your caches in the various pnTemp directories.

    http://parentreprise.com/...x.php?&theme=ExtraLite

    -----
    -- David Pahl -- (PostNuke Support Team)

    <div id="me" class="none" style="none" />

  • Link to this postingPosted: 14.02.2008, 02:17
    Profile Homepage
    marcpare
    rank:
    pnFreshman pnFreshman
    registered:
     May 2004
    Status:
    offline
    last visit:
    14.02.08
    Posts:
    26
    Sorry, but does this mean to literally erase all info in any or the pnTemp directories? And if so, is there any reason why this is happening now?

    Thanks for the help.

    Marc
  • Link to this postingPosted: 14.02.2008, 04:31
    Profile Homepage
    marcpare
    rank:
    pnFreshman pnFreshman
    registered:
     May 2004
    Status:
    offline
    last visit:
    14.02.08
    Posts:
    26
    I have turned the caching off on that particular theme (PiterpanV2eng) and it seemed to have solved the problem. But I would still like to know what caused this and how to fix it.

    Marc

Start ::  PostNuke 0.7 Support ::  XTE Support ::  Host update to PHP5 and "$this when not in object context"

Main Menu

Extensions Database

Documentation

Development

Login





 


 Log in Problems?
 New User? Sign Up!

Donate to PostNuke