Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 05-10-2016, 04:48 PM
e9coupe e9coupe is offline
 
Join Date: Aug 2008
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Site down, need help and opinions...

My site is down today with a database error. I believe I'm running 3.8.x. Its a really old version. I also believe that my web host updated PHP recently and could be the cause of the problem.

My questions...

What version should I update to and how do I go about finding someone trustworthy/reliable to do it for me? Its been quite a while since I hired help.

Dan
Reply With Quote
  #2  
Old 05-10-2016, 05:07 PM
Dr.CustUmz's Avatar
Dr.CustUmz Dr.CustUmz is offline
 
Join Date: Aug 2013
Location: USA
Posts: 647
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd recommend vb 3.8.10 it supports the latest php, and doesn't include all the bloat vb4 and 5 have. as far as hiring someone, request in the paid section and go with someone who is recognized on here. and you believe can truly do it, paypal is the best method to provide payments, DO NOT GIFT THE PAYMENT! or its like you donated and it's harder to get your money back so keep all conversations.

pro tip to save some $
upload the files, run yoursite.com/install/upgrade.php
Reply With Quote
  #3  
Old 05-10-2016, 05:12 PM
squidsk's Avatar
squidsk squidsk is offline
 
Join Date: Nov 2010
Posts: 969
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you don't give us the database error it's impossible for us to help you fix the problem.
Reply With Quote
Благодарность от:
Dr.CustUmz
  #4  
Old 05-10-2016, 05:26 PM
e9coupe e9coupe is offline
 
Join Date: Aug 2008
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

e9coupe.com/forum/index.php

A friend told me he found this error on the source of the forum page. Not sure it helps...

<!--
Database error in vBulletin :

mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead
/home/e9coupe/public_html/forum/includes/class_core.php on line 311

MySQL Error :
Error Number :
Request Date : Tuesday, May 10th 2016 @ 12:32:09 PM
Error Date : Tuesday, May 10th 2016 @ 12:32:09 PM
Script : http://e9coupe.com/forum/
Referrer :
IP Address : 108.224.108.180
Username :
Classname : vB_Database
MySQL Version :
-->

which leads me to class_core.php . At line 311 it says this:

$link = $this->functions[$usepconnect ? 'pconnect' : 'connect']("$servername:$port", $username, $password);

which is a database connect. That?s failing right away.
Reply With Quote
  #5  
Old 05-10-2016, 05:37 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Change your config.php file to use mysqli instead of mysql and see if that fixes the issue.
Reply With Quote
Благодарность от:
Dr.CustUmz
  #6  
Old 05-10-2016, 05:39 PM
billstelling's Avatar
billstelling billstelling is offline
 
Join Date: Apr 2011
Posts: 246
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yep, looks like the update borked your site. Upgrading to the latest 3.8.10 should sort in for you but I have not messed with 3 in years so not much I can offer to help you with it. Plenty of vb3 users here and I bet it's been covered here somewhere already..

found it I think..

http://www.vbulletin.com/forum/forum...ite-won-t-load
Code:
includes/config.php
Find:
$config['Database']['dbtype'] = 'mysql';
Replace:
$config['Database']['dbtype'] = 'mysqli';
Lynne beat me to it..
Reply With Quote
Благодарность от:
Dr.CustUmz
  #7  
Old 05-10-2016, 05:52 PM
e9coupe e9coupe is offline
 
Join Date: Aug 2008
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That didn't fix it. Does it take a little time for some reason?
Reply With Quote
  #8  
Old 05-10-2016, 06:17 PM
Dr.CustUmz's Avatar
Dr.CustUmz Dr.CustUmz is offline
 
Join Date: Aug 2013
Location: USA
Posts: 647
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

download the latest vb3 from members area 3.8.10 beta 1 and upload all them files and run the upgrade
Reply With Quote
  #9  
Old 05-10-2016, 06:47 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by e9coupe View Post
That didn't fix it. Does it take a little time for some reason?
No, if that were the only issue the entire site would be viewable immediately after the file edit. There is more than simply that going on, as you suspected initially it's due to PHP and/or mysql version (not the difference between mysql/mysqli but the actual version # i.e. MySQL 5.5 etc).

Quote:
Originally Posted by Dr.CustUmz View Post
download the latest vb3 from members area 3.8.10 beta 1 and upload all them files and run the upgrade
Before you do this e9coupe, check to ensure you know what version of PHP i.e. PHP5.4 you're running, also ensure you know which version of MySQL you're using. IF your site is not up to par contact your host and ask for the changes required to be made.

Reference: http://www.vbulletin.com/forum/forum...bulletin-3-8-9

Make sure you backup the site before doing anything, database and files (does not matter if site is down now, it can be restored using those files and database copy) so if anything goes wrong you have a current "pre-upgrade" version just in case.
Reply With Quote
  #10  
Old 05-10-2016, 07:40 PM
Dr.CustUmz's Avatar
Dr.CustUmz Dr.CustUmz is offline
 
Join Date: Aug 2013
Location: USA
Posts: 647
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

+1 do that ^^
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 03:02 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.04184 seconds
  • Memory Usage 2,259KB
  • 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
  • (10)post_thanks_box
  • (3)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (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_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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete