http://www.thekunit.com/install-plex-server-ubuntu-server/
Archives for July 2014
Xdebug and VIP Quickstart
I’ve been using Varying Vagrant Vagrants ( VVV ) for a while now, and love it. I also love Xdebug. Beats the pants of var_dump() and print_r(). Had some trouble getting it going with WordPress’ VIP Quickstart though. Turns out it just needed some adjustments to a config file. That file is params.pp , located here […]
Memory Limits on VVV
Was trying to import an xml into a VVV site from a live site. 2,995 posts. WP-CLI would do ~150 at most before being killed. Only thing that seemed to help was toggling xdebug on and off, otherwise it was being killed right after the ‘Starting import’ message. Tried WP Importer, but it kept telling […]
Vagrant PHP Error Log
Find PHP error log here /tmp/php_errors.log
WP Error Reporting without editing wp-config.php
I don’t recall where I found this… Add this to your theme’s functions.php to turn on error reporting in WordPress. This way you don’t have to edit core files, and you have easy access to turn it on and off. Just remember to remove it or comment it out before you go live! // Show all errors, […]
Super Basic Bash Script for WP-CLI Import
Did my first WordPress import today using wp-cli. After unzipping the export file, I was looking at 157 xml files. Seemed plausible I could just point wp-cli import to the folder containing them, but all I got was an error: This does not appear to be a WXR file, missing/invalid WXR version number. Fortunately, I recently […]