| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Invoice notification | ||||
|
|
Thread Tools | Search this Thread |
#41
|
|||||||
|
|||||||
Re: Invoice notification
Here's the php_error.log
<?php die(1); ?> [17-Nov-2014 08:56:38 America/Chicago] PHP Fatal error: Cannot make static method XLite\Core\MailerAbstract::sendProcessOrderCustome r() non static in class XLite\Module\FasterThanYours\InvoiceTextNotificati on\Core\Mailer in /home/myyamaha/public_html/lpo/var/run/classes/XLite/Module/FasterThanYours/InvoiceTextNotification/Core/Mailer.php on line 6
__________________
X-Cart 4.3 Joomla Among other things |
|||||||
#42
|
|||||||
|
|||||||
Re: Invoice notification
What do you think Tony? I'd like to get this mod done. I'm almost done with the site.
__________________
X-Cart 4.3 Joomla Among other things |
|||||||
#43
|
|||||||||
|
|||||||||
Re: Invoice notification
Hi Michael!
Sorry, my bad with the code sample. Please replace this piece of code in your Core/Mailer.php file Code:
with the next one: Code:
After that re-deploy the store and let me know if it works out. Tony.
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
#44
|
|||||||
|
|||||||
Re: Invoice notification
I went in an changed a cash transaction to Paid and I got this:
ERROR: "Includes\ErrorHandler::FATAL_ERROR" (code 2) Call to undefined method XLite\Module\CDev\ContactUs\Core\Mailer::sendProce ssMail() It's worth noting that the email associated with the users account received an order receipt with "Paid" Status on it. However the status did not actually change on that order to Paid. This is the php_error.log: [25-Nov-2014 12:30:43 America/Chicago] PHP Fatal error: Call to undefined method XLite\Module\CDev\ContactUs\Core\Mailer::sendProce ssMail() in /home/myyamaha/public_html/lpo/var/run/classes/XLite/Module/FasterThanYours/InvoiceTextNotification/Core/Mailer.php on line 10 [25-Nov-2014 12:30:43] Error (code: 1): Call to undefined method XLite\Module\CDev\ContactUs\Core\Mailer::sendProce ssMail() Server API: cgi-fcgi; Request method: POST; URI: /admin.php?target=order; Backtrace: #0 Includes\ErrorHandler::logInfo(Call to undefined method XLite\Module\CDev\ContactUs\Core\Mailer::sendProce ssMail(), 1) called at [/home/myyamaha/public_html/lpo/Includes/ErrorHandler.php:324] #1 Includes\ErrorHandler::handleError(Array ([type] => 1,[message] => Call to undefined method XLite\Module\CDev\ContactUs\Core\Mailer::sendProce ssMail(),[file] => /home/myyamaha/public_html/lpo/var/run/classes/XLite/Module/FasterThanYours/InvoiceTextNotification/Core/Mailer.php,[line] => 10)) called at [/home/myyamaha/public_html/lpo/Includes/ErrorHandler.php:309] #2 Includes\ErrorHandler::shutdown() Just in case you want it, here's the package: https://www.dropbox.com/s/7x0lv6soz9tec8q/FasterThanYours-InvoiceTextNotification-v5_1_8.tar?dl=0 So I'm not sure why the Mailer is calling the ContactUs Module?
__________________
X-Cart 4.3 Joomla Among other things |
|||||||
#45
|
|||||||||
|
|||||||||
Re: Invoice notification
Could you please also replace this line:
parent::sendProcessMail(); with the next one: parent::sendProcessOrderCustomer($order) in you class? It should do the trick.
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
#46
|
|||||||
|
|||||||
Re: Invoice notification
Tony,
Finally we have a winner! thanks again for the help!
__________________
X-Cart 4.3 Joomla Among other things |
|||||||
|
|||
X-Cart forums © 2001-2020
|