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

function get_header()

Discussion in 'PHP & Perl' started by drobajz, Nov 23, 2008.

  1. drobajz

    drobajz Registered Member

    Joined:
    Sep 14, 2008
    Messages:
    54
    Likes Received:
    20
    hello, ive got a problem, when i try to open some templates or layouts i.e.mimbopro or sth like that, i get this error: Fatal error: Call to undefined function get_header() in ..... on line 1...anyone alse has this problem? dont know if this is in right section, if it isnt, please dont flame me
    drobajz
     
  2. mattstrike

    mattstrike Regular Member

    Joined:
    Sep 29, 2008
    Messages:
    208
    Likes Received:
    76
    Occupation:
    Internet Marketing Arms Dealer
    Location:
    USA
    Home Page:
    This should probably be in one of the programming/design boards, but should not be in member downloads. Perhaps a mod can move it to a more appropriate area.

    That said, it sounds like you are trying to run a template all on its own, without the framework it was designed for. Most templates for things like WordPress or Joomla will include calls to functions defined in the parent application, so that sort of error message would show up if you were trying to use the template all by itself.
     
    • Thanks Thanks x 1
  3. wealthy199

    wealthy199 BANNED BANNED

    Joined:
    Sep 24, 2007
    Messages:
    585
    Likes Received:
    1,089
    C'mon man member downloads? You really could have thought about it a little harder.
     
  4. drobajz

    drobajz Registered Member

    Joined:
    Sep 14, 2008
    Messages:
    54
    Likes Received:
    20
    sorry for that...i thought there could be connetion with mimbopro posted in download section..any other idea how to fix it?