MySQL error for voting script & register page

04/27/2010 02:28 chrisg2010#1
well this just happen it was working fine then it just went bad
Quote:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in C:\xampp\htdocs\vote.php on line 81

Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in C:\xampp\htdocs\vote.php on line 82

Warning: mysql_query() expects parameter 2 to be resource, boolean given in C:\xampp\htdocs\vote.php on line 83

Warning: mysql_fetch_row() expects parameter 1 to be resource, null given in C:\xampp\htdocs\vote.php on line 84

Warning: mysql_num_rows() expects parameter 1 to be resource, null given in C:\xampp\htdocs\vote.php on line 85

Warning: mysql_query() expects parameter 2 to be resource, boolean given in C:\xampp\htdocs\vote.php on line 88

Warning: mysql_query() expects parameter 2 to be resource, boolean given in C:\xampp\htdocs\vote.php on line 89
Error: Access denied for user 'root'@'localhost' (using password: YES)
then the register page messed up to

Quote:
Warning: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for '-4.0/DST' instead in C:\xampp\htdocs\register.php on line 24
idk why it did this it was working fine for days then it just does this
04/27/2010 02:44 Decima#2
Quote:
Access denied for user 'root'@'localhost' (using password: YES)
its doesnt like ur user name "root" or ur password, even tho u prolly dont have a password for the "root" user, so take the password out of ur script
04/27/2010 02:59 chrisg2010#3
well i fixed the register i took the code
Quote:
$dk_time=strftime("%y%m%d%H%M%S");
out of the php code and it works find now i guess you cant mess with xampp when it come to time codes lol


and ok im gonna chnage the user and pass and see if that helps any