I am having the following issue with the module:
When I click the [Print] button on an order, it takes me to a blank page, no html on it at all.
When I try to email an invoice, it throws the following errors:
Notice: Undefined index: commerce_invoice_receipt_mail_admin_form in drupal_retrieve_form() (line 763 of D:\InetPub\114\testsite\store\includes\form.inc).
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'commerce_invoice_receipt_mail_admin_form' not found or invalid function name in drupal_retrieve_form() (line 798 of D:\InetPub\114\testsite\store\includes\form.inc).
Any ideas? Not seeing my specific problem presenting in any of these other open issues...
I am running Commerce Kickstart 7.x-1.12.
Comments
Comment #1
jasonabc CreditAttribution: jasonabc commentedThe Print button is working fine for me, but I am getting the same exact issue when clicking the "Email" button. I am running latest versions of D7 (7.18) and Drupal Commerce (1.4)
Comment #2
DagleesI'll test this on a clean installation later and fix it.
Comment #3
DagleesI applied a fix on dev that addresses the issue with older installations of Invoice Receipt.
Comment #4
agf1583 CreditAttribution: agf1583 commentedThe fix did not solve the problem I'm experiencing.
When I click the email button, I now get to the "email recipient" screen, which is further than I got before...but when I click send I am sent to a blank page with no html, and the email is not sent. In case this helps, the url I'm taken to is:
index.php?q=admin/commerce/orders/8/view/mail
For the [Print] button, I am still taken to a blank screen. The url is:
?q=admin/commerce/orders/8/view/print
Comment #5
Daglees@agf1583 can you check your error log at admin/reports/dblog and filter by PHP? Blank page could indicate an internal error and I'd need to see the log.
Comment #6
agf1583 CreditAttribution: agf1583 commentedWhen the buttons fail, they are throwing no errors, php or otherwise.
I noticed that the module works on my local drupal installation, but not on my hosted store. Could it be an issue with my hosting solution? Any settings in php.ini that I should look at?
Comment #7
lima2x CreditAttribution: lima2x commentedI am on D7.16, printing is fine but emailing from Order page do :
Notice : Undefined index: commerce_invoice_receipt_mail_admin_form dans drupal_retrieve_form() (ligne 765 dans /var/www/clients/client3/web5/web/includes/form.inc).
Warning : call_user_func_array() expects parameter 1 to be a valid callback, function 'commerce_invoice_receipt_mail_admin_form' not found or invalid function name dans drupal_retrieve_form() (ligne 800 dans /var/www/clients/client3/web5/web/includes/form.inc).
The email Rule is working fine to.
Comment #8
pyrello CreditAttribution: pyrello commentedThis issue appears to be fixed in dev. If you are not using dev, you can fix it in commerce_invoice_receipt.admin.inc by replacing all instances of "commerce_invoice_receipt_mail_form" with "commerce_invoice_receipt_mail_admin_form"
Comment #9
lima2x CreditAttribution: lima2x commentedWorks fine with dev !
Thank you
Comment #10
DagleesThe fix in dev will be added to the next stable release.