1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fatal error: Cannot re-assign $this in /home/

Discussion in 'BlackHat Lounge' started by vegasvillan, Jan 21, 2009.

  1. vegasvillan

    vegasvillan Regular Member

    Joined:
    Jan 15, 2009
    Messages:
    406
    Likes Received:
    511
    Location:
    NYC
    Im doing an OS page and I can't get into my admin

    This is the error message I get

    Fatal error: Cannot re-assign $this in /home/..../admin/includes/classes/upload.php on line 31



    I even

    changed

    $this = null;



    to this:

    unset($this);




    It still won't work...any tips???
     
  2. plunge

    plunge BANNED BANNED

    Joined:
    Dec 22, 2008
    Messages:
    162
    Likes Received:
    45
    looks like you're using a script that was written for php4 in php5. $this is reserved in php5. some older, poorly written scripts used it.