Quick fixes for common errors after installing phpMyAdmin
The following are the commands needed to install WordPress from the command line.
Occasionally while editing a site, I’ll get a blank screen or even an error message. The latest version of WordPress has made some nice upgrades to show a formatted error message, like this: Along with this message, an email with more details will be sent out describing the error. An additional step I’ve taken to…… Continue reading How to Diagnose and Troubleshoot WordPress
Included in this post is information on those errors and some general suggestions on setting up your own web hosting on your OS X machine.
Add this code to your wp-config.php file when installing a self-contained WordPress install on this site. This will ensure that the themes and plugins directories pull from the main wp-content directory on this server. The additional code will ensure that the uploads are left within the individual site install. define( ‘WP_CONTENT_DIR’, ‘/var/www/marketing/wp-content’ ); define( ‘WP_CONTENT_URL’,…… Continue reading Universal wp-content Directory
Add these lines to your wp-config.php file to turn on debugging. Information will be saved in wp-content/debug.log file. define( ‘WP_DEBUG’, true ); define( ‘WP_DEBUG_LOG’, ‘/tmp/sitename-wp-errors.log’ ); define( ‘WP_DEBUG_DISPLAY’, false );