Transfer Failure

sweetspud / 2018-12-06 22:44:26   

On transferring from GoDaddy to Bluehost I'm having a problem with the website coming up - it's a white page.

Bluehost has made this evaluation:

This email is regarding issue with connecting to dannybright.com/ we noticed that this is due to the extensions for the scripts are being disabled. We tried to enable it from php.ini but we got the same error after linking database, we suggest you to check with script provider with the error given below :

PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home1/dannybr3/public_html/ndxzstudio/db/db.mysql.php:41
Stack trace:
#0 /home1/dannybr3/public_html/ndxzstudio/db/db.mysql.php(24): Db->initialize()
#1 /home1/dannybr3/public_html/ndxzstudio/common.php(169): Db->__construct()
#2 /home1/dannybr3/public_html/ndxzstudio/lib/core.php(113): load_class('db', true, 'db')
#3 /home1/dannybr3/public_html/ndxzstudio/lib/core.php(36): Core->load_db()
#4 /home1/dannybr3/public_html/ndxzstudio/common.php(169): Core->Core()
#5 /home1/dannybr3/public_html/index.php(41): load_class('core', true, 'lib')
#6 {main}
thrown in /home1/dannybr3/public_html/ndxzstudio/db/db.mysql.php on line 41

Wondering if anyone can help me make sense of this.

Thanks!

sweetspud / 2018-12-06 22:52:57   

Further comment from Bluehost:

I have checked the error logs and even I can see the same file listed on the error log

db.mysql.php

sweetspud / 2018-12-06 22:53:47   

Also, from Bluehost:

The issue seems to be somewhere here:
{
        global $indx;
        
        if (!$indx['host']) $this->db_out_of_order();
    
        $this->link = @mysql_connect($indx['host'], $indx['user'], $indx['pass']);

I am not sure on this as we are just server level technicians, and code related issues are out of scope of support for us

sweetspud / 2018-12-06 22:59:19   

Additional information:

The current PHP version for MySQL is 5.6.32

This thread has been closed, thank you.