#1
|
||||
|
||||
Login/Logout Error
Everytime I login or logout, this shows up:
SQLSTATE[HY000] [1045] Access denied for user ''@'localhost' (using password: NO) The site still logs me in and out though. No idea what the above means! |
#2
|
||||
|
||||
Go to /inc/config.php and check if the database information is correct (host/ database username / database password (these can be different from your site's name and password!) and check if that database user has all privileges in the database by going to MySQL Databases from the control panel)
__________________
asp.net stole my soul. |
#3
|
||||
|
||||
It's all right but it's still doing it. :/
I don't understand why. It was fine these past few days then suddenly it's doing it. Could it be something with the forum I installed? It's not that big of a deal though as long as I can login still I guess. :P |
#4
|
||||
|
||||
She means that when you created the database user for your database in your hosting cpanel, did you give all privileges to that database user? If not, you need to do that now.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#5
|
||||
|
||||
Yes I did. I made sure all privileges were checked yesterday. And my password is right.
|
#6
|
||||
|
||||
umm what exactly is in your config.php file? You can post its contents here with password censored, maybe something is wrong in that file.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#7
|
||||
|
||||
Could it be the config_forums.php file? I don't have anything in there. Am I supposed to input my database info there or leave it blank? If I'm supposed to input it, what would the mybbpath be? Not sure what that means. :P
Thanks guys! Sorry for being such a bother! |
#8
|
||||
|
||||
Yes, you'll have to put database info in there. And I have $mybbpath = '/forum';
(User whatever your folder with your forum is called? That's mine.) I remember having this error, too, but it was caused by other things, I think... and I can't remember how I solved it. |
#9
|
||||
|
||||
I dont think its config_forums.php unless you have enabled MyBB forum integration. I am a bit confused now, did the error occur to you on the adoptables site or was it on your forum?
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#10
|
||||
|
||||
Sorry for the confusion, it's occurring on site NOT forum. I just thought it could be something with the forum since it only started doing this after the forum was installed. Lol i don't know. :P
Here's a screenie: http://i.imgur.com/eDnMZcZ.jpg |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mys v1.3.4 Seamless Login/Logout Redirect to Index | Kyttias | Mys v1.3.x Mods | 13 | 06-03-2020 11:13 AM |
Won't let me logout | Distortion | Questions and Supports | 6 | 12-04-2015 06:36 PM |
Admin Login Error, Please Help!! | ashamedCake | Questions and Supports | 5 | 01-29-2015 09:35 PM |
Redirect to Previous Page after Login/Logout | fadillzzz | Mys v1.1.x Mods | 6 | 02-02-2011 06:24 PM |
Parse error: syntax error, unexpected T_ELSE in /home/.nyles/ | Saphira | Questions and Supports | 11 | 05-26-2009 12:45 PM |
What's New? |
What's Hot? |
What's Popular? |