Joomla! Discussion Forums



It is currently Tue Feb 09, 2010 10:24 pm (All times are UTC )

 


Forum rules

Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: two of my sites are down
Posted: Wed Nov 18, 2009 11:40 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Mon Sep 07, 2009 8:49 pm
Posts: 13
i have a host monster account that hosts three domains i added a new domain on yesterday and created a joomla webpage now today my other two pages say "Database Error: Unable to connect to the database:Could not connect to MySQL" I have checked that all my databases are still there and i have not changed any user name or passwords that i know of unless i did when i did the orginal installation of the joomla site? I have searched and tried all things it told me to do like follow the paths and ive checked that all datebases are still there. Thank you for your help


Top
  E-mail  
 
Posted: Wed Nov 18, 2009 11:57 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Wed Nov 18, 2009 11:53 pm
Posts: 8
Check your configuration.php file.


Top
  E-mail  
 
Posted: Thu Nov 19, 2009 12:26 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Mon Sep 07, 2009 8:49 pm
Posts: 13
i did that only thing that i found weird is the config file for my stonecreekboutique website doesnt have a password and looks different.
<?php
class JConfig {
var $offline = '1';
var $editor = 'tinymce';
var $list_limit = '20';
var $helpurl = 'http://help.joomla.org';
var $debug = '0';
var $debug_lang = '0';
var $sef = '0';
var $sef_rewrite = '0';
var $sef_suffix = '0';
var $feed_limit = '10';
var $feed_email = 'author';
var $secret = '2VMF6DHnI9UA4U4h';
var $gzip = '0';
var $error_reporting = '-1';
var $xmlrpc_server = '0';
var $log_path = '/home7/cpufixed/public_html/stonecreekboutique/logs';
var $tmp_path = '/home7/cpufixed/public_html/stonecreekboutique/tmp';
var $live_site = '';
var $force_ssl = '0';
var $offset = '-5';
var $caching = '0';
var $cachetime = '15';
var $cache_handler = 'file';
var $memcache_settings = array();
var $ftp_enable = '0';
var $ftp_host = '127.0.0.1';
var $ftp_port = '21';
var $ftp_user = '';
var $ftp_pass = '';
var $ftp_root = '';
var $dbtype = 'mysql';
var $host = 'localhost';
var $user = 'cpufixed_connor';
var $db = 'cpufixed_stone';
var $dbprefix = 'jos_';
var $mailer = 'mail';
var $mailfrom = 'connor@cpufixed.com';
var $fromname = 'Stone Creek Boutique';
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 = '15';
var $session_handler = 'database';
var $password = '**********';
var $sitename = 'Stone Creek Boutique';
var $MetaDesc = 'Joomla! - the dynamic portal engine and content management system';
var $MetaKeys = 'joomla, Joomla';
var $offline_message = 'This site is down for maintenance. So go smoke one and relax it will be back shortly!';
}
?>

My other two websites cpufixed and cleveland dsm have the config file with the database, datebase username and data base password but they do not work.
/* Database Settings */
var $dbtype = 'mysql';
var $host = 'localhost';
var $user = 'cpufixed_connor';
var $password = '*********';
var $db = 'cpufixed_clevelanddsm';
var $dbprefix = 'jos_';
I am guessing it doesnt matter and they are only different from different releases but to conclude i see no problems in either config file


Top
  E-mail  
 
Posted: Thu Nov 19, 2009 2:22 am 
Joomla! Guru
Joomla! Guru
Offline

Joined: Wed Aug 05, 2009 1:42 pm
Posts: 571
Greetings:

Since google indexes everything, unless you don't mind what you post being completely open to the public for people who love, feel neutral, or hate you, be careful posting configuration files or anything else of private nature.

The $password variable is for the database, so you do need to double check the entries needed for the database hostname, database name, database user id, and database user password.

If you are not sure of what values to use, your hosting provider support team maybe able to help you.

Thank you.

_________________
Peter M. Abraham
http://www.dynamicnet.net/ - Dynamic Net, Inc. - in business since June 1995; a PCI Compliant, managed hosting provider.


Top
  E-mail  
 
Posted: Thu Nov 19, 2009 3:36 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Mon Sep 07, 2009 8:49 pm
Posts: 13
i figured i would be fine by just not showing the password but i have no changed any information for mysql so i believe the passwords and such are correct


Top
  E-mail  
 
Posted: Thu Nov 19, 2009 1:29 pm 
Joomla! Guru
Joomla! Guru
Offline

Joined: Wed Aug 05, 2009 1:42 pm
Posts: 571
Greetings:

My previous reply still stands.

Thank you.

_________________
Peter M. Abraham
http://www.dynamicnet.net/ - Dynamic Net, Inc. - in business since June 1995; a PCI Compliant, managed hosting provider.


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

Quick reply

 



Who is online

Users browsing this forum: albi, dgrimling, Laacis and 64 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group