object(ADODB_Exception)#4 (14) { ["dbms"]=> string(9) "postgres7" ["fn"]=> string(7) "CONNECT" ["sql"]=> string(0) "" ["params"]=> string(0) "" ["host"]=> string(9) "localhost" ["database"]=> string(35) "factoho_performancepluscoralsprings" ["message":protected]=> string(128) "postgres7 error: [-1: Database connection failed] in CONNECT(localhost, 'factoho', '****', factoho_performancepluscoralsprings) " ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(-1) ["file":protected]=> string(98) "/home/factoho/public_html/performancepluscoralsprings.com/librerias/adodb/adodb-exceptions.inc.php" ["line":protected]=> int(78) ["trace":"Exception":private]=> array(4) { [0]=> array(4) { ["file"]=> string(87) "/home/factoho/public_html/performancepluscoralsprings.com/librerias/adodb/adodb.inc.php" ["line"]=> int(441) ["function"]=> string(11) "adodb_throw" ["args"]=> array(7) { [0]=> string(9) "postgres7" [1]=> string(7) "CONNECT" [2]=> int(-1) [3]=> string(26) "Database connection failed" [4]=> string(9) "localhost" [5]=> string(35) "factoho_performancepluscoralsprings" [6]=> object(ADODB_postgres7)#3 (85) { ["databaseType"]=> string(9) "postgres7" ["hasLimit"]=> bool(true) ["ansiOuter"]=> bool(true) ["charSet"]=> bool(true) ["dataProvider"]=> string(8) "postgres" ["hasInsertID"]=> bool(true) ["_resultid"]=> bool(false) ["concat_operator"]=> string(2) "||" ["metaDatabasesSQL"]=> string(89) "select datname from pg_database where datname not in ('template0','template1') order by 1" ["metaTablesSQL"]=> string(289) "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"]=> bool(true) ["sysDate"]=> string(12) "CURRENT_DATE" ["sysTimeStamp"]=> string(17) "CURRENT_TIMESTAMP" ["blobEncodeType"]=> string(1) "C" ["metaColumnsSQL"]=> string(317) "SELECT a.attname,t.typname,a.attlen,a.atttypmod,a.attnotnull,a.atthasdef,a.attnum FROM pg_class c, pg_attribute a,pg_type t WHERE relkind in ('r','v') AND (c.relname='%s' or c.relname = lower('%s')) and a.attname not like '....%%' AND a.attnum > 0 AND a.atttypid = t.oid AND a.attrelid = c.oid ORDER BY a.attnum" ["metaColumnsSQL1"]=> string(385) "SELECT a.attname, t.typname, a.attlen, a.atttypmod, a.attnotnull, a.atthasdef, a.attnum FROM pg_class c, pg_attribute a, pg_type t, pg_namespace n WHERE 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" ["metaKeySQL"]=> string(485) "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"]=> bool(true) ["true"]=> string(4) "TRUE" ["false"]=> string(5) "FALSE" ["fmtDate"]=> string(7) "'Y-m-d'" ["fmtTimeStamp"]=> string(13) "'Y-m-d H:i:s'" ["hasMoveFirst"]=> bool(true) ["hasGenID"]=> bool(true) ["_genIDSQL"]=> string(20) "SELECT NEXTVAL('%s')" ["_genSeqSQL"]=> string(27) "CREATE SEQUENCE %s START %s" ["_dropSeqSQL"]=> string(16) "DROP SEQUENCE %s" ["metaDefaultsSQL"]=> string(125) "SELECT d.adnum as num, d.adsrc as def from pg_attrdef d, pg_class c where d.adrelid=c.oid and c.relname='%s' order by d.adnum" ["random"]=> string(8) "random()" ["autoRollback"]=> bool(true) ["_bindInputArray"]=> bool(true) ["disableBlobs"]=> bool(false) ["database"]=> string(35) "factoho_performancepluscoralsprings" ["host"]=> string(9) "localhost" ["user"]=> string(7) "factoho" ["password"]=> string(12) "Kp"pzSB+Sw+B" ["debug"]=> bool(false) ["maxblobsize"]=> int(262144) ["substr"]=> string(6) "substr" ["length"]=> string(6) "length" ["upperCase"]=> string(5) "upper" ["replaceQuote"]=> string(2) "\'" ["nameQuote"]=> string(1) """ ["uniqueOrderBy"]=> bool(false) ["emptyDate"]=> string(6) " " ["emptyTimeStamp"]=> string(6) " " ["lastInsID"]=> bool(false) ["hasTop"]=> bool(false) ["readOnly"]=> bool(false) ["hasTransactions"]=> bool(true) ["genID"]=> int(0) ["raiseErrorFn"]=> string(11) "adodb_throw" ["cacheSecs"]=> int(3600) ["memCache"]=> bool(false) ["memCacheHost"]=> NULL ["memCachePort"]=> int(11211) ["memCacheCompress"]=> bool(false) ["arrayClass"]=> string(18) "ADORecordSet_array" ["noNullStrings"]=> bool(false) ["numCacheHits"]=> int(0) ["numCacheMisses"]=> int(0) ["pageExecuteCountRows"]=> bool(true) ["uniqueSort"]=> bool(false) ["leftOuter"]=> bool(false) ["rightOuter"]=> bool(false) ["poorAffectedRows"]=> bool(false) ["fnExecute"]=> bool(false) ["fnCacheExecute"]=> bool(false) ["rsPrefix"]=> string(13) "ADORecordSet_" ["autoCommit"]=> bool(true) ["transOff"]=> int(0) ["transCnt"]=> int(0) ["fetchMode"]=> bool(false) ["null2null"]=> string(4) "null" ["_oldRaiseFn"]=> bool(false) ["_transOK"]=> NULL ["_connectionID"]=> bool(false) ["_errorMsg"]=> string(26) "Database connection failed" ["_errorCode"]=> bool(false) ["_queryID"]=> bool(false) ["_isPersistentConnection"]=> bool(false) ["_evalAll"]=> bool(false) ["_affected"]=> bool(false) ["_logsql"]=> bool(false) ["_transmode"]=> string(0) "" } } } [1]=> array(6) { ["file"]=> string(81) "/home/factoho/public_html/performancepluscoralsprings.com/librerias/ModelBase.php" ["line"]=> int(30) ["function"]=> string(7) "Connect" ["class"]=> string(13) "ADOConnection" ["type"]=> string(2) "->" ["args"]=> array(4) { [0]=> string(9) "localhost" [1]=> string(7) "factoho" [2]=> string(12) "Kp"pzSB+Sw+B" [3]=> string(35) "factoho_performancepluscoralsprings" } } [2]=> array(6) { ["file"]=> string(81) "/home/factoho/public_html/performancepluscoralsprings.com/librerias/ModelBase.php" ["line"]=> int(18) ["function"]=> string(9) "singleton" ["class"]=> string(9) "ModelBase" ["type"]=> string(2) "::" ["args"]=> array(0) { } } [3]=> array(6) { ["file"]=> string(87) "/home/factoho/public_html/performancepluscoralsprings.com/administrator/coupons_pdf.php" ["line"]=> int(35) ["function"]=> string(11) "__construct" ["class"]=> string(9) "ModelBase" ["type"]=> string(2) "->" ["args"]=> array(0) { } } } ["previous":"Exception":private]=> NULL ["msg"]=> string(26) "Database connection failed" }
ModelBase.singleton() % line   18, file: ModelBase.php
ModelBase.__construct() % line   35, file: coupons_pdf.php
FPDF error: Some data has already been output, can't send PDF file