Results 1 to 3 of 3

Thread: Fatal error: Undefined class name 'stemplate'

  1. #1
    Join Date
    Oct 2007
    Posts
    4

    Default Fatal error: Undefined class name 'stemplate'

    I have uploaded, chmodded and created a database. The database is active, i followed the installation instructions and went to admin section but this message appears on the admin page.

    Fatal error: Undefined class name 'stemplate' in /home/content/c/o/d/codeapple/html/admin/index.php on line 51

    And this message appears on the homepage:

    ERROR: Unable to execute query

    SELECT * FROM poll_question WHERE start_date<='2007-10-06' AND end_date>='2007-10-06' ORDER BY rand() limit 1
    Can't connect to local MySQL server through socket '/usr/local/mysql-5.0/data/mysql.sock' (2)



    although the install guide said that the installation was successful i had to manually enter the MySQL tables into the database.

    Can somebody help me out?

    Thanks.

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

    Default Re: Fatal error: Undefined class name 'stemplate'

    Code:
    Fatal error: Undefined class name 'stemplate' in /home/content/c/o/d/codeapple/html/admin/index.php on line 51
    This error id due to wrong path in include/config.php

    Post content of include/config.php after resmoving database login details.

    What is site url ?

  3. #3
    Join Date
    Oct 2007
    Posts
    4

    Default Re: Fatal error: Undefined class name 'stemplate'

    Thanks for response. I solved the problem now thanks to your help in an older thread http://forums.buyscripts.in/viewtopic.php?f=4&t=155

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' 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
  •