vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   change of server problem in vb 4.0.3 database error (https://vborg.vbsupport.ru/showthread.php?t=312352)

rabeel 06-23-2014 08:40 AM

change of server problem in vb 4.0.3 database error
 
hey i am having vb 4.0.3 forum it was hosted on dedicated server
now i change it to a shared hosting of godaddy cpanel hosting
it is giving me 503 database error
i call godaddy support they did trouble shoot for 2 hours and they said they are unable to find the problem everything is working fine
please check it out
url of forum is http://goo.gl/RNPb1E

i will be thankful to your support

kh99 06-23-2014 08:52 AM

Have you looked at includes/class_core.php to see what's on line 312? I don't have the source for that version (really, you should upgrade at some point, but I know there were a lot of template changes along the way so it's probably a lot of work).

But it says the error is mysql_connect so that would seem to imply that the database information in your includes/config.php is not correct (it would have to be changed when you move servers).

Paul M 06-23-2014 10:29 AM

The error is this ;

Code:

Database error in vBulletin :

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


Basically this means your server is running php 5.5 - vbulletin 4.0.3 is not compatible with php 5.5.

You could probably cure that specific error by switching to mysqli in the config, but you will likely hit a bunch of other errors.

rabeel 06-24-2014 10:51 AM

so thats mean first i upgrade it to the latest version of vbulletin on the old server and then take the backup and change the hosting am i right????????????/
Please do help me
regards

Mark.B 06-24-2014 10:58 AM

You need to run php 5.4 ideally (not php 5.5), then upgrade vBulletin to 4.2.2.

Paul M 06-24-2014 11:06 AM

It doesnt really matter if you upgrade and then move, or move and then upgrade.

However, full php5.5 compatability is only scheduled with 4.2.3.

rabeel 06-24-2014 11:07 AM

or do i upgrade it to the current server and if it allow me to do it is better?
plese do help
regards

rabeel 06-24-2014 11:25 AM

1 Attachment(s)
check the version it is 5.4 no php 5.5 version please confirm then i go for the upgrade on the current server with 4.2.2
regards

rabeel 06-24-2014 11:38 AM

1 Attachment(s)
that's the old version of the server should i asked to godaddy to provide me the old version of php which is on my old server then it will work fine?
please find the attachment

rabeel 06-24-2014 02:27 PM

Dear i do have another forum which is 4.2.1 with second patch and it is giving the same error
check the url
http://goo.gl/i0RBM9

please tell me what i should talk with godaddy hosting that what they do to degrade the php version to 5.4 for both forums 4.0.3 and 4.2.1 it will work for both?
regards


All times are GMT. The time now is 10:27 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.01708 seconds
  • Memory Usage 1,728KB
  • 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
  • (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