config.php is empty !?! after installation
Hello,
I have a fatal error when i want to go to my admin site or to the site : http://mysite.com/admin or http://mysite.com
The error is this one :
Fatal error: Class 'stemplate' not found in /home/admin/public_html/mysite/admin/index.php on line 51
I have seen in an other topic that i have to modify some lines and path in config.php, but when i have download and open this file with dreamweaver i see that the file is empty ! ?! How is possible ?!?
Thank you for your precious help !
Livio.
Re: config.php is empty !?! after installation
The following are config.phh file.
Add the correct details in it and uploaded to include/config.php
Code:
<?
error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING);
session_start();
$db_host = "host name";
$db_name = "DB name";
$db_user = "username";
$db_pass = "password";
$config = array();
$config['ffmpeg'] = "/usr/bin/ffmpeg";
$config['mplayer'] = "/usr/bin/mplayer";
$config['mencoder'] = "/usr/bin/mencoder";
$config['flvtool'] = "/usr/bin/flvtool2";
$config['basedir'] = "/home/cpanelusername/public_html";
$config['baseurl'] = "http://mydomain.com";
include($config['basedir'] . "/include/vshare.php");
Re: config.php is empty !?! after installation
thank you !
This problem is ok now but i can't go to my site or my admin site, there is always a fatal error.
I create immediately an other topic to explain it.
Livio