Tried to set up unit tests tonight as I’ve done myriad times before. This time I was getting nowhere. The database was being created but that was it. As usual, I was running install-wp-tests.sh from the command line after ssh-ing into the Vagrant box. vagrant@vvv:/srv/www/plugins/htdocs/wp-content/plugins/aviation-weather-from-noaa$ bash bin/install-wp-tests.sh wordpress_test root ‘root’ localhost latest + install_wp + ‘[‘ […]
VVV
Nginx Proxy_Pass for WordPress Multisite
For a single VVV site pulling images from its live counterpart , this works great. It will pull images and other files from a live site to display in your dev env. # Directives to send expires headers and turn off 404 error logging. location ~* .(js|css|png|jpg|jpeg|gif|ico|mp3|mov|tif|tiff|swf|txt|html)$ { expires 24h; log_not_found off; try_files $uri $uri/ […]
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