Error logging in: The database has encountered a problem, please try again later.

Discussion in 'Troubleshooting' started by mark_fowler, Mar 8, 2013.

  1. mark_fowler

    mark_fowler New Member

    Joined:
    Dec 17, 2012
    Messages:
    4
    Hello,
    I am have just moved hosting companies and I am now getting this error when trying to log in.

    I can access the admin but not the members section. Also when I try to rebuild the database (wordpress) I get this error:

    Rebuilding Wordpress Db...
    The database has encountered a problem, please try again later.


    Please contact webmaster: max@loopport.com.

    Incorrect response received. Stopped!



    Please advise.

    Exception Am_Exception_PluginDb
    Am_Protect_Databased->dbErrorHandler
    call_user_func [ library/DbSimple/Generic.php : 1266 ]
    DbSimple_Generic_LastError->setErrorHandler [ library/Am/Protect/Databased.php : 306 ]
    Am_Protect_Databased->getDb [ application/default/plugins/protect/wordpress/api.php : 44 ]
    WordpressAPI->getDb [ application/default/plugins/protect/wordpress/api.php : 53 ]
    WordpressAPI->get_option_cache [ application/default/plugins/protect/wordpress/api.php : 65 ]
    WordpressAPI->get_option [ application/default/plugins/protect/wordpress/api.php : 23 ]
    WordpressAPI->__construct [ application/default/plugins/protect/wordpress/wordpress.php : 500 ]
    Am_Protect_Wordpress->getWP [ application/default/plugins/protect/wordpress/wordpress.php : 281 ]
    Am_Protect_Wordpress->getLoggedInRecord [ library/Am/Protect/Databased.php : 423 ]
    Am_Protect_Databased->onAuthCheckLoggedIn
    call_user_func [ library/Am/Event.php : 529 ]
    Am_Event->call [ library/Am/Event.php : 552 ]
    Am_Event->handle [ library/Am/Hook.php : 200 ]
    Am_Hook->call [ library/Am/Auth/User.php : 172 ]
    Am_Auth_User->checkExternalLogin [ application/default/controllers/LoginController.php : 117 ]
    LoginController->indexAction [ library/Am/Controller.php : 139 ]
    Am_Controller->_runAction [ library/Am/Controller.php : 116 ]
    Am_Controller->dispatch [ library/Zend/Controller/Action.php : 568 ]
    Zend_Controller_Action->run [ library/Am/Auth/User.php : 128 ]
    Am_Auth_User->requireLogin [ application/default/controllers/MemberController.php : 26 ]
    MemberController->preDispatch [ library/Am/Controller.php : 98 ]
    Am_Controller->dispatch [ library/Zend/Controller/Dispatcher/Standard.php : 295 ]
    Zend_Controller_Dispatcher_Standard->dispatch [ library/Zend/Controller/Front.php : 954 ]
    Zend_Controller_Front->dispatch [ library/Am/App.php : 1682 ]
    Am_App->run [ index.php : 43 ]
  2. gswaim

    gswaim CGI-Central Partner

    Joined:
    Jul 2, 2003
    Messages:
    641
    I suspect some database info is different on the new server. I would do back and reactivate the WordPress db connection as covered on this page.

Share This Page