PDA

View Full Version : change of server problem in vb 4.0.3 database error


rabeel
06-23-2014, 08:40 AM
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 ;

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

Zachery
06-24-2014, 07:05 PM
You need to upgrade to 4.2.2, or downgrade PHP to 5.3.x, but you really shouldn't be running 4.0.x at all at this point.