Error
Database connect failed
Debug backtrace:
Array
(
    [1] => Array
        (
            [file] => /home/heromatc/public_html/inc/classes/BxDolDb.php
            [line] => 68
            [function] => error
            [class] => BxDolDb
            [object] => BxDolDb Object
                (
                    [error_checking] => 1
                    [error_message] => 
                    [host] => localhost
                    [port] => 
                    [socket] => 
                    [dbname] => heromatc_upgrademerged
                    [user] => *****
                    [password] => *****
                    [link] => 
                    [current_res] => 
                    [current_arr_type] => 1
                    [oParams] => 
                    [oDbCacheObject] => 
                )

            [type] => ->
            [args] => Array
                (
                    [0] => Database connect failed
                    [1] => 1
                )

        )

    [2] => Array
        (
            [file] => /home/heromatc/public_html/inc/classes/BxDolDb.php
            [line] => 44
            [function] => connect
            [class] => BxDolDb
            [object] => BxDolDb Object
                (
                    [error_checking] => 1
                    [error_message] => 
                    [host] => localhost
                    [port] => 
                    [socket] => 
                    [dbname] => heromatc_upgrademerged
                    [user] => *****
                    [password] => *****
                    [link] => 
                    [current_res] => 
                    [current_arr_type] => 1
                    [oParams] => 
                    [oDbCacheObject] => 
                )

            [type] => ->
            [args] => Array
                (
                )

        )

    [3] => Array
        (
            [file] => /home/heromatc/public_html/inc/db.inc.php
            [line] => 12
            [function] => BxDolDb
            [class] => BxDolDb
            [object] => BxDolDb Object
                (
                    [error_checking] => 1
                    [error_message] => 
                    [host] => localhost
                    [port] => 
                    [socket] => 
                    [dbname] => heromatc_upgrademerged
                    [user] => *****
                    [password] => *****
                    [link] => 
                    [current_res] => 
                    [current_arr_type] => 1
                    [oParams] => 
                    [oDbCacheObject] => 
                )

            [type] => ->
            [args] => Array
                (
                )

        )

    [4] => Array
        (
            [file] => /home/heromatc/public_html/inc/classes/BxDolAlerts.php
            [line] => 7
            [args] => Array
                (
                    [0] => /home/heromatc/public_html/inc/db.inc.php
                )

            [function] => require_once
        )

    [5] => Array
        (
            [file] => /home/heromatc/public_html/inc/header.inc.php
            [line] => 186
            [args] => Array
                (
                    [0] => /home/heromatc/public_html/inc/classes/BxDolAlerts.php
                )

            [function] => require_once
        )

    [6] => Array
        (
            [file] => /home/heromatc/public_html/modules/index.php
            [line] => 7
            [args] => Array
                (
                    [0] => /home/heromatc/public_html/inc/header.inc.php
                )

            [function] => require_once
        )

)
Called script: /modules/index.php
Request parameters:
Array
(
    [r] => photos/view/IMG-6862
)

Fatal error: Call to a member function getRow() on a non-object in /home/heromatc/public_html/inc/utils.inc.php on line 437