0

我是 joomla cms 的初学者,无法将 joomla 站点与我的 wamp 服务器数据库连接,每次出现此错误时我都发现...这里是服务器错误是我的配置文件,我认为我的 $log_path 错误我的站点名称:livesite 数据库名称:现场直播

<?php
class JConfig {
    var $offline = '0';
    var $editor = 'tinymce';
    var $list_limit = '20';
    var $helpurl = 'http://help.joomla.org';
    var $debug = '0';
    var $debug_lang = '0';
    var $sef = '1';
    var $sef_rewrite = '1';
    var $sef_suffix = '0';
    var $feed_limit = '10';
    var $feed_email = 'author';
    var $secret = '6UmRx1LGrZq3Hr5X';
    var $gzip = '0';
    var $error_reporting = '-1';
    var $xmlrpc_server = '0';
    var $log_path = '/wamp/www/livesite/logs';
    var $tmp_path = '/wamp/www/livesite/tmp';
    var $live_site = '';
    var $force_ssl = '0';
    var $offset = '0';
    var $caching = '0';
    var $cachetime = '15';
    var $cache_handler = 'file';
    var $memcache_settings = array();
    var $ftp_enable = '0';
    var $ftp_host = '';
    var $ftp_port = '';
    var $ftp_user = '';
    var $ftp_pass = '';
    var $ftp_root = '';
    var $dbtype = 'mysql';
    var $host = 'localhost';
    var $user = 'root';
    var $db = 'livesite';
    var $dbprefix = 'table_prefix_';
    var $mailer = 'smtp';
    var $mailfrom = 'noreply@softwaretop100.org';
    var $fromname = 'SoftwareTop100';
    var $sendmail = '/usr/sbin/sendmail';
    var $smtpauth = '0';
    var $smtpsecure = 'none';
    var $smtpport = '25';
    var $smtpuser = '';
    var $smtppass = '';
    var $smtphost = 'localhost';
    var $MetaAuthor = '1';
    var $MetaTitle = '1';
    var $lifetime = '50';
    var $session_handler = 'database';
    var $password = '';
    var $sitename = 'livesite';
    var $MetaDesc = 'Lists, research and news about the software industry, including the top list of the world’s largest software companies.';
    var $MetaKeys = 'software, top software, applications, software companies, top, news, it companies, software industry, software news, it news, software jobs, jobs, software research, information, software information, list, forum, software forum';
    var $offline_message = 'This site is down for maintenance. Please check back again soon.';
}
?>
4

1 回答 1

0

假设你的登录凭据是正确的,试试这个然后让我知道 -

var $log_path = 'C:\\wamp\\www\\livesite\\logs';
var $tmp_path = 'C:\\wamp\\www\\livesite\\tmp';
于 2013-03-17T09:08:46.140 回答