JavaScript required
We’re sorry, but Coda doesn’t work properly without JavaScript enabled.
Gallery
CalInnovate Toolkit
Share
Explore
Gallery
CalInnovate Toolkit
CalInnovate Toolkit
Plain language
Plain language standard
Plain language guidance
Plain language resources
Plain language checklist
Web development [DRAFT]
Web publishing overview
Web publishing stacks
Building CA websites
Pantheon gotchas
Benefits recommender technical overview
Web development [DRAFT]
Pantheon gotchas
Zakiya Khabir
Last edited 256 days ago by System Writer
Troubleshooting
Pantheon uses Nginx instead of Apache. This is only relevant when dealing with code that normally would go in an .htaccess file.
Pantheon uses MariaDB instead of MySQL. Switching between the two
should
be seamless unless you’re writing raw queries.
Pantheon recommends using 3rd party services for mail
. Password reset and other system emails won’t be delivered reliably otherwise.
You may see
504 Target Not Responding
on the first visit to non-production environments in the morning.
This is usually because the container is idle
and will go away on refresh.
Debugging
PHP debugging
Pantheon’s PHP logs
logs/php-error.log
only capture errors. No warnings, no notices.
Use
syslog(LOG_ERROR, "My awesome message")
in php code to log
To monitor you can use ssh and
tail -f logs/php-error.log
These errors
should
also be logged to the Pantheon dashboard real time. (See “Errors” in the sidebar)
Reference
PHP syslog()
WP debugging
If this is set in wp-config.php then errors are also logged to
wp-content/debug.log
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
Other WP debugging resources
Note there is no Terminus command to access logs
PHP error_log()
←- doesn’t have a parameter for severity
Wordpress debugging
Nginx debugging
nginx-access.log
Parse Nginx Access Logs with GoAccess
Local development with Lando
Updating Docker can bork Lando. If that happens, quit Docker and
reinstall Lando
Troubleshooting
Debugging
PHP debugging
Reference
WP debugging
Other WP debugging resources
Nginx debugging
Local development with Lando
Gallery
Share
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
Ctrl
P
) instead.