Debug backtrace: please help

Can u please help me this error comes when ever i go to my site and goes after a refresh u can chk it on www.emiratescorner.com



Error

Database connect failed

Debug backtrace:

Array

(

    [1] => Array

        (

            [file] => /home4/emiratf7/public_html/inc/classes/BxDolDb.php

            [line] => 82

            [function] => error

            [class] => BxDolDb

            [type] => ->

            [object] => BxDolDb Object

                (

                    [error_checking] => 1

                    [error_message] =>

                    [host] => localhost

                    [port] =>

                    [socket] =>

                    [dbname] => emiratf7_emirates

                    [user] => *****

                    [password] => *****

                    [link] =>

                    [current_res] =>

                    [current_arr_type] => 1

                    [oParams] =>

                    [oDbCacheObject] =>

                    [_error] =>

                )

 

            [args] => Array

                (

                    [0] => Database connect failed

                    [1] => 1

                )

 

        )

 

    [2] => Array

        (

            [file] => /home4/emiratf7/public_html/inc/classes/BxDolDb.php

            [line] => 58

            [function] => connect

            [class] => BxDolDb

            [type] => ->

            [object] => BxDolDb Object

                (

                    [error_checking] => 1

                    [error_message] =>

                    [host] => localhost

                    [port] =>

                    [socket] =>

                    [dbname] => emiratf7_emirates

                    [user] => *****

                    [password] => *****

                    [link] =>

                    [current_res] =>

                    [current_arr_type] => 1

                    [oParams] =>

                    [oDbCacheObject] =>

                    [_error] =>

                )

 

            [args] => Array

                (

                )

 

        )

 

    [3] => Array

        (

            [file] => /home4/emiratf7/public_html/inc/db.inc.php

            [line] => 25

            [function] => BxDolDb

            [class] => BxDolDb

            [type] => ->

            [object] => BxDolDb Object

                (

                    [error_checking] => 1

                    [error_message] =>

                    [host] => localhost

                    [port] =>

                    [socket] =>

                    [dbname] => emiratf7_emirates

                    [user] => *****

                    [password] => *****

                    [link] =>

                    [current_res] =>

                    [current_arr_type] => 1

                    [oParams] =>

                    [oDbCacheObject] =>

                    [_error] =>

                )

 

            [args] => Array

                (

                )

 

        )

 

    [4] => Array

        (

            [file] => /home4/emiratf7/public_html/inc/classes/BxDolAlerts.php

            [line] => 20

            [args] => Array

                (

                    [0] => /home4/emiratf7/public_html/inc/db.inc.php

                )

 

            [function] => require_once

        )

 

    [5] => Array

        (

            [file] => /home4/emiratf7/public_html/inc/header.inc.php

            [line] => 177

            [args] => Array

                (

                    [0] => /home4/emiratf7/public_html/inc/classes/BxDolAlerts.php

                )

 

            [function] => require_once

        )

 

    [6] => Array

        (

            [file] => /home4/emiratf7/public_html/index.php

            [line] => 40

            [args] => Array

                (

                    [0] => /home4/emiratf7/public_html/inc/header.inc.php

                )

 

            [function] => require_once

        )

 

)

Called script: /index.php
Request parameters:

Array

(

    [__atuvc] => 0|32,0|33,64|34,89|35,146|36

)

 

Quote · 3 Sep 2013

The error is Database Connect Failed.

It happens when either one of two things happens.

1) Either the database server went down.

2) Database server cannot handle the load and is at maximum connections and refused the connection.

This error is quite common on shared hosting due to the limits the hosting provider places of resources.

This is not a dolphin issue. It is a hosting problem.

https://www.deanbassett.com
Quote · 3 Sep 2013

 

The error is Database Connect Failed.

It happens when either one of two things happens.

1) Either the database server went down.

2) Database server cannot handle the load and is at maximum connections and refused the connection.

This error is quite common on shared hosting due to the limits the hosting provider places of resources.

This is not a dolphin issue. It is a hosting problem.

 u mean if i change to vps will it go away ??

Quote · 3 Sep 2013

 

 

The error is Database Connect Failed.

It happens when either one of two things happens.

1) Either the database server went down.

2) Database server cannot handle the load and is at maximum connections and refused the connection.

This error is quite common on shared hosting due to the limits the hosting provider places of resources.

This is not a dolphin issue. It is a hosting problem.

 u mean if i change to vps will it go away ??


It should. But a VPS is still not a dedicated and hosting providers still set limits on VPS's.

Is this error occasional, or all the time?

As that would make a difference. If it is all the time. In other words you can't access your site at all, then you need to check the database name, user and password you have set in the file inc/header.inc.php to make sure you are using the proper information.

Did you recently change your database password?

Perhaps you not including important information like things you may have done before this started happening.


https://www.deanbassett.com
Quote · 3 Sep 2013

 

 

 

The error is Database Connect Failed.

It happens when either one of two things happens.

1) Either the database server went down.

2) Database server cannot handle the load and is at maximum connections and refused the connection.

This error is quite common on shared hosting due to the limits the hosting provider places of resources.

This is not a dolphin issue. It is a hosting problem.

 u mean if i change to vps will it go away ??


It should. But a VPS is still not a dedicated and hosting providers still set limits on VPS's.

Is this error occasional, or all the time?

As that would make a difference. If it is all the time. In other words you can't access your site at all, then you need to check the database name, user and password you have set in the file inc/header.inc.php to make sure you are using the proper information.

Did you recently change your database password?

Perhaps you not including important information like things you may have done before this started happening.


 no i did not change the database password i have around 3000 to 4000 visitors a day and may be a 2000 blogs a day can that be a problem

Quote · 3 Sep 2013

 

no i did not change the database password i have around 3000 to 4000 visitors a day and may be a 2000 blogs a day can that be a problem

 
Yes. That is to much activity for a shared server. Best to have a dedicated for that kind of a load.

Are those real users? Or just spammers spamming the blogs. If they are spammers, then you should consider some form of spam control, like my Anti Spam mod, or other methods mentioned in the forums on your site.

Spammers can overload a server on shared hosting.


https://www.deanbassett.com
Quote · 3 Sep 2013

i would also look in your /inc/headr.inc.php file to make sure the database user database name and database password are correct.

If all is correct then i would log in to phpmyadmin and see if any tables are marked as crashed and repair them.

Most likely would be the Profiles table to check first....

As Dean also said with 51,000 plus spammers on your site i think it's time to move from shared hosting and cleanup/remove all the spammers. 

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 3 Sep 2013

thanks alot for ur help guys i think i should move from shared hosting now

Quote · 3 Sep 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.