OpenJabNab/OpenJabNab — Issue #16: Recent commits break admin area on Ubuntu
Author: arussell
Created: 2011-10-17 15:29:17+00:00
State: open

Accessing the admin area renders a blank page and leaves these errors in my Apache error log.

array_keys() expects parameter 1 to be array, null given in /home/arussell/ojn/http-wrapper/ojn_admin/class/template.class.php on line 20
array_map(): Argument #2 should be an array in /home/arussell/ojn/http-wrapper/ojn_admin/class/template.class.php on line 20
preg_replace(): Empty regular expression in /home/arussell/ojn/http-wrapper/ojn_admin/class/template.class.php on line 20

Rolling back to commit 21741023f452b9aecbef325755706e570794c4e8 makes things work, but commit b125b55287a6730de0fc1973c7d51daeebd68997 (the very next one) makes things fall apart.

I'm running Ubuntu 10.04, Apache 2.2.14-5ubuntu8.6, and PHP 5.3.2-1ubuntu4.9.