PDA

View Full Version : Database Error


martyyy
09-23-2009, 08:52 PM
I was recently adding a new hack to my VB forum and when it came to upload the xml file it failed then i was took to a white page with just php errors which stopped me gaining acces to my admin panel to unistall the script. Then after about 10 minutes my forum was replaced by a Database Error page as you can see here: http://www.pokeoak.com

Since this i have gone through the database manually deleting anything related to this feature, also i have deleted all folders and files with FTP, i'm really stuck on this and can not find a solution to fix this.

Also as the forum is pretty new i havn't backed up the database (stupid i know)

Lynne
09-23-2009, 09:50 PM
When you get a page like that, view the page source to see the actual error:
<!--
Database error in vBulletin :

mysql_connect() [&lt;a href='function.mysql-connect'&gt;function.mysql-connect&lt;/a&gt;]: Access denied for user 'pokeoak'@'localhost' (using password: YES)
/home/pokeoak/public_html/includes/class_core.php on line 311

MySQL Error :
Error Number :
Request Date : Wednesday, September 23rd 2009 @ 05:48:06 PM
Error Date : Wednesday, September 23rd 2009 @ 05:48:06 PM
Script : http://www.pokeoak.com/
Referrer : https://vborg.vbsupport.ru/showthread.php?t=223832
IP Address : xxxxx
Username :
Classname : vB_Database
MySQL Version :
-->

It looks to me like you have changed the info in your config.php perhaps? Right now, it can't connect to your database because access is being denied to that user.

martyyy
09-23-2009, 10:00 PM
thanks alot lynne seems the database error page was related to config then once that was solved i quickly solved the other problem i had, again THANK YOU!