Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-10-2013, 11:26 AM
obglobal.net obglobal.net is offline
 
Join Date: Jan 2013
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Database Error after changing to new web host?? SITE DOWN

Really in a spot of bother here. Everything was executed as requested by the new web host at my end, but I'm stuck with a Database Error whenever attempting to access my forum.

I got this message from the tech staff at the web hosting site:

I could see the files in your account. Also, website at: http://obglobal.net/ is showing database error. However, I have created a connection string at: http://obglobal.net/test.php and its is connecting fine. So there is no issue with connecting to databases. Thus, you need to contact the application vendor at: http://www.vbulletin.com/support-forums/ to get more information on this issue.

● I thought I'd start at vb.org because everyone's so helpful. Could really use some guidance/assistance.

Thanks very much.
Reply With Quote
  #2  
Old 12-10-2013, 11:31 AM
Disco_Dave's Avatar
Disco_Dave Disco_Dave is offline
 
Join Date: May 2011
Location: Belfast
Posts: 586
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mite be a stupid question, but have you updated your config.php file with the database username and password?
Reply With Quote
  #3  
Old 12-10-2013, 11:36 AM
obglobal.net obglobal.net is offline
 
Join Date: Jan 2013
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Disco_Dave View Post
Mite be a stupid question, but have you updated your config.php file with the database username and password?
As far as I go, no question is stupid, DD. No, I haven't done that, and I don't know how. I know how to locate the config.php as I've had to disable hooks before, but the actual edit itself is a new deal for me.

God I love this site.

EDIT:

I've just had a look, and it appears that the both of them have been edited correctly. Any other ideas?
Reply With Quote
  #4  
Old 12-10-2013, 11:39 AM
Disco_Dave's Avatar
Disco_Dave Disco_Dave is offline
 
Join Date: May 2011
Location: Belfast
Posts: 586
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would check your database username and password match the one on the new host:

PHP Code:
//    ****** MASTER DATABASE USERNAME & PASSWORD ******
    //    This is the username and password you use to access MySQL.
    //    These must be obtained through your webhost.
$config['MasterServer']['username'] = 'edit here';
$config['MasterServer']['password'] = 'edit here'
--------------- Added [DATE]1386679439[/DATE] at [TIME]1386679439[/TIME] ---------------

Have you updated your named servers?
Reply With Quote
  #5  
Old 12-10-2013, 11:52 AM
obglobal.net obglobal.net is offline
 
Join Date: Jan 2013
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Disco_Dave View Post
I would check your database username and password match the one on the new host:

PHP Code:
//    ****** MASTER DATABASE USERNAME & PASSWORD ******
    //    This is the username and password you use to access MySQL.
    //    These must be obtained through your webhost.
$config['MasterServer']['username'] = 'edit here';
$config['MasterServer']['password'] = 'edit here'
--------------- Added [DATE]1386679439[/DATE] at [TIME]1386679439[/TIME] ---------------

Have you updated your named servers?
Yeah, they were solid.

Thanks for your help BTW, DD.
Reply With Quote
  #6  
Old 12-10-2013, 12:00 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you get any email with the error? Without the actual error it is impossible to know what the issue is.

Or possibly look in the server error logs.
Reply With Quote
  #7  
Old 12-10-2013, 12:06 PM
obglobal.net obglobal.net is offline
 
Join Date: Jan 2013
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, I got nothing.

I've just noticed that I had 2 database files. One named vb and the other named vb_4 maybe that's the issue? I only uploaded the vb_4 one to the new webhost via FTP.

No idea.

Thanks, ozzy.

--------------- Added [DATE]1386680960[/DATE] at [TIME]1386680960[/TIME] ---------------

Quote:
Originally Posted by ozzy47 View Post
Did you get any email with the error? Without the actual error it is impossible to know what the issue is.

Or possibly look in the server error logs.
Sorry, ozzy. I forgot to ask where the server error logs are. Not sure where to locate them.
Reply With Quote
  #8  
Old 12-10-2013, 12:09 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Let's see if it is from a modification.

Open your includes/config.php file and below<?php add this line:

PHP Code:
 define('DISABLE_HOOKS'true); 
So it looks like this:
PHP Code:
<?php
define
('DISABLE_HOOKS'true);
/*=================================================  =====================*\
|| ##################################################  ################## ||
|| # vBulletin 4.2.2
Then see if you can access your site. If you can, disable all your mods, remove the define('DISABLE_HOOKS', true); from the includes/config.php file, re enable your mods one by one till you find out which one is causing the issue.
Reply With Quote
  #9  
Old 12-10-2013, 12:11 PM
obglobal.net obglobal.net is offline
 
Join Date: Jan 2013
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I already tried that and no luck......

--------------- Added [DATE]1386681133[/DATE] at [TIME]1386681133[/TIME] ---------------

Thanks for the idea though man
Reply With Quote
  #10  
Old 12-10-2013, 12:12 PM
Disco_Dave's Avatar
Disco_Dave Disco_Dave is offline
 
Join Date: May 2011
Location: Belfast
Posts: 586
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by obglobal.net View Post
No, I got nothing.

I've just noticed that I had 2 database files. One named vb and the other named vb_4 maybe that's the issue? I only uploaded the vb_4 one to the new webhost via FTP.
Which one of these is named in your config file?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:41 PM.


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.04267 seconds
  • Memory Usage 2,267KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete