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.
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");
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");
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.