Footer error on home page of www.spacemodel.com

Had a long and fruitless chat with Hostgator (normally very good) about why the following error is showing up in the footer:

Warning: mysql_connect() [function.mysql-connect]: Access denied for user ‘space’@‘localhost’ (using password: YES) in /home/space/public_html/wp-content/themes/synchro-theme/page.php on line 240
Could not connect:

I have not changed page.php recently. I did however work with tech support about 6 weeks ago on the mysql db (‘space’)

I think it is due to a change in the password in the php_myadmin but don’t want to make the problem worse. Should I change the password and ensure it’s the same in both places to see if that gets rid of the error?

Laurie

There are two possibilities:

  1. Wrong user
  2. Wrong password

Ensure that the user is correct. Keep in mind the use of apostrophes. Are you sure it is ‘space’@‘localhost’ ? Or it is ‘space@localhost’ ? Or it was really just ‘localhost’ or ‘space’ .

Otherwise, check the password.