Warning: pg_connect(): Unable to connect to PostgreSQL server: could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? in /public/website/step-app.elsa.org/class/vendor/adodb/adodb-php/drivers/adodb-postgres64.inc.php on line 727
ADODB_Exception Object ( [dbms] => postgres9 [fn] => CONNECT [sql] => [params] => [host] => localhost [database] => webstep_app_elsa_org [message:protected] => postgres9 error: [-1: Database connection failed] in CONNECT(localhost, 'webstep_app_elsa_org', '****', webstep_app_elsa_org) [string:Exception:private] => [code:protected] => -1 [file:protected] => /public/website/step-app.elsa.org/class/vendor/adodb/adodb-php/adodb-exceptions.inc.php [line:protected] => 80 [trace:Exception:private] => Array ( [0] => Array ( [file] => /public/website/step-app.elsa.org/class/vendor/adodb/adodb-php/adodb.inc.php [line] => 698 [function] => adodb_throw [args] => Array ( [0] => postgres9 [1] => CONNECT [2] => -1 [3] => Database connection failed [4] => localhost [5] => webstep_app_elsa_org [6] => ADODB_postgres9 Object ( [databaseType] => postgres9 [metaDefaultsSQL] => SELECT d.adnum as num, pg_get_expr(d.adbin, d.adrelid) as def FROM pg_attrdef d, pg_class c WHERE d.adrelid=c.oid AND c.relname='%s' ORDER BY d.adnum [hasLimit] => 1 [ansiOuter] => 1 [charSet] => 1 [metaColumnsSQL] => SELECT a.attname, CASE WHEN x.sequence_name != '' THEN 'SERIAL' ELSE t.typname END AS typname, a.attlen, a.atttypmod, a.attnotnull, a.atthasdef, a.attnum FROM pg_class c, pg_attribute a JOIN pg_type t ON a.atttypid = t.oid LEFT JOIN ( SELECT c.relname as sequence_name, c1.relname as related_table, a.attname as related_column FROM pg_class c JOIN pg_depend d ON d.objid = c.oid LEFT JOIN pg_class c1 ON d.refobjid = c1.oid LEFT JOIN pg_attribute a ON (d.refobjid, d.refobjsubid) = (a.attrelid, a.attnum) WHERE c.relkind = 'S' AND c1.relname = '%s' ) x ON x.related_column= a.attname WHERE c.relkind in ('r','v') AND (c.relname='%s' or c.relname = lower('%s')) AND a.attname not like '....%%' AND a.attnum > 0 AND a.attrelid = c.oid ORDER BY a.attnum [metaColumnsSQL1] => SELECT a.attname, CASE WHEN x.sequence_name != '' THEN 'SERIAL' ELSE t.typname END AS typname, a.attlen, a.atttypmod, a.attnotnull, a.atthasdef, a.attnum FROM pg_class c, pg_namespace n, pg_attribute a JOIN pg_type t ON a.atttypid = t.oid LEFT JOIN ( SELECT c.relname as sequence_name, c1.relname as related_table, a.attname as related_column FROM pg_class c JOIN pg_depend d ON d.objid = c.oid LEFT JOIN pg_class c1 ON d.refobjid = c1.oid LEFT JOIN pg_attribute a ON (d.refobjid, d.refobjsubid) = (a.attrelid, a.attnum) WHERE c.relkind = 'S' AND c1.relname = '%s' ) x ON x.related_column= a.attname WHERE c.relkind in ('r','v') AND (c.relname='%s' or c.relname = lower('%s')) AND c.relnamespace=n.oid and n.nspname='%s' AND a.attname not like '....%%' AND a.attnum > 0 AND a.atttypid = t.oid AND a.attrelid = c.oid ORDER BY a.attnum [dataProvider] => postgres [hasInsertID] => 1 [_resultid] => [concat_operator] => || [metaDatabasesSQL] => select datname from pg_database where datname not in ('template0','template1') order by 1 [metaTablesSQL] => select tablename,'T' from pg_tables where tablename not like 'pg\_%' and tablename not in ('sql_features', 'sql_implementation_info', 'sql_languages', 'sql_packages', 'sql_sizing', 'sql_sizing_profiles') union select viewname,'V' from pg_views where viewname not like 'pg\_%' [isoDates] => 1 [sysDate] => CURRENT_DATE [sysTimeStamp] => CURRENT_TIMESTAMP [blobEncodeType] => C [metaKeySQL] => SELECT ic.relname AS index_name, a.attname AS column_name,i.indisunique AS unique_key, i.indisprimary AS primary_key FROM pg_class bc, pg_class ic, pg_index i, pg_attribute a WHERE bc.oid = i.indrelid AND ic.oid = i.indexrelid AND (i.indkey[0] = a.attnum OR i.indkey[1] = a.attnum OR i.indkey[2] = a.attnum OR i.indkey[3] = a.attnum OR i.indkey[4] = a.attnum OR i.indkey[5] = a.attnum OR i.indkey[6] = a.attnum OR i.indkey[7] = a.attnum) AND a.attrelid = bc.oid AND bc.relname = '%s' [hasAffectedRows] => 1 [true] => TRUE [false] => FALSE [fmtDate] => 'Y-m-d' [fmtTimeStamp] => 'Y-m-d H:i:s' [hasMoveFirst] => 1 [hasGenID] => 1 [_genIDSQL] => SELECT NEXTVAL('%s') [_genSeqSQL] => CREATE SEQUENCE %s START %s [_dropSeqSQL] => DROP SEQUENCE %s [random] => random() [autoRollback] => 1 [uniqueIisR] => 1 [_bindInputArray] => 1 [disableBlobs] => [_pnum] => 0 [database] => webstep_app_elsa_org [host] => localhost [port] => [user] => webstep_app_elsa_org [password] => not stored [debug] => [maxblobsize] => 262144 [substr] => substr [length] => length [upperCase] => upper [replaceQuote] => \' [nameQuote] => " [uniqueOrderBy] => [emptyDate] =>   [emptyTimeStamp] =>   [lastInsID] => [hasTop] => [readOnly] => [hasTransactions] => 1 [genID] => 0 [raiseErrorFn] => adodb_throw [cacheSecs] => 3600 [memCache] => 1 [memCacheHost] => Array ( [0] => 127.0.0.1 ) [memCachePort] => 11211 [memCacheCompress] => 1 [sysUTimeStamp] => [arrayClass] => ADORecordSet_array [noNullStrings] => [numCacheHits] => 0 [numCacheMisses] => 0 [pageExecuteCountRows] => 1 [uniqueSort] => [leftOuter] => [rightOuter] => [poorAffectedRows] => [fnExecute] => [fnCacheExecute] => [rsPrefix] => ADORecordSet_ [autoCommit] => 1 [transOff] => 0 [transCnt] => 0 [fetchMode] => [null2null] => null [bulkBind] => [_oldRaiseFn] => [_transOK] => [_connectionID] => [_errorMsg] => Database connection failed [_errorCode] => [_queryID] => [_isPersistentConnection] => [_evalAll] => [_affected] => [_logsql] => [_transmode] => [connectionParameters:protected] => Array ( ) ) ) ) [1] => Array ( [file] => /public/website/step-app.elsa.org/include/db.inc.php [line] => 25 [function] => Connect [class] => ADOConnection [type] => -> [args] => Array ( [0] => localhost [1] => webstep_app_elsa_org [2] => gfThtd786gFtdjhgtf- [3] => webstep_app_elsa_org ) ) [2] => Array ( [file] => /public/website/step-app.elsa.org/header.php [line] => 11 [args] => Array ( [0] => /public/website/step-app.elsa.org/include/db.inc.php ) [function] => require ) [3] => Array ( [file] => /public/website/step-app.elsa.org/default.php [line] => 2 [args] => Array ( [0] => /public/website/step-app.elsa.org/header.php ) [function] => require ) ) [previous:Exception:private] => [msg] => Database connection failed ) Database connection failed. Please contact administrator