I just started with the app this week. All was going well, and suddenly it wasn’t. Now all I see is a blank screen. I had most recently attempted to configure email server settings.
Any help?
Dan
I just started with the app this week. All was going well, and suddenly it wasn’t. Now all I see is a blank screen. I had most recently attempted to configure email server settings.
Any help?
Dan
Hi,
Are there any errors in the web server error logs? A blank screen can sometimes be caused by permissions problems.
Why yes, there are errors. I can interpret this as meaning I need to enclose my MAIL_FROM_NAME must be enclosed in quotes. Is there a way to do correct this without being able to open the app?
2021-08-14 15:25:25 | Warning | 170.199.141.136 | mod_fcgid: stderr: PHP Fatal error: Uncaught Dotenv\Exception\InvalidFileException: Dotenv values containing spaces must be surrounded by quotes. in /var/www/vhosts/dinahs.ca/invoices.dinahs.ca/vendor/vlucas/phpdotenv/src/Parser.php:86 |
---|---|---|---|
2021-08-14 15:25:25 | Warning | 170.199.141.136 | mod_fcgid: stderr: Stack trace: |
2021-08-14 15:25:25 | Warning | 170.199.141.136 | mod_fcgid: stderr: #0 [internal function]: Dotenv\Parser::Dotenv\{closure}(Array, ‘s’) |
2021-08-14 15:25:25 | Warning | 170.199.141.136 | mod_fcgid: stderr: #1 /var/www/vhosts/dinahs.ca/invoices.dinahs.ca/vendor/vlucas/phpdotenv/src/Parser.php(95): array_reduce(Array, Object(Closure), Array) |
2021-08-14 15:25:25 | Warning | 170.199.141.136 | mod_fcgid: stderr: #2 /var/www/vhosts/dinahs.ca/invoices.dinahs.ca/vendor/vlucas/phpdotenv/src/Parser.php(41): Dotenv\Parser::parseQuotedValue(’‘Dinah’s Sourdo…’) |
2021-08-14 15:25:25 | Warning | 170.199.141.136 | mod_fcgid: stderr: #3 /var/www/vhosts/dinahs.ca/invoices.dinahs.ca/vendor/vlucas/phpdotenv/src/Loader.php(238): Dotenv\Parser::parseValue(’‘Dinah’s Sourdo…’) |
2021-08-14 15:25:25 | Warning | 170.199.141.136 | mod_fcgid: stderr: #4 /var/www/vhosts/dinahs.ca/invoices.dinahs.ca/vendor/vlucas/phpdotenv/src/Loader.php(152): Dotenv\Loader->sanitiseVariableValue(‘MAIL_FROM_NAME’, '‘Dinah’s Sourdo…’) |
2021-08-14 15:25:25 | Warning | 170.199.141.136 | mod_fcgid: stderr: #5 /var/www/vhosts/dinahs.ca/invoices.dinahs.ca/vendor/vlucas/phpdotenv/src/Loader.php(129): Dotenv\Loader->processFilters(‘MAIL_FROM_NAME’, ''Dinah’s in /var/www/vhosts/dinahs.ca/invoices.dinahs.ca/vendor/vlucas/phpdotenv/src/Parser.php on line 86 |
Thanks! I think you may have a space in the .env file without quotes. ie,
FIELD=some value
vs
FIELD=“some value”
Fixed. Thank you.
Dan