ADODB_Exception Object ( [dbms] => postgres7 [fn] => EXECUTE [sql] => SELECT * FROM media.object_media_view WHERE id=a [params] => [host] => 172.19.1.106 [database] => massify [message:protected] => postgres7 error: [-1: ERROR: column "a" does not exist LINE 1: SELECT * FROM media.object_media_view WHERE id=a ^] in EXECUTE("SELECT * FROM media.object_media_view WHERE id=a") [string:private] => [code:protected] => -1 [file:protected] => /var/www/massify/sys/external/adodb/adodb-exceptions.inc.php [line:protected] => 78 [trace:private] => Array ( [0] => Array ( [file] => /var/www/massify/sys/external/adodb/adodb.inc.php [line] => 923 [function] => adodb_throw [args] => Array ( [0] => postgres7 [1] => EXECUTE [2] => -1 [3] => ERROR: column "a" does not exist LINE 1: SELECT * FROM media.object_media_view WHERE id=a ^ [4] => SELECT * FROM media.object_media_view WHERE id=a [5] => [6] => ADODB_postgres7 Object ( [databaseType] => postgres7 [hasLimit] => 1 [ansiOuter] => 1 [charSet] => 1 [dataProvider] => postgres [hasInsertID] => 1 [_resultid] => Resource id #118 [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 [metaColumnsSQL] => 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] => 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] => 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 [metaDefaultsSQL] => 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] => random() [autoRollback] => 1 [_bindInputArray] => 1 [disableBlobs] => [database] => massify [host] => 172.19.1.106 [user] => postgres [password] => honkeytonk [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] => [memCacheHost] => [memCachePort] => 11211 [memCacheCompress] => [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 [_oldRaiseFn] => [_transOK] => [_connectionID] => Resource id #117 [_errorMsg] => ERROR: column "a" does not exist LINE 1: SELECT * FROM media.object_media_view WHERE id=a ^ [_errorCode] => [_queryID] => [_isPersistentConnection] => [_evalAll] => [_affected] => [_logsql] => [_transmode] => [port] => 6000 [version] => Array ( [description] => PostgreSQL 8.2.3 on i386-apple-darwin8.8.4, compiled by GCC i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5363) [version] => 8.2.3 ) [pgVersion] => 8.2 [_nestedSQL] => 1 ) ) ) [1] => Array ( [file] => /var/www/massify/sys/external/adodb/adodb.inc.php [line] => 887 [function] => _Execute [class] => ADOConnection [type] => -> [args] => Array ( [0] => SELECT * FROM media.object_media_view WHERE id=a [1] => ) ) [2] => Array ( [file] => /var/www/massify/sys/external/adodb/adodb.inc.php [line] => 1467 [function] => Execute [class] => ADOConnection [type] => -> [args] => Array ( [0] => SELECT * FROM media.object_media_view WHERE id=a [1] => ) ) [3] => Array ( [file] => /var/www/massify/sys/data/driver/database/pgsql.php [line] => 148 [function] => GetRow [class] => ADOConnection [type] => -> [args] => Array ( [0] => SELECT * FROM media.object_media_view WHERE id=a ) ) [4] => Array ( [file] => /var/www/massify/sys/data/model.php [line] => 166 [function] => fetch_row [class] => PgSqlDatabase [type] => -> [args] => Array ( [0] => media.object_media_view [1] => id [2] => a ) ) [5] => Array ( [file] => /var/www/massify/sys/data/model.php [line] => 120 [function] => reload [class] => Model [type] => -> [args] => Array ( ) ) [6] => Array ( [file] => /var/www/massify/sys/data/observable_model.php [line] => 70 [function] => __construct [class] => Model [type] => -> [args] => Array ( [0] => a [1] => [2] => [3] => [4] => ) ) [7] => Array ( [file] => /var/www/massify/app/controller/pitches/index.php [line] => 83 [function] => __construct [class] => ObservableModel [type] => -> [args] => Array ( [0] => a ) ) [8] => Array ( [function] => index [class] => IndexController [type] => -> [args] => Array ( [0] => hellwardbound [1] => a [2] => a [3] => abr ) ) [9] => Array ( [file] => /var/www/massify/sys/app/dispatcher.php [line] => 302 [function] => call_user_func_array [args] => Array ( [0] => Array ( [0] => IndexController Object ( [project_id:protected] => 2086137 [basic_data:protected] => Array ( [security] => ProjectSecurity Object ( [session] => Session Object ( [data] => Array ( ) ) [access] => 2 [project:private] => ProjectView Object ( [useful_position_ids] => Array ( [director] => 6020 [producer] => 6050 [screenwriter] => 3020 [casting_director] => 6015 ) [table_name] => project.project_view [primary_key] => id [readonly] => 1 [database] => default [owner_field] => profile_id [_observers] => Array ( [rate] => Array ( [0] => ActivityLogger Object ( ) ) [comment] => Array ( [0] => ActivityLogger Object ( ) ) ) [model_state] => 1 [db] => PgSqlDatabase Object ( [_connection:private] => ADODB_postgres7 Object ( [databaseType] => postgres7 [hasLimit] => 1 [ansiOuter] => 1 [charSet] => 1 [dataProvider] => postgres [hasInsertID] => 1 [_resultid] => Resource id #118 [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 [metaColumnsSQL] => 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] => 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] => 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 [metaDefaultsSQL] => 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] => random() [autoRollback] => 1 [_bindInputArray] => 1 [disableBlobs] => [database] => massify [host] => 172.19.1.106 [user] => postgres [password] => honkeytonk [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] => [memCacheHost] => [memCachePort] => 11211 [memCacheCompress] => [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 [_oldRaiseFn] => [_transOK] => [_connectionID] => Resource id #117 [_errorMsg] => ERROR: column "a" does not exist LINE 1: SELECT * FROM media.object_media_view WHERE id=a ^ [_errorCode] => [_queryID] => [_isPersistentConnection] => [_evalAll] => [_affected] => [_logsql] => [_transmode] => [port] => 6000 [version] => Array ( [description] => PostgreSQL 8.2.3 on i386-apple-darwin8.8.4, compiled by GCC i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5363) [version] => 8.2.3 ) [pgVersion] => 8.2 [_nestedSQL] => 1 ) ) [validators] => Array ( [profile_id] => Array ( [0] => RequiredValidator Object ( [_message] => Required. [_data] => ) ) [state_id] => Array ( [0] => RequiredValidator Object ( [_message] => State ID is required. [_data] => ) ) [title] => Array ( [0] => RequiredValidator Object ( [_message] => Project Title is required. [_data] => ) [1] => LengthValidator Object ( [_minlength] => 3 [_maxlength] => 50 [_message] => Unique Title should be between 3 and 50 characters. [_data] => ) ) [addtl_info] => Array ( [0] => RequiredValidator Object ( [_message] => Project Description is required. [_data] => ) ) ) [fields] => Array ( [created] => Field Object ( [name] => created [type] => 4 [length] => 0 [notnull] => [value] => 2008-03-07 11:49:40.20 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [modified] => Field Object ( [name] => modified [type] => 4 [length] => 0 [notnull] => [value] => 2008-03-07 11:49:40.20 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [profile_id] => Field Object ( [name] => profile_id [type] => 3 [length] => 0 [notnull] => [value] => 2320984 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [display_order] => Field Object ( [name] => display_order [type] => 3 [length] => 0 [notnull] => [value] => [description] => The display order [comparison] => 1 [dirty] => [db_type] => [transient] => ) [id] => Field Object ( [name] => id [type] => 3 [length] => 0 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [company_id] => Field Object ( [name] => company_id [type] => 3 [length] => 0 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [project_type_id] => Field Object ( [name] => project_type_id [type] => 3 [length] => 0 [notnull] => [value] => 40 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [state_id] => Field Object ( [name] => state_id [type] => 3 [length] => 0 [notnull] => [value] => 1 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [title] => Field Object ( [name] => title [type] => 1 [length] => 64 [notnull] => [value] => Hellward Bound [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [unique_title] => Field Object ( [name] => unique_title [type] => 1 [length] => 64 [notnull] => [value] => hellwardbound [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [logline] => Field Object ( [name] => logline [type] => 1 [length] => 256 [notnull] => [value] => The residents of Browton consider their city to be Hell on Earth. They're not far off. [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [synopsis] => Field Object ( [name] => synopsis [type] => 1 [length] => 0 [notnull] => [value] => Corruption runs deep in Browton City. Certain citizens have taken law and order into their own hands. These vigilantes monitor police activity through sophisticated telephone scanners and arrive at crime scenes long before the cops ever do; if the cops bother showing up at all. When a particularly brazen vigilante winds up with blood on his hands, he unknowingly sets into motion a nefarious series of events. We learn that Hell has reached full capacity. There is literally no room left. Souls are stacked from floor to ceiling and bulldozers can be seen forcing the damned in as far as inhumanly possible. The exiled soul suggests an alternative: expand Hell's empire to include Browton City. The devil adores the idea and agrees to send the man's soul back to Browton. Only, not all of the man's soul survives the trip and he awakes with a severely stripped down sense of humanity. As one man confronts his destiny with the Devil, the citizens of Browton City are left with the conundrum of how to kill men that are already dead. [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [privacy_status] => Field Object ( [name] => privacy_status [type] => 3 [length] => 0 [notnull] => [value] => 0 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [affiliation] => Field Object ( [name] => affiliation [type] => 1 [length] => 0 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [addtl_info] => Field Object ( [name] => addtl_info [type] => 1 [length] => 0 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [featured] => Field Object ( [name] => featured [type] => 5 [length] => 0 [notnull] => [value] => [description] => Is featured [comparison] => 1 [dirty] => [db_type] => [transient] => ) [unique_display_name] => Field Object ( [name] => unique_display_name [type] => 1 [length] => 32 [notnull] => [value] => paulmkelly [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [display_name] => Field Object ( [name] => display_name [type] => 1 [length] => 32 [notnull] => [value] => Paul Kelly [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [genres] => Field Object ( [name] => genres [type] => 1 [length] => 0 [notnull] => [value] => Action, Comedy, Horror [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [stamps] => Field Object ( [name] => stamps [type] => 1 [length] => 0 [notnull] => [value] => Project [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [project_type] => Field Object ( [name] => project_type [type] => 1 [length] => 64 [notnull] => [value] => Feature Film [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [project_state] => Field Object ( [name] => project_state [type] => 1 [length] => 16 [notnull] => [value] => Whats this type for? [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [start_date] => Field Object ( [name] => start_date [type] => 4 [length] => 0 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [end_date] => Field Object ( [name] => end_date [type] => 4 [length] => 0 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [duration] => Field Object ( [name] => duration [type] => 1 [length] => 64 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [address_1] => Field Object ( [name] => address_1 [type] => 1 [length] => 64 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [address_2] => Field Object ( [name] => address_2 [type] => 1 [length] => 64 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [city] => Field Object ( [name] => city [type] => 1 [length] => 64 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [state] => Field Object ( [name] => state [type] => 1 [length] => 4 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [zipcode] => Field Object ( [name] => zipcode [type] => 1 [length] => 14 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [country] => Field Object ( [name] => country [type] => 1 [length] => 32 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [company_name] => Field Object ( [name] => company_name [type] => 1 [length] => 32 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [company_uri] => Field Object ( [name] => company_uri [type] => 1 [length] => 32 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [file_path] => Field Object ( [name] => file_path [type] => 1 [length] => 16 [notnull] => [value] => dd/26/73/56/0a/3074064/ [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [file_name] => Field Object ( [name] => file_name [type] => 1 [length] => 128 [notnull] => [value] => asset_69eefe9d4713ea0415b7a8271777ae90_2064 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [project_features] => Field Object ( [name] => project_features [type] => 1 [length] => 0 [notnull] => [value] => poster, video [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [rating] => Field Object ( [name] => rating [type] => 1 [length] => 0 [notnull] => [value] => 0.6 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [rating_count] => Field Object ( [name] => rating_count [type] => 3 [length] => 0 [notnull] => [value] => 2 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [views] => Field Object ( [name] => views [type] => 3 [length] => 0 [notnull] => [value] => 3630 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [media_count] => Field Object ( [name] => media_count [type] => 3 [length] => 0 [notnull] => [value] => 7 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [archived] => Field Object ( [name] => archived [type] => 1 [length] => 1000 [notnull] => 1 [value] => f [description] => [comparison] => 1 [dirty] => [db_type] => [transient] => ) ) [primary_key_value] => 2086137 [related] => Array ( [comments] => Relation Object ( [parent] => ProjectView Object *RECURSION* [name] => comments [type] => 2 [model] => comments/comment [foreign_field] => object_id [field] => id [value:private] => ) [ratings] => Relation Object ( [parent] => ProjectView Object *RECURSION* [name] => ratings [type] => 2 [model] => opinion/rating [foreign_field] => object_id [field] => id [value:private] => ) [media] => Relation Object ( [parent] => ProjectView Object *RECURSION* [name] => media [type] => 2 [model] => media/object_media_view [foreign_field] => object_id [field] => [value:private] => Array ( [0] => ObjectMediaView Object ( [table_name] => media.object_media_view [primary_key] => id [readonly] => 1 [database] => default [owner_field] => profile_id [_observers] => Array ( [rate] => Array ( [0] => Messenger Object ( ) [1] => Notifier Object ( ) ) [comment] => Array ( [0] => Messenger Object ( ) [1] => Notifier Object ( ) ) ) [model_state] => 1 [db] => PgSqlDatabase Object ( [_connection:private] => ADODB_postgres7 Object ( [databaseType] => postgres7 [hasLimit] => 1 [ansiOuter] => 1 [charSet] => 1 [dataProvider] => postgres [hasInsertID] => 1 [_resultid] => Resource id #118 [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 [metaColumnsSQL] => 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] => 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] => 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 [metaDefaultsSQL] => 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] => random() [autoRollback] => 1 [_bindInputArray] => 1 [disableBlobs] => [database] => massify [host] => 172.19.1.106 [user] => postgres [password] => honkeytonk [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] => [memCacheHost] => [memCachePort] => 11211 [memCacheCompress] => [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 [_oldRaiseFn] => [_transOK] => [_connectionID] => Resource id #117 [_errorMsg] => ERROR: column "a" does not exist LINE 1: SELECT * FROM media.object_media_view WHERE id=a ^ [_errorCode] => [_queryID] => [_isPersistentConnection] => [_evalAll] => [_affected] => [_logsql] => [_transmode] => [port] => 6000 [version] => Array ( [description] => PostgreSQL 8.2.3 on i386-apple-darwin8.8.4, compiled by GCC i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5363) [version] => 8.2.3 ) [pgVersion] => 8.2 [_nestedSQL] => 1 ) ) [validators] => Array ( [profile_id] => Array ( [0] => RequiredValidator Object ( [_message] => Profile ID is required. [_data] => ) ) [object_id] => Array ( [0] => RequiredValidator Object ( [_message] => Object ID is required. [_data] => ) ) [media_id] => Array ( [0] => RequiredValidator Object ( [_message] => Media ID is required. [_data] => ) ) ) [fields] => Array ( [created] => Field Object ( [name] => created [type] => 4 [length] => 0 [notnull] => [value] => 2008-03-09 00:52:55.80 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [modified] => Field Object ( [name] => modified [type] => 4 [length] => 0 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [profile_id] => Field Object ( [name] => profile_id [type] => 3 [length] => 0 [notnull] => [value] => 2320984 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [display_order] => Field Object ( [name] => display_order [type] => 3 [length] => 0 [notnull] => [value] => [description] => The display order [comparison] => 1 [dirty] => [db_type] => [transient] => ) [object_id] => Field Object ( [name] => object_id [type] => 3 [length] => 0 [notnull] => [value] => 2086137 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [media_id] => Field Object ( [name] => media_id [type] => 3 [length] => 0 [notnull] => [value] => 8066 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [display_index] => Field Object ( [name] => display_index [type] => 3 [length] => 0 [notnull] => [value] => 10 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [usage] => Field Object ( [name] => usage [type] => 1 [length] => 16 [notnull] => [value] => video [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [id] => Field Object ( [name] => id [type] => 3 [length] => 0 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [attached_by] => Field Object ( [name] => attached_by [type] => 3 [length] => 0 [notnull] => [value] => 2320984 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [display_name] => Field Object ( [name] => display_name [type] => 1 [length] => 32 [notnull] => 1 [value] => Paul Kelly [description] => Display name [comparison] => 1 [dirty] => [db_type] => [transient] => ) [unique_display_name] => Field Object ( [name] => unique_display_name [type] => 1 [length] => 32 [notnull] => 1 [value] => paulmkelly [description] => The unique form of the display_name, since spaces are allowed. [comparison] => 1 [dirty] => [db_type] => [transient] => ) [gender] => Field Object ( [name] => gender [type] => 3 [length] => 0 [notnull] => [value] => 1 [description] => Gender, 0=Unknown, 1=Male, 2=Female [comparison] => 1 [dirty] => [db_type] => [transient] => ) [type] => Field Object ( [name] => type [type] => 3 [length] => 0 [notnull] => [value] => 1 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [size] => Field Object ( [name] => size [type] => 3 [length] => 0 [notnull] => [value] => 10478941 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [width] => Field Object ( [name] => width [type] => 3 [length] => 0 [notnull] => [value] => 616 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [height] => Field Object ( [name] => height [type] => 3 [length] => 0 [notnull] => [value] => 462 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [file_name] => Field Object ( [name] => file_name [type] => 1 [length] => 128 [notnull] => [value] => asset_1b6c14733635763445675fb824b44977_2011 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [running_length] => Field Object ( [name] => running_length [type] => 3 [length] => 0 [notnull] => [value] => 141000 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [views] => Field Object ( [name] => views [type] => 3 [length] => 0 [notnull] => [value] => 0 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [file_path] => Field Object ( [name] => file_path [type] => 1 [length] => 16 [notnull] => [value] => 9c/72/84/c5/ba/3074011/ [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [storyboard_id] => Field Object ( [name] => storyboard_id [type] => 3 [length] => 0 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [unique_hash] => Field Object ( [name] => unique_hash [type] => 1 [length] => 33 [notnull] => [value] => 9c/72/84/c5/ba/3074011/ [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [status] => Field Object ( [name] => status [type] => 3 [length] => 0 [notnull] => [value] => 0 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [title] => Field Object ( [name] => title [type] => 1 [length] => 128 [notnull] => [value] => pmkhellwardbound [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [notes] => Field Object ( [name] => notes [type] => 1 [length] => 0 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [original_bucket] => Field Object ( [name] => original_bucket [type] => 1 [length] => 256 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [proc_status_changed] => Field Object ( [name] => proc_status_changed [type] => 4 [length] => 0 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [proc_status] => Field Object ( [name] => proc_status [type] => 3 [length] => 0 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [formats] => Field Object ( [name] => formats [type] => 7 [length] => 0 [notnull] => [value] => Array ( ) [description] => Undocumented column [comparison] => 1 [dirty] => 1 [db_type] => [transient] => ) [mimetype] => Field Object ( [name] => mimetype [type] => 1 [length] => 128 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [original_filename] => Field Object ( [name] => original_filename [type] => 1 [length] => 128 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [original_source] => Field Object ( [name] => original_source [type] => 1 [length] => 256 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) ) [primary_key_value] => 3074011 [related] => Array ( [comments] => Relation Object ( [parent] => ObjectMediaView Object *RECURSION* [name] => comments [type] => 2 [model] => comments/comment [foreign_field] => object_id [field] => id [value:private] => ) [ratings] => Relation Object ( [parent] => ObjectMediaView Object *RECURSION* [name] => ratings [type] => 2 [model] => opinion/rating [foreign_field] => object_id [field] => id [value:private] => ) [media] => Relation Object ( [parent] => ObjectMediaView Object *RECURSION* [name] => media [type] => 1 [model] => media/media [foreign_field] => id [field] => media_id [value:private] => ) [object_media] => Relation Object ( [parent] => ObjectMediaView Object *RECURSION* [name] => object_media [type] => 2 [model] => media/object_media [foreign_field] => object_id [field] => id [value:private] => ) [labels] => Relation Object ( [parent] => ObjectMediaView Object *RECURSION* [name] => labels [type] => 2 [model] => label/object_label_view [foreign_field] => object_id [field] => id [value:private] => ) [flags] => Relation Object ( [parent] => ObjectMediaView Object *RECURSION* [name] => flags [type] => 2 [model] => opinion/flags [foreign_field] => object_id [field] => id [value:private] => ) [favorites] => Relation Object ( [parent] => ObjectMediaView Object *RECURSION* [name] => favorites [type] => 2 [model] => opinion/favorite [foreign_field] => object_id [field] => id [value:private] => ) [owner] => MethodRelation Object ( [parent] => ObjectMediaView Object *RECURSION* [name] => get_owner [type] => [model] => [foreign_field] => [field] => [value:private] => ) [object] => Relation Object ( [parent] => ObjectMediaView Object *RECURSION* [name] => object [type] => 1 [model] => top/user_object [foreign_field] => id [field] => object_id [value:private] => ) [profile] => Relation Object ( [parent] => ObjectMediaView Object *RECURSION* [name] => profile [type] => 1 [model] => profiles/profile [foreign_field] => id [field] => profile_id [value:private] => ) ) [cacheable] => [cached] => [deprecated_msg] => ) [1] => ObjectMediaView Object ( [table_name] => media.object_media_view [primary_key] => id [readonly] => 1 [database] => default [owner_field] => profile_id [_observers] => Array ( [rate] => Array ( [0] => Messenger Object ( ) [1] => Notifier Object ( ) ) [comment] => Array ( [0] => Messenger Object ( ) [1] => Notifier Object ( ) ) ) [model_state] => 1 [db] => PgSqlDatabase Object ( [_connection:private] => ADODB_postgres7 Object ( [databaseType] => postgres7 [hasLimit] => 1 [ansiOuter] => 1 [charSet] => 1 [dataProvider] => postgres [hasInsertID] => 1 [_resultid] => Resource id #118 [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 [metaColumnsSQL] => 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] => 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] => 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 [metaDefaultsSQL] => 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] => random() [autoRollback] => 1 [_bindInputArray] => 1 [disableBlobs] => [database] => massify [host] => 172.19.1.106 [user] => postgres [password] => honkeytonk [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] => [memCacheHost] => [memCachePort] => 11211 [memCacheCompress] => [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 [_oldRaiseFn] => [_transOK] => [_connectionID] => Resource id #117 [_errorMsg] => ERROR: column "a" does not exist LINE 1: SELECT * FROM media.object_media_view WHERE id=a ^ [_errorCode] => [_queryID] => [_isPersistentConnection] => [_evalAll] => [_affected] => [_logsql] => [_transmode] => [port] => 6000 [version] => Array ( [description] => PostgreSQL 8.2.3 on i386-apple-darwin8.8.4, compiled by GCC i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5363) [version] => 8.2.3 ) [pgVersion] => 8.2 [_nestedSQL] => 1 ) ) [validators] => Array ( [profile_id] => Array ( [0] => RequiredValidator Object ( [_message] => Profile ID is required. [_data] => ) ) [object_id] => Array ( [0] => RequiredValidator Object ( [_message] => Object ID is required. [_data] => ) ) [media_id] => Array ( [0] => RequiredValidator Object ( [_message] => Media ID is required. [_data] => ) ) ) [fields] => Array ( [created] => Field Object ( [name] => created [type] => 4 [length] => 0 [notnull] => [value] => 2008-03-09 21:34:43.30 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [modified] => Field Object ( [name] => modified [type] => 4 [length] => 0 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [profile_id] => Field Object ( [name] => profile_id [type] => 3 [length] => 0 [notnull] => [value] => 2320984 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [display_order] => Field Object ( [name] => display_order [type] => 3 [length] => 0 [notnull] => [value] => [description] => The display order [comparison] => 1 [dirty] => [db_type] => [transient] => ) [object_id] => Field Object ( [name] => object_id [type] => 3 [length] => 0 [notnull] => [value] => 2086137 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [media_id] => Field Object ( [name] => media_id [type] => 3 [length] => 0 [notnull] => [value] => 8178 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [display_index] => Field Object ( [name] => display_index [type] => 3 [length] => 0 [notnull] => [value] => 99 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [usage] => Field Object ( [name] => usage [type] => 1 [length] => 16 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [id] => Field Object ( [name] => id [type] => 3 [length] => 0 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [attached_by] => Field Object ( [name] => attached_by [type] => 3 [length] => 0 [notnull] => [value] => 2320984 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [display_name] => Field Object ( [name] => display_name [type] => 1 [length] => 32 [notnull] => 1 [value] => Paul Kelly [description] => Display name [comparison] => 1 [dirty] => [db_type] => [transient] => ) [unique_display_name] => Field Object ( [name] => unique_display_name [type] => 1 [length] => 32 [notnull] => 1 [value] => paulmkelly [description] => The unique form of the display_name, since spaces are allowed. [comparison] => 1 [dirty] => [db_type] => [transient] => ) [gender] => Field Object ( [name] => gender [type] => 3 [length] => 0 [notnull] => [value] => 1 [description] => Gender, 0=Unknown, 1=Male, 2=Female [comparison] => 1 [dirty] => [db_type] => [transient] => ) [type] => Field Object ( [name] => type [type] => 3 [length] => 0 [notnull] => [value] => 0 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [size] => Field Object ( [name] => size [type] => 3 [length] => 0 [notnull] => [value] => 114917 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [width] => Field Object ( [name] => width [type] => 3 [length] => 0 [notnull] => [value] => 300 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [height] => Field Object ( [name] => height [type] => 3 [length] => 0 [notnull] => [value] => 417 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [file_name] => Field Object ( [name] => file_name [type] => 1 [length] => 128 [notnull] => [value] => asset_65b274f1a0759de4a985a5e390377013_2055 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [running_length] => Field Object ( [name] => running_length [type] => 3 [length] => 0 [notnull] => [value] => 0 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [views] => Field Object ( [name] => views [type] => 3 [length] => 0 [notnull] => [value] => 0 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [file_path] => Field Object ( [name] => file_path [type] => 1 [length] => 16 [notnull] => [value] => 0f/18/ca/41/29/3074055/ [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [storyboard_id] => Field Object ( [name] => storyboard_id [type] => 3 [length] => 0 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [unique_hash] => Field Object ( [name] => unique_hash [type] => 1 [length] => 33 [notnull] => [value] => 0f/18/ca/41/29/3074055/ [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [status] => Field Object ( [name] => status [type] => 3 [length] => 0 [notnull] => [value] => 0 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [title] => Field Object ( [name] => title [type] => 1 [length] => 128 [notnull] => [value] => pmkhellposter2 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [notes] => Field Object ( [name] => notes [type] => 1 [length] => 0 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [original_bucket] => Field Object ( [name] => original_bucket [type] => 1 [length] => 256 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [proc_status_changed] => Field Object ( [name] => proc_status_changed [type] => 4 [length] => 0 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [proc_status] => Field Object ( [name] => proc_status [type] => 3 [length] => 0 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [formats] => Field Object ( [name] => formats [type] => 7 [length] => 0 [notnull] => [value] => Array ( ) [description] => Undocumented column [comparison] => 1 [dirty] => 1 [db_type] => [transient] => ) [mimetype] => Field Object ( [name] => mimetype [type] => 1 [length] => 128 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [original_filename] => Field Object ( [name] => original_filename [type] => 1 [length] => 128 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [original_source] => Field Object ( [name] => original_source [type] => 1 [length] => 256 [notnull] => [value] => 92/0e/fc/6c/54/8178.jpg [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) ) [primary_key_value] => 3074055 [related] => Array ( [comments] => Relation Object ( [parent] => ObjectMediaView Object *RECURSION* [name] => comments [type] => 2 [model] => comments/comment [foreign_field] => object_id [field] => id [value:private] => ) [ratings] => Relation Object ( [parent] => ObjectMediaView Object *RECURSION* [name] => ratings [type] => 2 [model] => opinion/rating [foreign_field] => object_id [field] => id [value:private] => ) [media] => Relation Object ( [parent] => ObjectMediaView Object *RECURSION* [name] => media [type] => 1 [model] => media/media [foreign_field] => id [field] => media_id [value:private] => ) [object_media] => Relation Object ( [parent] => ObjectMediaView Object *RECURSION* [name] => object_media [type] => 2 [model] => media/object_media [foreign_field] => object_id [field] => id [value:private] => ) [labels] => Relation Object ( [parent] => ObjectMediaView Object *RECURSION* [name] => labels [type] => 2 [model] => label/object_label_view [foreign_field] => object_id [field] => id [value:private] => ) [flags] => Relation Object ( [parent] => ObjectMediaView Object *RECURSION* [name] => flags [type] => 2 [model] => opinion/flags [foreign_field] => object_id [field] => id [value:private] => ) [favorites] => Relation Object ( [parent] => ObjectMediaView Object *RECURSION* [name] => favorites [type] => 2 [model] => opinion/favorite [foreign_field] => object_id [field] => id [value:private] => ) [owner] => MethodRelation Object ( [parent] => ObjectMediaView Object *RECURSION* [name] => get_owner [type] => [model] => [foreign_field] => [field] => [value:private] => ) [object] => Relation Object ( [parent] => ObjectMediaView Object *RECURSION* [name] => object [type] => 1 [model] => top/user_object [foreign_field] => id [field] => object_id [value:private] => ) [profile] => Relation Object ( [parent] => ObjectMediaView Object *RECURSION* [name] => profile [type] => 1 [model] => profiles/profile [foreign_field] => id [field] => profile_id [value:private] => ) ) [cacheable] => [cached] => [deprecated_msg] => ) [2] => ObjectMediaView Object ( [table_name] => media.object_media_view [primary_key] => id [readonly] => 1 [database] => default [owner_field] => profile_id [_observers] => Array ( [rate] => Array ( [0] => Messenger Object ( ) [1] => Notifier Object ( ) ) [comment] => Array ( [0] => Messenger Object ( ) [1] => Notifier Object ( ) ) ) [model_state] => 1 [db] => PgSqlDatabase Object ( [_connection:private] => ADODB_postgres7 Object ( [databaseType] => postgres7 [hasLimit] => 1 [ansiOuter] => 1 [charSet] => 1 [dataProvider] => postgres [hasInsertID] => 1 [_resultid] => Resource id #118 [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 [metaColumnsSQL] => 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] => 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] => 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 [metaDefaultsSQL] => 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] => random() [autoRollback] => 1 [_bindInputArray] => 1 [disableBlobs] => [database] => massify [host] => 172.19.1.106 [user] => postgres [password] => honkeytonk [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] => [memCacheHost] => [memCachePort] => 11211 [memCacheCompress] => [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 [_oldRaiseFn] => [_transOK] => [_connectionID] => Resource id #117 [_errorMsg] => ERROR: column "a" does not exist LINE 1: SELECT * FROM media.object_media_view WHERE id=a ^ [_errorCode] => [_queryID] => [_isPersistentConnection] => [_evalAll] => [_affected] => [_logsql] => [_transmode] => [port] => 6000 [version] => Array ( [description] => PostgreSQL 8.2.3 on i386-apple-darwin8.8.4, compiled by GCC i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5363) [version] => 8.2.3 ) [pgVersion] => 8.2 [_nestedSQL] => 1 ) ) [validators] => Array ( [profile_id] => Array ( [0] => RequiredValidator Object ( [_message] => Profile ID is required. [_data] => ) ) [object_id] => Array ( [0] => RequiredValidator Object ( [_message] => Object ID is required. [_data] => ) ) [media_id] => Array ( [0] => RequiredValidator Object ( [_message] => Media ID is required. [_data] => ) ) ) [fields] => Array ( [created] => Field Object ( [name] => created [type] => 4 [length] => 0 [notnull] => [value] => 2008-03-09 23:27:55.40 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [modified] => Field Object ( [name] => modified [type] => 4 [length] => 0 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [profile_id] => Field Object ( [name] => profile_id [type] => 3 [length] => 0 [notnull] => [value] => 2320984 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [display_order] => Field Object ( [name] => display_order [type] => 3 [length] => 0 [notnull] => [value] => [description] => The display order [comparison] => 1 [dirty] => [db_type] => [transient] => ) [object_id] => Field Object ( [name] => object_id [type] => 3 [length] => 0 [notnull] => [value] => 2086137 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [media_id] => Field Object ( [name] => media_id [type] => 3 [length] => 0 [notnull] => [value] => 8207 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [display_index] => Field Object ( [name] => display_index [type] => 3 [length] => 0 [notnull] => [value] => 99 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [usage] => Field Object ( [name] => usage [type] => 1 [length] => 16 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [id] => Field Object ( [name] => id [type] => 3 [length] => 0 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [attached_by] => Field Object ( [name] => attached_by [type] => 3 [length] => 0 [notnull] => [value] => 2320984 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [display_name] => Field Object ( [name] => display_name [type] => 1 [length] => 32 [notnull] => 1 [value] => Paul Kelly [description] => Display name [comparison] => 1 [dirty] => [db_type] => [transient] => ) [unique_display_name] => Field Object ( [name] => unique_display_name [type] => 1 [length] => 32 [notnull] => 1 [value] => paulmkelly [description] => The unique form of the display_name, since spaces are allowed. [comparison] => 1 [dirty] => [db_type] => [transient] => ) [gender] => Field Object ( [name] => gender [type] => 3 [length] => 0 [notnull] => [value] => 1 [description] => Gender, 0=Unknown, 1=Male, 2=Female [comparison] => 1 [dirty] => [db_type] => [transient] => ) [type] => Field Object ( [name] => type [type] => 3 [length] => 0 [notnull] => [value] => 0 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [size] => Field Object ( [name] => size [type] => 3 [length] => 0 [notnull] => [value] => 116549 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [width] => Field Object ( [name] => width [type] => 3 [length] => 0 [notnull] => [value] => 300 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [height] => Field Object ( [name] => height [type] => 3 [length] => 0 [notnull] => [value] => 417 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [file_name] => Field Object ( [name] => file_name [type] => 1 [length] => 128 [notnull] => [value] => asset_c1b424f227363a540d023f0987186cee_2063 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [running_length] => Field Object ( [name] => running_length [type] => 3 [length] => 0 [notnull] => [value] => 0 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [views] => Field Object ( [name] => views [type] => 3 [length] => 0 [notnull] => [value] => 0 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [file_path] => Field Object ( [name] => file_path [type] => 1 [length] => 16 [notnull] => [value] => 0e/e8/7e/8f/31/3074063/ [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [storyboard_id] => Field Object ( [name] => storyboard_id [type] => 3 [length] => 0 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [unique_hash] => Field Object ( [name] => unique_hash [type] => 1 [length] => 33 [notnull] => [value] => 0e/e8/7e/8f/31/3074063/ [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [status] => Field Object ( [name] => status [type] => 3 [length] => 0 [notnull] => [value] => 0 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [title] => Field Object ( [name] => title [type] => 1 [length] => 128 [notnull] => [value] => pmkhellposter3 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [notes] => Field Object ( [name] => notes [type] => 1 [length] => 0 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [original_bucket] => Field Object ( [name] => original_bucket [type] => 1 [length] => 256 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [proc_status_changed] => Field Object ( [name] => proc_status_changed [type] => 4 [length] => 0 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [proc_status] => Field Object ( [name] => proc_status [type] => 3 [length] => 0 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [formats] => Field Object ( [name] => formats [type] => 7 [length] => 0 [notnull] => [value] => Array ( ) [description] => Undocumented column [comparison] => 1 [dirty] => 1 [db_type] => [transient] => ) [mimetype] => Field Object ( [name] => mimetype [type] => 1 [length] => 128 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [original_filename] => Field Object ( [name] => original_filename [type] => 1 [length] => 128 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [original_source] => Field Object ( [name] => original_source [type] => 1 [length] => 256 [notnull] => [value] => 9b/1d/3b/69/cf/8207.jpg [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) ) [primary_key_value] => 3074063 [related] => Array ( [comments] => Relation Object ( [parent] => ObjectMediaView Object *RECURSION* [name] => comments [type] => 2 [model] => comments/comment [foreign_field] => object_id [field] => id [value:private] => ) [ratings] => Relation Object ( [parent] => ObjectMediaView Object *RECURSION* [name] => ratings [type] => 2 [model] => opinion/rating [foreign_field] => object_id [field] => id [value:private] => ) [media] => Relation Object ( [parent] => ObjectMediaView Object *RECURSION* [name] => media [type] => 1 [model] => media/media [foreign_field] => id [field] => media_id [value:private] => ) [object_media] => Relation Object ( [parent] => ObjectMediaView Object *RECURSION* [name] => object_media [type] => 2 [model] => media/object_media [foreign_field] => object_id [field] => id [value:private] => ) [labels] => Relation Object ( [parent] => ObjectMediaView Object *RECURSION* [name] => labels [type] => 2 [model] => label/object_label_view [foreign_field] => object_id [field] => id [value:private] => ) [flags] => Relation Object ( [parent] => ObjectMediaView Object *RECURSION* [name] => flags [type] => 2 [model] => opinion/flags [foreign_field] => object_id [field] => id [value:private] => ) [favorites] => Relation Object ( [parent] => ObjectMediaView Object *RECURSION* [name] => favorites [type] => 2 [model] => opinion/favorite [foreign_field] => object_id [field] => id [value:private] => ) [owner] => MethodRelation Object ( [parent] => ObjectMediaView Object *RECURSION* [name] => get_owner [type] => [model] => [foreign_field] => [field] => [value:private] => ) [object] => Relation Object ( [parent] => ObjectMediaView Object *RECURSION* [name] => object [type] => 1 [model] => top/user_object [foreign_field] => id [field] => object_id [value:private] => ) [profile] => Relation Object ( [parent] => ObjectMediaView Object *RECURSION* [name] => profile [type] => 1 [model] => profiles/profile [foreign_field] => id [field] => profile_id [value:private] => ) ) [cacheable] => [cached] => [deprecated_msg] => ) [3] => ObjectMediaView Object ( [table_name] => media.object_media_view [primary_key] => id [readonly] => 1 [database] => default [owner_field] => profile_id [_observers] => Array ( [rate] => Array ( [0] => Messenger Object ( ) [1] => Notifier Object ( ) ) [comment] => Array ( [0] => Messenger Object ( ) [1] => Notifier Object ( ) ) ) [model_state] => 1 [db] => PgSqlDatabase Object ( [_connection:private] => ADODB_postgres7 Object ( [databaseType] => postgres7 [hasLimit] => 1 [ansiOuter] => 1 [charSet] => 1 [dataProvider] => postgres [hasInsertID] => 1 [_resultid] => Resource id #118 [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 [metaColumnsSQL] => 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] => 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] => 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 [metaDefaultsSQL] => 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] => random() [autoRollback] => 1 [_bindInputArray] => 1 [disableBlobs] => [database] => massify [host] => 172.19.1.106 [user] => postgres [password] => honkeytonk [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] => [memCacheHost] => [memCachePort] => 11211 [memCacheCompress] => [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 [_oldRaiseFn] => [_transOK] => [_connectionID] => Resource id #117 [_errorMsg] => ERROR: column "a" does not exist LINE 1: SELECT * FROM media.object_media_view WHERE id=a ^ [_errorCode] => [_queryID] => [_isPersistentConnection] => [_evalAll] => [_affected] => [_logsql] => [_transmode] => [port] => 6000 [version] => Array ( [description] => PostgreSQL 8.2.3 on i386-apple-darwin8.8.4, compiled by GCC i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5363) [version] => 8.2.3 ) [pgVersion] => 8.2 [_nestedSQL] => 1 ) ) [validators] => Array ( [profile_id] => Array ( [0] => RequiredValidator Object ( [_message] => Profile ID is required. [_data] => ) ) [object_id] => Array ( [0] => RequiredValidator Object ( [_message] => Object ID is required. [_data] => ) ) [media_id] => Array ( [0] => RequiredValidator Object ( [_message] => Media ID is required. [_data] => ) ) ) [fields] => Array ( [created] => Field Object ( [name] => created [type] => 4 [length] => 0 [notnull] => [value] => 2008-03-07 11:50:07.90 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [modified] => Field Object ( [name] => modified [type] => 4 [length] => 0 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [profile_id] => Field Object ( [name] => profile_id [type] => 3 [length] => 0 [notnull] => [value] => 2320984 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [display_order] => Field Object ( [name] => display_order [type] => 3 [length] => 0 [notnull] => [value] => [description] => The display order [comparison] => 1 [dirty] => [db_type] => [transient] => ) [object_id] => Field Object ( [name] => object_id [type] => 3 [length] => 0 [notnull] => [value] => 2086137 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [media_id] => Field Object ( [name] => media_id [type] => 3 [length] => 0 [notnull] => [value] => 7773 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [display_index] => Field Object ( [name] => display_index [type] => 3 [length] => 0 [notnull] => [value] => 99 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [usage] => Field Object ( [name] => usage [type] => 1 [length] => 16 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [id] => Field Object ( [name] => id [type] => 3 [length] => 0 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [attached_by] => Field Object ( [name] => attached_by [type] => 3 [length] => 0 [notnull] => [value] => 2320984 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [display_name] => Field Object ( [name] => display_name [type] => 1 [length] => 32 [notnull] => 1 [value] => Paul Kelly [description] => Display name [comparison] => 1 [dirty] => [db_type] => [transient] => ) [unique_display_name] => Field Object ( [name] => unique_display_name [type] => 1 [length] => 32 [notnull] => 1 [value] => paulmkelly [description] => The unique form of the display_name, since spaces are allowed. [comparison] => 1 [dirty] => [db_type] => [transient] => ) [gender] => Field Object ( [name] => gender [type] => 3 [length] => 0 [notnull] => [value] => 1 [description] => Gender, 0=Unknown, 1=Male, 2=Female [comparison] => 1 [dirty] => [db_type] => [transient] => ) [type] => Field Object ( [name] => type [type] => 3 [length] => 0 [notnull] => [value] => 0 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [size] => Field Object ( [name] => size [type] => 3 [length] => 0 [notnull] => [value] => 105651 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [width] => Field Object ( [name] => width [type] => 3 [length] => 0 [notnull] => [value] => 300 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [height] => Field Object ( [name] => height [type] => 3 [length] => 0 [notnull] => [value] => 417 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [file_name] => Field Object ( [name] => file_name [type] => 1 [length] => 128 [notnull] => [value] => asset_8d8db71bdfa6c584819db16e8cd142ae_1879 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [running_length] => Field Object ( [name] => running_length [type] => 3 [length] => 0 [notnull] => [value] => 0 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [views] => Field Object ( [name] => views [type] => 3 [length] => 0 [notnull] => [value] => 0 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [file_path] => Field Object ( [name] => file_path [type] => 1 [length] => 16 [notnull] => [value] => 0d/76/86/d5/55/3073879/ [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [storyboard_id] => Field Object ( [name] => storyboard_id [type] => 3 [length] => 0 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [unique_hash] => Field Object ( [name] => unique_hash [type] => 1 [length] => 33 [notnull] => [value] => 0d/76/86/d5/55/3073879/ [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [status] => Field Object ( [name] => status [type] => 3 [length] => 0 [notnull] => [value] => 0 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [title] => Field Object ( [name] => title [type] => 1 [length] => 128 [notnull] => [value] => hellnovacancyjpg [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [notes] => Field Object ( [name] => notes [type] => 1 [length] => 0 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [original_bucket] => Field Object ( [name] => original_bucket [type] => 1 [length] => 256 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [proc_status_changed] => Field Object ( [name] => proc_status_changed [type] => 4 [length] => 0 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [proc_status] => Field Object ( [name] => proc_status [type] => 3 [length] => 0 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [formats] => Field Object ( [name] => formats [type] => 7 [length] => 0 [notnull] => [value] => Array ( ) [description] => Undocumented column [comparison] => 1 [dirty] => 1 [db_type] => [transient] => ) [mimetype] => Field Object ( [name] => mimetype [type] => 1 [length] => 128 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [original_filename] => Field Object ( [name] => original_filename [type] => 1 [length] => 128 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [original_source] => Field Object ( [name] => original_source [type] => 1 [length] => 256 [notnull] => [value] => 39/ed/60/bc/6c/7773.jpg [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) ) [primary_key_value] => 3073879 [related] => Array ( [comments] => Relation Object ( [parent] => ObjectMediaView Object *RECURSION* [name] => comments [type] => 2 [model] => comments/comment [foreign_field] => object_id [field] => id [value:private] => ) [ratings] => Relation Object ( [parent] => ObjectMediaView Object *RECURSION* [name] => ratings [type] => 2 [model] => opinion/rating [foreign_field] => object_id [field] => id [value:private] => ) [media] => Relation Object ( [parent] => ObjectMediaView Object *RECURSION* [name] => media [type] => 1 [model] => media/media [foreign_field] => id [field] => media_id [value:private] => ) [object_media] => Relation Object ( [parent] => ObjectMediaView Object *RECURSION* [name] => object_media [type] => 2 [model] => media/object_media [foreign_field] => object_id [field] => id [value:private] => ) [labels] => Relation Object ( [parent] => ObjectMediaView Object *RECURSION* [name] => labels [type] => 2 [model] => label/object_label_view [foreign_field] => object_id [field] => id [value:private] => ) [flags] => Relation Object ( [parent] => ObjectMediaView Object *RECURSION* [name] => flags [type] => 2 [model] => opinion/flags [foreign_field] => object_id [field] => id [value:private] => ) [favorites] => Relation Object ( [parent] => ObjectMediaView Object *RECURSION* [name] => favorites [type] => 2 [model] => opinion/favorite [foreign_field] => object_id [field] => id [value:private] => ) [owner] => MethodRelation Object ( [parent] => ObjectMediaView Object *RECURSION* [name] => get_owner [type] => [model] => [foreign_field] => [field] => [value:private] => ) [object] => Relation Object ( [parent] => ObjectMediaView Object *RECURSION* [name] => object [type] => 1 [model] => top/user_object [foreign_field] => id [field] => object_id [value:private] => ) [profile] => Relation Object ( [parent] => ObjectMediaView Object *RECURSION* [name] => profile [type] => 1 [model] => profiles/profile [foreign_field] => id [field] => profile_id [value:private] => ) ) [cacheable] => [cached] => [deprecated_msg] => ) [4] => ObjectMediaView Object ( [table_name] => media.object_media_view [primary_key] => id [readonly] => 1 [database] => default [owner_field] => profile_id [_observers] => Array ( [rate] => Array ( [0] => Messenger Object ( ) [1] => Notifier Object ( ) ) [comment] => Array ( [0] => Messenger Object ( ) [1] => Notifier Object ( ) ) ) [model_state] => 1 [db] => PgSqlDatabase Object ( [_connection:private] => ADODB_postgres7 Object ( [databaseType] => postgres7 [hasLimit] => 1 [ansiOuter] => 1 [charSet] => 1 [dataProvider] => postgres [hasInsertID] => 1 [_resultid] => Resource id #118 [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 [metaColumnsSQL] => 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] => 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] => 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 [metaDefaultsSQL] => 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] => random() [autoRollback] => 1 [_bindInputArray] => 1 [disableBlobs] => [database] => massify [host] => 172.19.1.106 [user] => postgres [password] => honkeytonk [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] => [memCacheHost] => [memCachePort] => 11211 [memCacheCompress] => [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 [_oldRaiseFn] => [_transOK] => [_connectionID] => Resource id #117 [_errorMsg] => ERROR: column "a" does not exist LINE 1: SELECT * FROM media.object_media_view WHERE id=a ^ [_errorCode] => [_queryID] => [_isPersistentConnection] => [_evalAll] => [_affected] => [_logsql] => [_transmode] => [port] => 6000 [version] => Array ( [description] => PostgreSQL 8.2.3 on i386-apple-darwin8.8.4, compiled by GCC i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5363) [version] => 8.2.3 ) [pgVersion] => 8.2 [_nestedSQL] => 1 ) ) [validators] => Array ( [profile_id] => Array ( [0] => RequiredValidator Object ( [_message] => Profile ID is required. [_data] => ) ) [object_id] => Array ( [0] => RequiredValidator Object ( [_message] => Object ID is required. [_data] => ) ) [media_id] => Array ( [0] => RequiredValidator Object ( [_message] => Media ID is required. [_data] => ) ) ) [fields] => Array ( [created] => Field Object ( [name] => created [type] => 4 [length] => 0 [notnull] => [value] => 2008-03-07 11:55:50 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [modified] => Field Object ( [name] => modified [type] => 4 [length] => 0 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [profile_id] => Field Object ( [name] => profile_id [type] => 3 [length] => 0 [notnull] => [value] => 2320984 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [display_order] => Field Object ( [name] => display_order [type] => 3 [length] => 0 [notnull] => [value] => [description] => The display order [comparison] => 1 [dirty] => [db_type] => [transient] => ) [object_id] => Field Object ( [name] => object_id [type] => 3 [length] => 0 [notnull] => [value] => 2086137 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [media_id] => Field Object ( [name] => media_id [type] => 3 [length] => 0 [notnull] => [value] => 7775 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [display_index] => Field Object ( [name] => display_index [type] => 3 [length] => 0 [notnull] => [value] => 99 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [usage] => Field Object ( [name] => usage [type] => 1 [length] => 16 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [id] => Field Object ( [name] => id [type] => 3 [length] => 0 [notnull] => [value] => [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [attached_by] => Field Object ( [name] => attached_by [type] => 3 [length] => 0 [notnull] => [value] => 2320984 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [display_name] => Field Object ( [name] => display_name [type] => 1 [length] => 32 [notnull] => 1 [value] => Paul Kelly [description] => Display name [comparison] => 1 [dirty] => [db_type] => [transient] => ) [unique_display_name] => Field Object ( [name] => unique_display_name [type] => 1 [length] => 32 [notnull] => 1 [value] => paulmkelly [description] => The unique form of the display_name, since spaces are allowed. [comparison] => 1 [dirty] => [db_type] => [transient] => ) [gender] => Field Object ( [name] => gender [type] => 3 [length] => 0 [notnull] => [value] => 1 [description] => Gender, 0=Unknown, 1=Male, 2=Female [comparison] => 1 [dirty] => [db_type] => [transient] => ) [type] => Field Object ( [name] => type [type] => 3 [length] => 0 [notnull] => [value] => 1 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [size] => Field Object ( [name] => size [type] => 3 [length] => 0 [notnull] => [value] => 10601570 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [width] => Field Object ( [name] => width [type] => 3 [length] => 0 [notnull] => [value] => 616 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [height] => Field Object ( [name] => height [type] => 3 [length] => 0 [notnull] => [value] => 462 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [file_name] => Field Object ( [name] => file_name [type] => 1 [length] => 128 [notnull] => [value] => asset_706aa15853c2aac40d821fb939a467e1_1881 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [running_length] => Field Object ( [name] => running_length [type] => 3 [length] => 0 [notnull] => [value] => 143000 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [views] => Field Object ( [name] => views [type] => 3 [length] => 0 [notnull] => [value] => 0 [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [file_path] => Field Object ( [name] => file_path [type] => 1 [length] => 16 [notnull] => [value] => f2/f4/97/c8/fd/3073881/ [description] => Undocumented column [comparison] => 1 [dirty] => [db_type] => [transient] => ) [storyboard_id] => Field Object ( [name] => storyboard_id [type] => 3 [length] => 0 [notnull] => [value] =>