Installation:
The SMTP function doesn’t work. I have to set the option to ‘MAIL’ and use my smtp settings for it to go through. I do get the test email successfully but find the 500 | Server Error.
At this point, I find this in the LAVAREL LOG:
[2021-08-08 09:13:48] production.INFO: db fails
[2021-08-08 09:22:05] production.INFO: Mailer [mail] is not defined.
[2021-08-08 09:22:05] production.INFO: account table not found
[2021-08-08 09:22:55] production.INFO: account table not found
I change the .env file to show error and modify the mail to smtp in the mail section:
MAIL_MAILER=mail
MAIL_MAILER=smtp
This removes the mail config error but shows a database error namely: SQLSTATE[42S02]: Base table or view not found.
Here’s a summary below…
Illuminate\Database
QueryExceptionDoctrine\DBAL\Driver\PDO
Exception
SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘gadmimxhjjn_db6.accounts’ doesn’t existPDOException
SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘gadmimxhjjn_db6.accounts’ doesn’t exist
Thanks Hillel. Right now, it puzzles me that the database is empty. I am running a self hosted instance on a host. What would be the URL to use for this function php artisan migrate:fresh --seed?
@david I am going to rather try another installation (fresh installation) on another domain with a fresh database again. Which version (instance) would you suggest I go for? Is v5.2.17 stable? I found it on github?