Results 1 to 3 of 3

Thread: Help with ssi.php

  1. #1
    Join Date
    Aug 2004
    Posts
    544
    Rep Power
    0

    Exclamation Help with ssi.php

    I need help formatting my ssi.php so i can display the latest post from my forum on to my home page...been getting error msgs like this:
    Fatal error: Cannot instantiate non-existent class: func in pathtoextensionssi.php on line 101
    *I changed the initial msg and added "pathtoextension" for the sake of this post

    Line 101 READS:
    $std = new FUNC;

    Any suggestions?
    Last edited by erbag; Feb 17, 2005 at 01:14 PM.
    Follow the pxJunkie:
    Twitter || Tumblr || Blogger || Buzz || Flickr

  2. #2
    Join Date
    Jul 2002
    Posts
    818
    Rep Power
    0

    Default Re: Help with ssi.php

    The class needs to be defined prior to creating an instance of it. Ensure that your class definition is located somewhere above 'line 101'.

    If you already have this I'll need to see the code for that and all included files before I can offer any help.
    -I didn't spel chek.
    The stuff I do

  3. #3
    Join Date
    Jan 2004
    Posts
    2,011
    Rep Power
    0

    Default Re: Help with ssi.php

    yeah that sound like it yes, try making an external class page and including it at the top of the ssi.php page.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •