Forum

Ask, reply and learn. Join the community of Akaunting.

New Discussion

Multiple Issues - Invoices, PDFs & SMTP email

Alex Fabian   ( User )

Commented 5 years ago

Hello,


 


 


Hope that someone can provide some guidance on this, I'm unable to do the following:


- When creating invoices, it gives me an error, but creates the invoice. The error is that the invoice already exists, however it does not.  I exit out to invoices and there it is. :/ 


- After the invoice has been created, I try to send the email, but goes the Whoops, something went wrong. (I've checked the SMTP settings 4 times and it works elsewhere except in the app)


- After the invoice has been created, since I'm unable to send the email. I'll attempt to download the PDF, but it takes me to the Whoops, something went wrong. 


Running the following versions:


PHP 7.27


MySQL 5.6.41


Akaunting 1.3.10


I'm wanting to buy some apps that they sell on the site, but if I can't get this working.  I'll have to look elsewhere.


Appreciate any assistance anyone can provide. 


Thanks,


 

Mohammad Patel   ( User )

Commented 5 years ago

try going into the .env file in the Akaunting folder and enagle debug


APP_DEBUG= true

Alex Fabian   ( User )

Commented 5 years ago

Thank you, I have enabled it and have noticed that all of the actions I'm trying to do will come up with the same error:


Of course the list will continue, this is just the first three or four lines.




















1/1) MissingDependencyException


PHP Fileinfo extension must be installed/enabled to use Intervention Image.


in ImageManager.php line 133
at ImageManager->checkRequirements()in ImageManager.php line 25

at ImageManager->__construct(array('driver' => 'gd'))in ImageServiceProviderLaravel5.php line 51


Syed Muddasir Safdar   ( User )

Commented 5 years ago

Hey,


I can help you regarding:
- After the invoice has been created, I try to send the email, but goes the Whoops, something went wrong. (I've checked the SMTP settings 4 times and it works elsewhere except in the app)


 


my Answer is:


Open .env file and at the end of file you must find the below mentioned code


MAIL_DRIVER=mail


MAIL_HOST=Ask your hosting service provider for email host


MAIL_PORT=Ask your hosting service provider for email port


MAIL_USERNAME=Enter your email


MAIL_PASSWORD=Password of your email


MAIL_ENCRYPTION=ASK your hosting provider


MAIL_FROM_NAME="Your company name"


 


MAIL_FROM_ADDRESS=Again your email



This thing worked for me. so i decided to guide you. I hope it will work for you as well

Alex Fabian   ( User )

Commented 5 years ago

Thank you, unfortunately it did not work. 


I did find that I have to enable the FileInfo extension in php, so I'm working on enabling that.


I'll post my findings later.


Thanks,

Alex Fabian   ( User )

Commented 5 years ago

Thank you for the help, I enabled the FileInfo Extension in php and it worked like a charm, all of the above issued worked.


Thanks for the assistance. Greatly appreciated.

Bulfy   ( User )

Commented 5 years ago

Where are you find this FileInfo Extension?

Please login or register to leave a response.

Showing 1 to 7 of 7 discussions