Results 1 to 5 of 5

Thread: Class 'stemplate' not found...

  1. #1
    Join Date
    May 2007
    Posts
    98

    Default Class 'stemplate' not found...

    Just installed VShare and ran the install, it worked fine.
    Got my successful page and was told to visit admin to login.

    When i go to /admin/ I only get a blank page.

    My error log says:

    [client xxx.xxx.xxx.xxx] PHP Fatal error: Class 'stemplate' not found in /var/www/vhosts/mydomain.com/httpdocs/admin/index.php on line 29


    What has gone wrong ?

    [PHP 5.0.4 ? Apache/2.0.54 (Fedora) ]

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

    Default

    PHP 5.0.4 have problem with including file.

    Open include/config.php

    Find

    include("vshare.php");

    replace with

    include("/var/www/vhosts/mydomain.com/httpdocs/vshare.php");

  3. #3
    Join Date
    May 2007
    Posts
    98

    Default

    That did the trick. Thank you.

    I just added /include like this:
    include("/var/www/vhosts/mydomain.com/httpdocs/include/vshare.php");


    So i finally got to see the login page.
    It didn't take my admin details so I checked the DB tables, and there were none...

    So, I started from scratch with domain.com/install
    and ended up with no tables anyway.

    Here is the errorlog:

    Code:
    [client xxx.xxx.xxx.xxx] PHP Notice: Undefined variable: location in /var/www/vhosts/mydomain.com/httpdocs/install/database.tpl on line 5, referer: http://www.mydomain.com/install/index.php 
    
    [client xxx.xxx.xxx.xxx] PHP Fatal error: Class 'stemplate' not found in /var/www/vhosts/mydomain.com/httpdocs/admin/index.php on line 29, referer: http://www.mydomain.com/install/create_tables.php
    
    [client xxx.xxx.xxx.xxx] PHP Fatal error: Call to a member function getarray() on a non-object in /var/www/vhosts/mydomain.com/httpdocs/index.php on line 11

    is there more places for me to change ?
    I noticed create_tables.php is encrypted so i couldn't do anything there...

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

    Default

    Just import vshare.sql file in phpmyadmin.

  5. #5
    Join Date
    May 2007
    Posts
    98

    Default

    Ok, I imported the sql file manually and the DB was populated nicely.

    And it now works fine!
    Thank you for the nice support!

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

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
  •