Printing invoice is not possible

Discussion in 'aMember Pro v.4' started by eric_car2, Sep 19, 2012.

  1. eric_car2

    eric_car2 aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    48
    Hi,

    I don't know why but is impossible to print invoice in member aera.

    In error log :

    Wrong key value passed to InvoicePaymentTable(0)

    Exception Am_Exception_Db
    Am_Table->loadRow [ library/Am/Record.php : 738 ]
    Am_Table->load [ application/default/controllers/MemberController.php : 136 ]
    MemberController->getInvoiceAction [ 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 : 1518 ]
    Am_App->run [ index.php : 43 ]


    Could you help me please ?

    Regards,
    Eric
  2. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Eric,

    If you upgraded manually, or setup a custom theme, there can be mismatch between amember PHP code and template code. Download latest verison of aMember from member area, unpack and check that file amember/application/default/views/member/payment-history.phtml on your server matches its latest version.
    If you are using custom theme, do the same check in theme folder for file member/payment-history.phtml
  3. eric_car2

    eric_car2 aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    48
    Thank you Alex,
    all is ok now :)

    Eric

Share This Page