Results 1 to 7 of 7

Thread: Fatal error: Undefined class name 'stemplate' in /home/youth

  1. #1
    Join Date
    Jun 2007
    Location
    Colorado
    Posts
    36

    Default Fatal error: Undefined class name 'stemplate' in /home/youth

    Fatal error: Undefined class name 'stemplate' in /home/youthalt/public_html/vshare/admin/index.php on line 30

    How can this be when there are only 18 lines of code? Even if I could modify this, I can't read the encrypted script in this page file.

    Anyone know what this error is referring to? Or better yet... how to fix this?

    ~Harrison
    Always look out for Number one, and be careful not to step on Number two!

  2. #2
    Join Date
    Apr 2007
    Posts
    2,202

    Default

    Can you check if your database contain tables ?

    Also post content of include/config.php after removing database login details.

  3. #3
    Join Date
    Apr 2007
    Posts
    2,202

    Default

    What is site url ?

  4. #4
    Join Date
    Jun 2007
    Location
    Colorado
    Posts
    36

    Default

    Quote Originally Posted by admin
    What is site url ?
    The site URL is http://youthalternatives.com
    The istall is at http://youthalternatives.com/vshare

    PS. I did not make the site. I've only been commissioned to rebuild it. The backend is quite messy. :(
    Always look out for Number one, and be careful not to step on Number two!

  5. #5
    Join Date
    Jun 2007
    Location
    Colorado
    Posts
    36

    Default

    Quote Originally Posted by admin
    Can you check if your database contain tables ?

    Also post content of include/config.php after removing database login details.
    No database tables that I'm aware of. In fact, I removed all databases and related db related utilities on the server prior to installing vshare.

    There still remains the FrontPage components though... Do you think it might be a Frontpage conflict?
    Always look out for Number one, and be careful not to step on Number two!

  6. #6
    Join Date
    Jun 2007
    Location
    Colorado
    Posts
    36

    Default include/config.php content

    Quote Originally Posted by admin
    Can you check if your database contain tables ?

    Also post content of include/config.php after removing database login details.
    This is the config.php script:
    Code:
    <?
    
    error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING);
    
    session_start();
    
    $db_host     = "localhost";
    
    $db_name     = "youthalt_video";
    
    $db_user     = "youthalt_sharing";
    
    $db_pass     = "iscgmtrb";
    
    $config = array();
    
    $config['ffmpeg']          =  "/usr/local/bin/ffmpeg";
    
    $config['mplayer']          =  "/usr/bin/mplayer";
    
    $config['mencoder']          =  "/usr/bin/mencoder";
    
    $config['flvtool']          =  "/usr/bin/flvtool2";
    
    $config['basedir']        =  "";
    
    $config['baseurl']        =  "http://www.youthalternatives.com/vshare";
    
    include($config['basedir'] . "/include/vshare.php");
    Always look out for Number one, and be careful not to step on Number two!

  7. #7
    Join Date
    Apr 2007
    Posts
    2,202

    Default

    $config['basedir'] = "";
    Why this is blank ?

    It should be the path to your script. On your server, it should be


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

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'...."
    By livio in forum Installation Support
    Replies: 2
    Last Post: 07-16-2008, 04:45 AM
  3. Fatal error: Class 'stemplate' not found in
    By seachen in forum Installation Support
    Replies: 3
    Last Post: 03-15-2008, 09:21 AM
  4. Fatal error: Class 'stemplate' not found in
    By liverpool in forum Installation Support
    Replies: 3
    Last Post: 03-10-2008, 07:28 AM
  5. Fatal error: Undefined class name 'stemplate'
    By auriga in forum Installation Support
    Replies: 2
    Last Post: 10-06-2007, 05:25 PM

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
  •