我是joomla cms的初学者,无法用我的wamp服务器数据库连接joomla网站,我每次都发现这个错误... Serever错误 这是我的配置文件,我认为我的$ log_path是错误的 我的网站名称:livesite 数据库名称: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.';
}
?>
答案 0 :(得分:0)
假设您登录凭据是正确的,请尝试使用此信息然后告诉我 -
var $log_path = 'C:\\wamp\\www\\livesite\\logs';
var $tmp_path = 'C:\\wamp\\www\\livesite\\tmp';