Archive for July, 2012

build-key complains: “unable to load CA private key”

Thursday, July 12th, 2012

Just came across this when trying to add access to a new OpenVPN client. After a lot of rooting around I discovered that keys/ca.key, although the file existed, had been zeroed out.

Pretty sneaky, Sis.

Had to generate a new ca.key and then build new certs for all existing clients.

Defeating “Maximum function nesting level of ‘100’ reached” problems when running PHPUnit against Symfony2

Friday, July 6th, 2012

In a nutshell:  It’s an xdebug config problem.  Try increasing xdebug’s max nesting level in php.ini:

xdebug.max_nesting_level=1000

If you’re on a platform that supports separate php.ini files for both Apache and the command line, be sure you update the cli instance.

This little beauty has already stumped me twice. Thank goodness for Cordova’s obscure bit of advice.