Hello,
I'm running Version 1.2.7 and it is again not possible to send invoices neither to print them at "Sales=>Invoices":
Error for mail:
Kind regards
Hermann
I'm running Version 1.2.7 and it is again not possible to send invoices neither to print them at "Sales=>Invoices":
Error for mail:
Fatal error: Uncaught exception 'Swift_IoException' with message 'Unable to open file for reading [upload/INV-2016-987652.pdf]' in /system/vendor/swiftmailer/swiftmailer/lib/classes/Swift/ByteStream/FileByteStream.php:143 Stack trace: #0 /system/vendor/swiftmailer/swiftmailer/lib/classes/Swift/ByteStream/FileByteStream.php(84): Swift_ByteStream_FileByteStream->_getReadHandle() #1 /system/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/SimpleMimeEntity.php(701): Swift_ByteStream_FileByteStream->read(8192) #2 /system/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/SimpleMimeEntity.php(353): Swift_Mime_SimpleMimeEntity->_readStream(Object(Swift_ByteStream_FileByteStream)) #3 /system/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/SimpleMimeEntity.php(489): Swift_Mime_SimpleMimeEntity->getBody() #4 /home/netmardo/public_html/system/vendor/swiftmailer/swi in /system/vendor/swiftmailer/swiftmailer/lib/classes/Swift/ByteStream/FileByteStream.php on line 143
Kind regards
Hermann
Share this post:
Responses (3)
-
Accepted Answer
-
Accepted Answer
Hi Denis, thank you for your quick response.
I've thought about the folder permission before I've made the inquire. I've the folder permission 755 which is OK for our server and also tested with permission 777: no result. I've disabled in the script the deletion of generated file in "/admin/controller/sale/invoice.php" at line 829 to check if the file is been written. There was no file written.
We're selling web hosting too so I know the server configuration:
https://www.gowebcreative.com/explorar-web/alojamiento-web/precios-de-alojamiento-web
The invoice mailing was function in the version before after made the suggested change at line 813 "/admin/controller/sale/invoice.php" and after updating to version 1.2.7 cures the given error.
Kind regards
Hermann -
Accepted Answer
Hi Denis,
Sending invoices by mail do still not function, because I've not got an reasonable answer yet. It can't be an permission problem! If yes in this case would the answer show a write error and not an read error.
I've checked the script "/system/vendor/swiftmailer/swiftmailer/lib/classes/Swift/ByteStream/FileByteStream.php" and if there would be an write error it would show one.
Kind regards
Hermann
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »