Problem with Moving Joomla Site - Joomla! Forum - community, help and support
today moved joomla site hosting. , done fine except when tried opening, got this:
i @ configuration.php, seems different when googled solution:
i tried adding $pass, still not working. used test, working good:
code: select all
database error: unable connect database:could not connect mysql
i @ configuration.php, seems different when googled solution:
code: select all
<?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 = '1';
var $feed_limit = '10';
var $feed_email = 'site';
var $secret = 'xxx';
var $gzip = '1';
var $error_reporting = '-1';
var $xmlrpc_server = '0';
var $log_path = '/logs';
var $tmp_path = '/tmp';
var $live_site = '';
var $force_ssl = '0';
var $offset = '-8';
var $caching = '0';
var $cachetime = '15';
var $cache_handler = 'file';
var $memcache_settings = array();
var $ftp_enable = '0';
var $ftp_host = 'xxx';
var $ftp_port = '21';
var $ftp_user = 'xxx';
var $ftp_pass = 'xxx';
var $ftp_root = '';
var $dbtype = 'mysql';
var $host = 'localhost';
var $user = 'xxx';
var $db = 'xxx';
var $dbprefix = 'jos_';
var $mailer = 'mail';
var $mailfrom = 'xxx';
var $fromname = 'xxx';
var $sendmail = '/usr/sbin/sendmail';
var $smtpauth = '0';
var $smtpuser = '';
var $smtppass = '';
var $smtphost = 'localhost';
var $metaauthor = '1';
var $metatitle = '1';
var $lifetime = '15';
var $session_handler = 'database';
var $password = 'xxx';
var $sitename = 'xxx';
var $metadesc = 'xxx';
var $metakeys = 'xxx';
var $offline_message = 'this site down maintenance. please check again soon.';
}
?>
i tried adding $pass, still not working. used test, working good:
code: select all
<?php
$host = 'localhost';
$user = 'looblog1_jo151';
$pass = 'jo151';
$db = 'looblog1_jo151';
//don't change below here
$conn = mysql_connect($host, $user, $pass);
mysql_select_db($db, $conn);
echo '<hr />anything above linebreak bad!';
problem solved.
var $password = 'xxx';
var $password = 'xxx';
Comments
Post a Comment