Log in

View Full Version : Sqlstate error when logging out/in


Dinocanid
10-21-2016, 08:23 PM
Whenever I log in or out of my site, I get this message:
SQLSTATE[HY000] [1045] Access denied for user ''@'localhost' (using password: NO)
It doesn't break anything, and I can log back in just fine after refreshing, but it isn't exactly pretty to look at.
The message also pops up for new users who register for the site; which makes them think that it failed and they have to make another account; which they don't.

Hall of Famer
10-22-2016, 07:49 PM
umm it says that the database user information is incorrect. If you are hosted on MysidiaHost, I will look into it for you myself. If you are hosted on third party webhosts, then you will need to look up the file /inc/config.php(and /inc/config_forum.php if you have forum integration) yourself.

Dinocanid
10-26-2016, 09:32 AM
I use mysidiahost, but I don't know why the database user information would have changed if I didn't touch it.

Hall of Famer
10-26-2016, 03:15 PM
I see. I fixed it for you on your site, apparently you have enabled MyBB forum integration(the $mybbenabled variable is set to value 1), but there was no MyBB database information. I am not sure why you enabled MyBB forum integration if you didnt set up the configuration for MyBB forum.

Dinocanid
10-27-2016, 09:28 AM
I thought I did :/ I guess I missed that part of a tutorial or something. Thanks for fixing it though!