News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Access denied for user ''@'localhost' (using password: NO) for each subforum

Started by Ramón Cutanda, August 28, 2018, 11:59:58 PM

Previous topic - Next topic

Ramón Cutanda

This error is displayed in every board with subforums, once per subforum.
Access denied for user ''@'localhost' (using password: NO)
Anyone has any idea of what I should be checking?My SMF is running several mods, but even with a fresh set of SMF 2.0.15 files the error is there.

Thank you



Shambles

Quote from: videoed... My SMF is running several mods ...


Quote from: SpacePhoenix
Any mods in use?

What a strange question to ask  ::)


Cross-check your database credentials with those listed in your Settings.php file.

Ramón Cutanda

Thank you for your replies.
I get the "Access denied for user..." warning with or without mods installed; even with "fresh" SMF 2.0.15 files. So this problem is not mod dependant.
I double checked the MySQL credentials on the Settings.php files and, in fact, everything works normally. You can access, read and create any forum or post, so SMF does have access to the database.

So, appart from these warnings for every subforum listed, everything else is perfecty normal.
One more thing. The warning only shows on SUBFORUMS, but not on the main index page.
Thank you once again for your time.


Ramón Cutanda

It seems it is something related with the file MessageIndex.template.php of my custom template. Everything runs fine with the default template of that file. I am sorry for the trouble.

Shambles


Advertisement: