Results 1 to 3 of 3

Thread: config.php is empty !?! after installation

  1. #1
    Join Date
    Jul 2008
    Posts
    11

    Default 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.

  2. #2

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

  3. #3
    Join Date
    Jul 2008
    Posts
    11

    Default 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

Similar Threads

  1. search string empty
    By eorozco in forum Fixed Bugs
    Replies: 3
    Last Post: 01-07-2010, 05:48 AM
  2. How to empty all videos description??
    By RAMMSTEIN in forum General Discussions
    Replies: 2
    Last Post: 11-04-2008, 03:50 PM
  3. Replies: 1
    Last Post: 03-15-2008, 05:19 AM
  4. Multi Server Config
    By pipermac in forum Feature Requests
    Replies: 2
    Last Post: 10-09-2007, 05:34 PM
  5. if I remove banner_top, an empty space take its place
    By paolo in forum Installation Support
    Replies: 5
    Last Post: 05-16-2007, 02:39 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
  •