Products db error

Discussion in 'Troubleshooting' started by nikkisilvernn, May 12, 2014.

  1. nikkisilvernn

    nikkisilvernn New Member

    Joined:
    Jul 30, 2013
    Messages:
    2
    I can't access my products! I get "An Error has occurred

    The database has encountered a problem, please try again later."

    I've looked in the error logs but there is no error reported that is associated with products.

    ERRORS:
    --

    ccBill Datalink error: Authentication failed. 02

    Failed loading BillingPlan(3)

    ccBill Datalink error: Authentication failed. 02
    ---
    I can't get to the products to make sure they are set up correctly with ccbill - so payments on my website are not going through!
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Add this line to the bottom of /amember/.htaccess file:
    SetEnv APPLICATION_ENV "debug"

    Then copy & paste full error which you get when you try to access products.
  3. nikkisilvernn

    nikkisilvernn New Member

    Joined:
    Jul 30, 2013
    Messages:
    2
    Exception Am_Exception_Db_NotFound
    Am_Table->loadRow [ library/Am/Record.php : 744 ]
    Am_Table->load [ application/default/models/Product.php : 196 ]
    Product->getBillingPlan [ application/default/controllers/AdminProductsController.php : 508 ]
    AdminProductsController->renderTerms
    call_user_func [ library/Am/Grid/Field.php : 81 ]
    Am_Grid_Field->render [ library/Am/Grid/ReadOnly.php : 294 ]
    Am_Grid_ReadOnly->renderRow [ library/Am/Grid/ReadOnly.php : 265 ]
    Am_Grid_ReadOnly->renderTable [ library/Am/Grid/Editable.php : 279 ]
    Am_Grid_Editable->renderTable [ library/Am/Grid/ReadOnly.php : 313 ]
    Am_Grid_ReadOnly->renderContent [ library/Am/Grid/ReadOnly.php : 354 ]
    Am_Grid_ReadOnly->render [ library/Am/Grid/ReadOnly.php : 475 ]
    Am_Grid_ReadOnly->indexAction [ library/Am/Grid/Editable.php : 232 ]
    Am_Grid_Editable->actionRun [ library/Am/Grid/ReadOnly.php : 422 ]
    Am_Grid_ReadOnly->run [ library/Am/Grid/ReadOnly.php : 459 ]
    Am_Grid_ReadOnly->runWithLayout [ library/Am/Controller/Grid.php : 25 ]
    Am_Controller_Grid->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 : 1694 ]
    Am_App->run [ index.php : 43 ]
  4. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Ok. You get this error because you have one product missing in am_product table but there are related records in other aMember tables.
    In order to fix this, contact us in helpdesk and provide acess info.

Share This Page