Setup as self hosted, few niggles but getting there now. When I email an invoice, the app does send immediately, however the browser spinner continues for quite a long time (circa 5 mins) then returns me to the root folder of the site.
It’s setup on https://mydomain/ninja and seems to run ok. After an email is sent, after a long long wait, i’m returned to https://mydomain/ - if I then hit the back button, I get the email sent successfully message.
During this time (whilst it’s spinning), the client portal is not available either. It’s as if the app is trying to do something but locking out.
App was installed by Sofaculous (did not go smoothly), email is using localhost, no errors in the laravel-error.log - anything else I can check? It’s obviously a setup issue (permissions, redirects?) but no idea where to start.
I was using Sendmail so reverted to Mailgun and it now sends almost immediately.
Now i’ve found another issue, i’m trying to add another user Settings/User Management but when I hit Send Invitation, no emails are sent and nothing is in the logs.
Hopefully once that is sorted, I can use it in anger
Doesn’t make much sense what you mentioned though, adding dd(‘here’) just shows Here in the browser when I hit send invitation or am I missing something?
Mails are being sent from the rest of the application i.e. invoices etc, just not invitations. Surely it’s using the same mail functionality for this part as the invoice send?
Could you point me in the direction of the mail logs for Ninja please, struggling to find them atm.
The same functionality is used throughout but the from address will be different for email for system emails, this may explain why it’s working for invoice emails but not user emails.
Our application doesn’t have an email log, you’d need to check your mail server log.
Right update. I’ve now got it working but there is clearly something wrong with permissions on this deployment. in the master_user.blade.php, i’ve had to remove all the image references, it now works.
Any suggestions how to fix this? I’ve also got major issues with cookies where I regularly get bounced to the root of the site, I then need to clear out cookies in order to use the app again. Completely random when this happens as well. Guessing Softaculous has not quite set the site up correctly, everything else appears to work properly though.