Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions

Reply
 
Thread Tools Display Modes
  #11  
Old 09-24-2013, 06:34 PM
cardjim cardjim is offline
 
Join Date: Feb 2010
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do I do that?

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

Sorry. I'm not very familiar with VB. Thanks.
Reply With Quote
  #12  
Old 09-24-2013, 06:36 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

your host must of changed something for some reason talk to them
Reply With Quote
  #13  
Old 09-24-2013, 06:43 PM
cardjim cardjim is offline
 
Join Date: Feb 2010
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've tried and they said they haven't changed anything. Are there any other troubleshooting methods or options to get my site of 5 years back up?

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

I'm willing to do what ever it takes to get this back up.
Reply With Quote
  #14  
Old 09-24-2013, 07:00 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This wait to see if others can help you with this problem
Reply With Quote
  #15  
Old 09-24-2013, 08:22 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It should be the first setting in your config.php for dbtype
Reply With Quote
  #16  
Old 09-24-2013, 08:30 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just for reference, includes/config.php should look like the following, for the first setting, according to Zachary.

Code:
    //    ****** DATABASE TYPE ******
    //    This is the type of the database server on which your vBulletin database will be located.
    //    Valid options are mysql and mysqli, for slave support add _slave.  Try to use mysqli if you are using PHP 5 and MySQL 4.1+
    // for slave options just append _slave to your preferred database type.
$config['Database']['dbtype'] = 'mysqli';
Reply With Quote
  #17  
Old 01-08-2016, 11:22 PM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I received a few database error emails regarding this very subject. I went to my site to find it unreachable, meaning database errors show for every page I go to.
I have done nothing to this site in a very long time & my host say they made no changes to my server.
What would case this to happen out of the blue?
I did edit my config with edit to fix.

BTW: I have 4 vb sites and only one received this issue and config.php in others is still set to MYSQL and have no issues.

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

Looks like my host updated my php to 5.6 beta via cpanel but my sites show I am using 5.4.
I am running only vb3.8, will I have any issues using php5.6?

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

I had to switch back to 5.4, many addon site functions would not function properly.
Reply With Quote
  #18  
Old 01-10-2016, 01:32 PM
jagtpf jagtpf is offline
 
Join Date: Mar 2015
Location: Scotland
Posts: 176
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by blind-eddie View Post
I received a few database error emails regarding this very subject. I went to my site to find it unreachable, meaning database errors show for every page I go to.
I have done nothing to this site in a very long time & my host say they made no changes to my server.
What would case this to happen out of the blue?
I did edit my config with edit to fix.

BTW: I have 4 vb sites and only one received this issue and config.php in others is still set to MYSQL and have no issues.

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

Looks like my host updated my php to 5.6 beta via cpanel but my sites show I am using 5.4.
I am running only vb3.8, will I have any issues using php5.6?

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

I had to switch back to 5.4, many addon site functions would not function properly.
A mulled server change to php5.6 was one of the drivers towards us having to upgrade to vB 4, from 3.8. Our server owner tested the change to 5.6 thus crashing the Forum - thankfully he allowed us 3 months to sort out the upgrade.
Whilst the basic upgrade was seamless, we're still 'fighting' to get some of the tried and tested vB3 hacks to work.
Reply With Quote
  #19  
Old 05-22-2016, 03:40 PM
plubius plubius is offline
 
Join Date: Dec 2004
Location: USA
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachery View Post
change MySQL to mysqli instead
This fixed it for me. Thanks Zachery, you rock
Reply With Quote
Reply

Thread Tools
Display Modes

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 08:25 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04135 seconds
  • Memory Usage 2,240KB
  • Queries Executed 11 (?)
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
  • (1)bbcode_code
  • (2)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
  • (1)pagenav_pagelink
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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_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