The database has encountered a problem, please try again later

Discussion in 'Troubleshooting' started by annam, Feb 21, 2012.

  1. annam

    annam New Member

    Joined:
    Feb 19, 2012
    Messages:
    1
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,274
    Hi, Please check aMember CP -> Logs -> Error log
    Debug info should be available here.
    Can you copy & paste it in reply?
  3. monicasalazar

    monicasalazar New Member

    Joined:
    Oct 5, 2009
    Messages:
    4
    Ok, this is what I get:

    I see errors of two kinds. first:

    SQLSTATE[28000] [1045] Access denied for user 'betzi_wrdp1'@'localhost' (using password: YES) at /home/betzi/public_html/amember/library/Am/App.php line 745(1045) in query: new PDO

    And when I expand, I get this:
    Exception Am_Exception_PluginDb
    Am_Protect_Databased->dbErrorHandler [ library/DbSimple/Generic.php : 1266 ]
    DbSimple_Generic_LastError->setErrorHandler [ library/Am/Protect/Databased.php : 282 ]
    Am_Protect_Databased->getDb [ application/default/plugins/protect/wordpress/wordpress.php : 174 ]
    Am_Protect_Wordpress->createTable [ library/Am/Protect/Databased.php : 300 ]
    Am_Protect_Databased->getTable [ library/Am/Protect/Databased.php : 442 ]
    Am_Protect_Databased->onCheckUniqLogin [ library/Am/Event.php : 171 ]
    Am_Event->call [ library/Am/Event.php : 194 ]
    Am_Event->handle [ library/Am/Hook.php : 188 ]
    Am_Hook->call [ application/default/models/User.php : 466 ]
    UserTable->checkUniqLogin [ library/Am/Form/Brick.php : 288 ]
    Am_Form_Brick_Login->check [ library/Am/Form.php : 149 ]
    Am_Rule_Callback2->validateOwner [ library/pear/HTML/QuickForm2/Rule.php : 275 ]
    HTML_QuickForm2_Rule->validate [ library/pear/HTML/QuickForm2/Node.php : 647 ]
    HTML_QuickForm2_Node->validate [ library/pear/HTML/QuickForm2/Container.php : 418 ]
    HTML_QuickForm2_Container->validate [ library/pear/HTML/QuickForm2.php : 204 ]
    HTML_QuickForm2->validate [ library/pear/HTML/QuickForm2/Controller/Page.php : 253 ]
    HTML_QuickForm2_Controller_Page->storeValues [ library/pear/HTML/QuickForm2/Controller/Action/Next.php : 63 ]
    HTML_QuickForm2_Controller_Action_Next->perform [ library/pear/HTML/QuickForm2/Controller.php : 302 ]
    HTML_QuickForm2_Controller->handle [ library/pear/HTML/QuickForm2/Controller/Page.php : 155 ]
    HTML_QuickForm2_Controller_Page->handle [ library/Am/Form/Signup.php : 267 ]
    Am_Form_Signup_Page->handle [ library/pear/HTML/QuickForm2/Controller.php : 267 ]
    HTML_QuickForm2_Controller->run [ library/Am/Form/Signup.php : 125 ]
    Am_Form_Signup->run [ application/aff/controllers/SignupController.php : 21 ]
    Aff_SignupController->indexAction [ library/Am/Controller.php : 139 ]
    Am_Controller->_runAction [ library/Am/Controller.php : 116 ]
    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 : 1372 ]
    Am_App->run [ index.php : 41 ]


    _________________________________

    The other one is this:

    Table 'betzi_wrdp1.wp_options' doesn't exist at /home/betzi/public_html/amember/application/default/plugins/protect/wordpress/api.php line 44(1146) in query: select * from wp_options where autoload = 'yes' and option_name='siteurl'

    and expanded:

    Exception Am_Exception_PluginDb
    Am_Protect_Databased->dbErrorHandler [ library/DbSimple/Generic.php : 1244 ]
    DbSimple_Generic_LastError->_setLastError [ library/DbSimple/Generic.php : 861 ]
    DbSimple_Generic_Database->_setLastError [ library/DbSimple/Generic.php : 1469 ]
    DbSimple_Mypdo->_setDbError [ library/DbSimple/Generic.php : 1429 ]
    DbSimple_Mypdo->_performQuery [ library/DbSimple/Generic.php : 465 ]
    DbSimple_Generic_Database->_query [ library/DbSimple/Generic.php : 163 ]
    DbSimple_Generic_Database->selectRow [ application/default/plugins/protect/wordpress/api.php : 44 ]
    WordpressAPI->get_option_cache [ application/default/plugins/protect/wordpress/api.php : 56 ]
    WordpressAPI->get_option [ application/default/plugins/protect/wordpress/api.php : 19 ]
    WordpressAPI->__construct [ application/default/plugins/protect/wordpress/wordpress.php : 270 ]
    Am_Protect_Wordpress->getWP [ application/default/plugins/protect/wordpress/wordpress.php : 121 ]
    Am_Protect_Wordpress->getLoggedInRecord [ library/Am/Protect/Databased.php : 397 ]
    Am_Protect_Databased->onAuthCheckLoggedIn [ library/Am/Event.php : 171 ]
    Am_Event->call [ library/Am/Event.php : 194 ]
    Am_Event->handle [ library/Am/Hook.php : 188 ]
    Am_Hook->call [ library/Am/Event.php : 257 ]
    Am_Event->run [ application/default/controllers/LoginController.php : 115 ]
    LoginController->loginWithPlugins [ application/default/controllers/LoginController.php : 137 ]
    LoginController->indexAction [ library/Am/Controller.php : 139 ]
    Am_Controller->_runAction [ library/Am/Controller.php : 116 ]
    Am_Controller->dispatch [ library/Zend/Controller/Action.php : 564 ]
    Zend_Controller_Action->run [ library/Am/Auth/User.php : 109 ]
    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 : 1372 ]
    Am_App->run [ index.php : 41 ]


    Thanks!!!
  4. monicasalazar

    monicasalazar New Member

    Joined:
    Oct 5, 2009
    Messages:
    4
    Anyone? We hava a duedate comming soon and I'm not sure how to fix this. Thanks!
  5. alex

    alex Administrator Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,020

Share This Page