Context
-------

$_SERVER: Array
(
    [PATH] => /bin:/usr/bin:/sbin:/usr/sbin
    [RAILS_ENV] => production
    [FCGI_ROLE] => RESPONDER
    [UNIQUE_ID] => VHG42q3suAoAAGCbXSUAAAAD
    [SCRIPT_URL] => /resources/
    [SCRIPT_URI] => http://www.ccpy.org/resources/
    [dsid] => 25676976
    [ds_id_25676976] => {empty_string}
    [DH_USER] => ccpy_admin
    [HTTP_HOST] => www.ccpy.org
    [HTTP_ACCEPT_ENCODING] => x-gzip, gzip, deflate
    [HTTP_USER_AGENT] => CCBot/2.0 (http://commoncrawl.org/faq/)
    [HTTP_ACCEPT_LANGUAGE] => en-us,en-gb,en;q=0.7,*;q=0.3
    [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    [SERVER_SIGNATURE] => {empty_string}
    [SERVER_SOFTWARE] => Apache
    [SERVER_NAME] => www.ccpy.org
    [SERVER_ADDR] => 173.236.187.220
    [SERVER_PORT] => 80
    [REMOTE_ADDR] => 184.73.40.21
    [DOCUMENT_ROOT] => /home/ccpy_admin/ccpy.org
    [SERVER_ADMIN] => webmaster@ccpy.org
    [SCRIPT_FILENAME] => /home/ccpy_admin/ccpy.org/resources/index.php
    [REMOTE_PORT] => 41406
    [GATEWAY_INTERFACE] => CGI/1.1
    [SERVER_PROTOCOL] => HTTP/1.0
    [REQUEST_METHOD] => GET
    [QUERY_STRING] => {empty_string}
    [REQUEST_URI] => /resources/
    [SCRIPT_NAME] => /resources/index.php
    [HTTP_CONNECTION] => close
    [PHP_SELF] => /resources/index.php
    [REQUEST_TIME] => 1416739034
)

$_POST: Array
(
)

$_GET: Array
(
)

$_FILES: Array
(
)

$_SESSION: Array
(
    [fSession::type] => normal
    [fSession::expires] => 1416825434
)

$_COOKIE: Array
(
)
Uncaught fAuthorizationException
--------------------------------
{doc_root}/resources/index.php(46): ResourceCategory::findAll()
{doc_root}/inc/classes/records/ResourceCategory.php(59): fRecordSet::build('ResourceCategor...', Array, Array, NULL, NULL)
{doc_root}/inc/classes/flourish/fRecordSet.php(206): fActiveRecord::forceConfigure('ResourceCategor...')
{doc_root}/inc/classes/flourish/fActiveRecord.php(652): fActiveRecord->__construct()
{doc_root}/inc/classes/flourish/fActiveRecord.php(1115): ResourceCategory->configure()
{doc_root}/inc/classes/records/ResourceCategory.php(31): fORMRelated::setOrderBys(Object(ResourceCategory), 'Resource', Array)
{doc_root}/inc/classes/flourish/fORMRelated.php(1334): fActiveRecord::forceConfigure('Resource')
{doc_root}/inc/classes/flourish/fActiveRecord.php(652): fActiveRecord->__construct()
{doc_root}/inc/classes/flourish/fActiveRecord.php(1115): Resource->configure()
{doc_root}/inc/classes/records/Resource.php(27): fORMFile::configureFileUploadColumn(Object(Resource), 'document', '/home/ccpy_admi...')
{doc_root}/inc/classes/flourish/fORMFile.php(294): fSchema->getColumnInfo('resources', 'document', 'type')
{doc_root}/inc/classes/flourish/fSchema.php(2443): fSchema->getTables()
{doc_root}/inc/classes/flourish/fSchema.php(2746): fDatabase->getVersion()
{doc_root}/inc/classes/flourish/fDatabase.php(1771): fDatabase->query('SELECT version(...')
{doc_root}/inc/classes/flourish/fDatabase.php(2930): fDatabase->preprocess('SELECT version(...', Array, false)
{doc_root}/inc/classes/flourish/fDatabase.php(2776): fDatabase->connect()
{doc_root}/inc/classes/flourish/fDatabase.php(797): fDatabase->handleConnectionErrors(Array)
{doc_root}/inc/classes/flourish/fDatabase.php(2044)
Unable to connect to database - login credentials refused