vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   I just really messed up my site...can I fix it? (https://vborg.vbsupport.ru/showthread.php?t=157535)

q22inc 09-11-2007 01:39 AM

I just really messed up my site...can I fix it?
 
I think I just learned the "you should always backup your site regularly" lesson.

I tried installing a "shopping cart" off the Hostgator website. In the process of doing that, I now get a "database error" when I go to my site. :( Is there anyway to undo this?


I really hope I don't have to re-install everything.

Eikinskjaldi 09-11-2007 01:55 AM

Quote:

Originally Posted by q22inc (Post 1336677)
Is there anyway to undo this?

Yes.

If you'd like more information on exactly how to fix it, you might like to give usmore information on exactly what the database error is.

Brandon Sheley 09-11-2007 02:02 AM

Post the exact db error.

Weapon-x 09-11-2007 02:11 AM

Please post the error.

Or contact your Webhost to set the DB one day back.

q22inc 09-11-2007 04:27 AM

Thanks for the replies.

I'll copy paste the error as well as a screen shot below.


Database Error Database error
The database has encountered a problem.
Please try the following:

* Load the page again by clicking the Refresh button in your web browser.
* Open the www.s****-f****.com home page, then try to open another page.
* Click the Back button to try another link.

The www.s****-f****.com forum technical staff have been notified of the error, though you may contact them if the problem persists.

We apologise for any inconvenience.


http://img523.imageshack.us/img523/9184/dberrorur6.jpg

Eikinskjaldi 09-11-2007 05:05 AM

LOL.


OK, so go back to that page, and view the html source. Somewhere in there will be the actual database error message.

EDIT: nvmd, you missed blacking out one of your urls so I went there and had a look myself.

The actual error is:

<!--
Database error in vBulletin :

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

MySQL Error :
Error Number :
Date : Tuesday, September 11th 2007 @ 01:06:37 AM
Script : http://www.spurs-forum.com/Forum/
Referrer :
IP Address : 150.101.126.134
Username :
Classname : vb_database
-->


So there is your error, your config.php does not have the correct password for your database.

q22inc 09-11-2007 06:12 AM

^ Thanks. :)

Just fixed it.

Weapon-x 09-11-2007 12:26 PM

Just looks like your server doesn't have connection to MySQL. Glad to know it's back online.


All times are GMT. The time now is 02:17 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02248 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete