My forum was hacked because I was using 777 permissions without understanding the implications
I have reverted to a backup of the whole of the web contents but this will not connect to my database:
"There seems to have been a problem with the database."
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title> Database Error</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<style type="text/css">
<!--
blockquote { margin-top: 75px; }
p { font: 11px tahoma, verdana, arial, sans-serif; }
-->
</style>
</head>
<body>
<blockquote>
<blockquote>
<p><strong>There seems to have been a problem with the database.</strong><br />
Please try again by clicking the <a href="#" onclick="window.location = window.location;">Refresh</a> button in your web browser.</p>
<p>An E-Mail has been dispatched to our <a href="mailto:kerry@yupz.com">Technical Staff</a>, whom you can also contact if the problem persists.</p>
<p>We apologise for any inconvenience.</p>
<!--
Database error in vBulletin :
mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Access denied for user 'tucklis4'@'web98.opentransfer.com' (using password: YES)
/hsphere/local/home/alexrpau/fencingforum.com/forum/includes/class_core.php on line 279
MySQL Error :
Error Number :
Date : Tuesday, January 13th 2009 @ 01:57:55 AM
Script : http://fencingforum.com/forum/
Referrer :
IP Address : 85.189.97.228
Username :
Classname : vb_database
-->
</blockquote>
</blockquote>
</body>
</html>
Any help would be GREATLY appreciated!!