News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Changing host servers

Started by barpc, March 05, 2017, 01:07:18 AM

Previous topic - Next topic

barpc

Hi

I have had to change servers on my host, backed up everything, chnages servers and then tried to access my forum - http://barpc.org.uk/forum/index.php [nofollow]
I get the following error -
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /homepages/6/d671793237/htdocs/barpc/forum/Sources/Subs-Db-mysql.php:58 Stack trace: #0 /homepages/6/d671793237/htdocs/barpc/forum/Sources/Load.php(2550): smf_db_initiate('db395509698.db....', 'db395509698', 'dbo395509698', 'd101284x', 'smf_1', Array) #1 /homepages/6/d671793237/htdocs/barpc/forum/index.php(69): loadDatabase() #2 {main} thrown in /homepages/6/d671793237/htdocs/barpc/forum/Sources/Subs-Db-mysql.php on line 58

I have the new database details but cannot find out which file to change them in.
Any help greatly appreciated

Llewellyn

vbgamer45

Your host has PHP7 enabled. SMF 2.0.x does not support it yet.
See if you can downgrade to PHP 5.6
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Advertisement: