vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Site down, need help and opinions... (https://vborg.vbsupport.ru/showthread.php?t=322598)

e9coupe 05-10-2016 04:48 PM

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

Dr.CustUmz 05-10-2016 05:07 PM

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

squidsk 05-10-2016 05:12 PM

If you don't give us the database error it's impossible for us to help you fix the problem.

e9coupe 05-10-2016 05:26 PM

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.

Lynne 05-10-2016 05:37 PM

Change your config.php file to use mysqli instead of mysql and see if that fixes the issue.

billstelling 05-10-2016 05:39 PM

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..

e9coupe 05-10-2016 05:52 PM

That didn't fix it. Does it take a little time for some reason?

Dr.CustUmz 05-10-2016 06:17 PM

download the latest vb3 from members area 3.8.10 beta 1 and upload all them files and run the upgrade

TheLastSuperman 05-10-2016 06:47 PM

Quote:

Originally Posted by e9coupe (Post 2570491)
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 (Post 2570496)
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.

Dr.CustUmz 05-10-2016 07:40 PM

+1 do that ^^


All times are GMT. The time now is 02:32 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.01651 seconds
  • Memory Usage 1,738KB
  • 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_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete