Results 1 to 4 of 4

Thread: Fatal error: Class 'stemplate' not found in

  1. #1
    Join Date
    Mar 2008
    Posts
    4

    Default Fatal error: Class 'stemplate' not found in

    I installed and when I click on http://mysite.com/admin/ as well as http://mysite.com/login.php I get the error listed below.

    Fatal error: Class 'stemplate' not found in /home/mysite/public_html/admin/index.php on line 51

    I see through other forms postings that it deals with Path in include/config.php is not correct.

    But what path and what how do i to fix it, below is what was in the config.php file I have removed the db info as was told in
    in the other forms.

    Any help please would be appricated thank you.

  2. #2
    Join Date
    Aug 2007
    Location
    India
    Posts
    14

    Default Re: Fatal error: Class 'stemplate' not found in

    Open include/config.php

    Find

    include("vshare.php");

    replace with

    include("/home/mysite/public_html/include/vshare.php");
    FFMPEG Hosting | Script Installation | Upgradation
    Contact : install[at]hostonnet.com

  3. #3
    Join Date
    Mar 2008
    Posts
    4

    Default Re: Fatal error: Class 'stemplate' not found in

    Thank you meblin just other quick question I forgot to add the contense of the config.php file witch is listed below
    my next question is how do i add excatlly the include("/home/mysite/public_html/include/vshare.php") below it looks like this "/include/vshare.php") how should it look like after the replacement.
    <?php

    error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING);

    session_start();

    $db_host = "";
    $db_name = "";
    $db_user = "";
    $db_pass = "";

    $language = "en";

    $config = array();
    $config['ffmpeg'] = "/usr/bin/ffmpeg";
    $config['mplayer'] = "/usr/bin/mplayer";
    $config['mencoder'] = "/usr/bin/mencoder";
    $config['flvtool'] = "/usr/bin/flvtool2";
    $config['basedir'] = "";
    $config['baseurl'] = "http://thebooktheinternetwrote.com";

    include($config['basedir'] . "/include/vshare.php");

  4. #4
    Join Date
    Aug 2007
    Location
    India
    Posts
    14

    Default Re: Fatal error: Class 'stemplate' not found in

    It seems you didn't configured the basedir path in your config.php

    Put the complete unix path to 'public_html' folder in basedir field.

    To get the unix path to public_html go through

    http://yourdomainname.com/phpinfo.php

    And search for 'SCRIPT_FILENAME' then you can see the complete unix path to the phpinfo.php

    It will be something similar to '/home/username/public_html/'

    $config['basedir'] = "/home/username/public_html/";

    And try again.

    Also the baseurl you given in the config.php file is not working for me.

    If you can provide the actual url, i can give the exact path.
    FFMPEG Hosting | Script Installation | Upgradation
    Contact : install[at]hostonnet.com

Similar Threads

  1. Fatal error: Class 'stemplate' not found
    By amiricle186 in forum Installation Support
    Replies: 1
    Last Post: 03-27-2009, 08:39 AM
  2. Fatal error: Class 'stemplate' not found in
    By seachen in forum Installation Support
    Replies: 3
    Last Post: 03-15-2008, 09:21 AM
  3. Fatal error: Undefined class name 'stemplate'
    By auriga in forum Installation Support
    Replies: 2
    Last Post: 10-06-2007, 05:25 PM
  4. Fatal error: Undefined class name 'stemplate' in /home/youth
    By harrison in forum Installation Support
    Replies: 6
    Last Post: 06-18-2007, 11:52 PM
  5. Class 'stemplate' not found...
    By Blizzmo in forum Installation Support
    Replies: 4
    Last Post: 05-21-2007, 08:20 AM

Bookmarks

Posting Permissions

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