Welcome to Bill Davies Penny‘s Mill

jp_face_sad

500 - Internal Server Error!

Sorry, something went wrong.

Return to the homepage

Zend_Controller_Response_Http Object ( [_body:protected] => Array ( ) [_exceptions:protected] => Array ( [0] => Zend_Db_Statement_Exception Object ( [_previous:Zend_Exception:private] => [message:protected] => SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY `g`.`order` asc' at line 2 [string:Exception:private] => [code:protected] => 42000 [file:protected] => /home2/pennysmillorg/public_html/library/Zend/Db/Statement/Pdo.php [line:protected] => 234 [trace:Exception:private] => Array ( [0] => Array ( [file] => /home2/pennysmillorg/public_html/library/Zend/Db/Statement.php [line] => 300 [function] => _execute [class] => Zend_Db_Statement_Pdo [type] => -> [args] => Array ( [0] => Array ( ) ) ) [1] => Array ( [file] => /home2/pennysmillorg/public_html/library/Zend/Db/Adapter/Abstract.php [line] => 479 [function] => execute [class] => Zend_Db_Statement [type] => -> [args] => Array ( [0] => Array ( ) ) ) [2] => Array ( [file] => /home2/pennysmillorg/public_html/library/Zend/Db/Adapter/Pdo/Abstract.php [line] => 238 [function] => query [class] => Zend_Db_Adapter_Abstract [type] => -> [args] => Array ( [0] => SELECT `g`.`image_id`, `g`.`image_title`, `g`.`thumb_name`, `g`.`image_name`, `r`.`title`, `r`.`id` FROM `gallery_images` AS `g` INNER JOIN `gallery` AS `r` ON g.gallery_id = r.id WHERE (gallery_id=) ORDER BY `g`.`order` asc [1] => Array ( ) ) ) [3] => Array ( [file] => /home2/pennysmillorg/public_html/library/Zend/Db/Table/Abstract.php [line] => 1529 [function] => query [class] => Zend_Db_Adapter_Pdo_Abstract [type] => -> [args] => Array ( [0] => Zend_Db_Table_Select Object ( [_info:protected] => Array ( [schema] => [name] => gallery_images [cols] => Array ( [0] => image_id [1] => gallery_id [2] => image_title [3] => thumb_name [4] => image_name [5] => order [6] => featured_images ) [primary] => Array ( [1] => image_id ) [metadata] => Array ( [image_id] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => image_id [COLUMN_POSITION] => 1 [DATA_TYPE] => int [DEFAULT] => [NULLABLE] => [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => 1 [PRIMARY_POSITION] => 1 [IDENTITY] => 1 ) [gallery_id] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => gallery_id [COLUMN_POSITION] => 2 [DATA_TYPE] => int [DEFAULT] => [NULLABLE] => 1 [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [image_title] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => image_title [COLUMN_POSITION] => 3 [DATA_TYPE] => varchar [DEFAULT] => [NULLABLE] => 1 [LENGTH] => 150 [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [thumb_name] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => thumb_name [COLUMN_POSITION] => 4 [DATA_TYPE] => varchar [DEFAULT] => [NULLABLE] => 1 [LENGTH] => 45 [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [image_name] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => image_name [COLUMN_POSITION] => 5 [DATA_TYPE] => varchar [DEFAULT] => [NULLABLE] => 1 [LENGTH] => 45 [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [order] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => order [COLUMN_POSITION] => 6 [DATA_TYPE] => int [DEFAULT] => 0 [NULLABLE] => [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [featured_images] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => featured_images [COLUMN_POSITION] => 7 [DATA_TYPE] => int [DEFAULT] => [NULLABLE] => [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) ) [rowClass] => Zend_Db_Table_Row [rowsetClass] => Zend_Db_Table_Rowset [referenceMap] => Array ( [Gallery] => Array ( [columns] => Array ( [0] => gallery_id ) [refTableClass] => Model_Gallery [refColumns] => Array ( [0] => id ) [onDelete] => cascade [onUpdate] => restrict ) ) [dependentTables] => Array ( ) [sequence] => 1 ) [_integrityCheck:protected] => [_table:protected] => Model_GalleryImages Object ( [_name:protected] => gallery_images [_referenceMap:protected] => Array ( [Gallery] => Array ( [columns] => Array ( [0] => gallery_id ) [refTableClass] => Model_Gallery [refColumns] => Array ( [0] => id ) [onDelete] => cascade [onUpdate] => restrict ) ) [_definition:protected] => [_definitionConfigName:protected] => [_db:protected] => Zend_Db_Adapter_Pdo_Mysql Object ( [_pdoType:protected] => mysql [_numericDataTypes:protected] => Array ( [0] => 0 [1] => 1 [2] => 2 [INT] => 0 [INTEGER] => 0 [MEDIUMINT] => 0 [SMALLINT] => 0 [TINYINT] => 0 [BIGINT] => 1 [SERIAL] => 1 [DEC] => 2 [DECIMAL] => 2 [DOUBLE] => 2 [DOUBLE PRECISION] => 2 [FIXED] => 2 [FLOAT] => 2 ) [_defaultStmtClass:protected] => Zend_Db_Statement_Pdo [_config:protected] => Array ( [host] => localhost [username] => pennysmi_user [password] => h7Xe,Jy.IFeW [dbname] => pennysmi_db [charset] => [persistent] => [options] => Array ( [caseFolding] => 0 [autoQuoteIdentifiers] => 1 [fetchMode] => 2 ) [driver_options] => Array ( ) ) [_fetchMode:protected] => 2 [_profiler:protected] => Zend_Db_Profiler Object ( [_queryProfiles:protected] => Array ( ) [_enabled:protected] => [_filterElapsedSecs:protected] => [_filterTypes:protected] => ) [_defaultProfilerClass:protected] => Zend_Db_Profiler [_connection:protected] => PDO Object ( ) [_caseFolding:protected] => 0 [_autoQuoteIdentifiers:protected] => 1 [_allowSerialization:protected] => 1 [_autoReconnectOnUnserialize:protected] => ) [_schema:protected] => [_cols:protected] => Array ( [0] => image_id [1] => gallery_id [2] => image_title [3] => thumb_name [4] => image_name [5] => order [6] => featured_images ) [_primary:protected] => Array ( [1] => image_id ) [_identity:protected] => 1 [_sequence:protected] => 1 [_metadata:protected] => Array ( [image_id] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => image_id [COLUMN_POSITION] => 1 [DATA_TYPE] => int [DEFAULT] => [NULLABLE] => [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => 1 [PRIMARY_POSITION] => 1 [IDENTITY] => 1 ) [gallery_id] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => gallery_id [COLUMN_POSITION] => 2 [DATA_TYPE] => int [DEFAULT] => [NULLABLE] => 1 [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [image_title] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => image_title [COLUMN_POSITION] => 3 [DATA_TYPE] => varchar [DEFAULT] => [NULLABLE] => 1 [LENGTH] => 150 [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [thumb_name] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => thumb_name [COLUMN_POSITION] => 4 [DATA_TYPE] => varchar [DEFAULT] => [NULLABLE] => 1 [LENGTH] => 45 [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [image_name] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => image_name [COLUMN_POSITION] => 5 [DATA_TYPE] => varchar [DEFAULT] => [NULLABLE] => 1 [LENGTH] => 45 [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [order] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => order [COLUMN_POSITION] => 6 [DATA_TYPE] => int [DEFAULT] => 0 [NULLABLE] => [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [featured_images] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => featured_images [COLUMN_POSITION] => 7 [DATA_TYPE] => int [DEFAULT] => [NULLABLE] => [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) ) [_metadataCache:protected] => [_metadataCacheInClass:protected] => 1 [_rowClass:protected] => Zend_Db_Table_Row [_rowsetClass:protected] => Zend_Db_Table_Rowset [_dependentTables:protected] => Array ( ) [_defaultSource:protected] => defaultNone [_defaultValues:protected] => Array ( ) ) [_bind:protected] => Array ( ) [_adapter:protected] => Zend_Db_Adapter_Pdo_Mysql Object ( [_pdoType:protected] => mysql [_numericDataTypes:protected] => Array ( [0] => 0 [1] => 1 [2] => 2 [INT] => 0 [INTEGER] => 0 [MEDIUMINT] => 0 [SMALLINT] => 0 [TINYINT] => 0 [BIGINT] => 1 [SERIAL] => 1 [DEC] => 2 [DECIMAL] => 2 [DOUBLE] => 2 [DOUBLE PRECISION] => 2 [FIXED] => 2 [FLOAT] => 2 ) [_defaultStmtClass:protected] => Zend_Db_Statement_Pdo [_config:protected] => Array ( [host] => localhost [username] => pennysmi_user [password] => h7Xe,Jy.IFeW [dbname] => pennysmi_db [charset] => [persistent] => [options] => Array ( [caseFolding] => 0 [autoQuoteIdentifiers] => 1 [fetchMode] => 2 ) [driver_options] => Array ( ) ) [_fetchMode:protected] => 2 [_profiler:protected] => Zend_Db_Profiler Object ( [_queryProfiles:protected] => Array ( ) [_enabled:protected] => [_filterElapsedSecs:protected] => [_filterTypes:protected] => ) [_defaultProfilerClass:protected] => Zend_Db_Profiler [_connection:protected] => PDO Object ( ) [_caseFolding:protected] => 0 [_autoQuoteIdentifiers:protected] => 1 [_allowSerialization:protected] => 1 [_autoReconnectOnUnserialize:protected] => ) [_parts:protected] => Array ( [distinct] => [columns] => Array ( [0] => Array ( [0] => g [1] => image_id [2] => ) [1] => Array ( [0] => g [1] => image_title [2] => ) [2] => Array ( [0] => g [1] => thumb_name [2] => ) [3] => Array ( [0] => g [1] => image_name [2] => ) [4] => Array ( [0] => r [1] => title [2] => ) [5] => Array ( [0] => r [1] => id [2] => ) ) [union] => Array ( ) [from] => Array ( [g] => Array ( [joinType] => inner join [schema] => [tableName] => gallery_images [joinCondition] => ) [r] => Array ( [joinType] => inner join [schema] => [tableName] => gallery [joinCondition] => g.gallery_id = r.id ) ) [where] => Array ( [0] => (gallery_id=) ) [group] => Array ( ) [having] => Array ( ) [order] => Array ( [0] => Array ( [0] => g.order [1] => asc ) ) [limitcount] => [limitoffset] => [forupdate] => ) [_tableCols:protected] => Array ( ) ) ) ) [4] => Array ( [file] => /home2/pennysmillorg/public_html/library/Zend/Db/Table/Abstract.php [line] => 1344 [function] => _fetch [class] => Zend_Db_Table_Abstract [type] => -> [args] => Array ( [0] => Zend_Db_Table_Select Object ( [_info:protected] => Array ( [schema] => [name] => gallery_images [cols] => Array ( [0] => image_id [1] => gallery_id [2] => image_title [3] => thumb_name [4] => image_name [5] => order [6] => featured_images ) [primary] => Array ( [1] => image_id ) [metadata] => Array ( [image_id] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => image_id [COLUMN_POSITION] => 1 [DATA_TYPE] => int [DEFAULT] => [NULLABLE] => [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => 1 [PRIMARY_POSITION] => 1 [IDENTITY] => 1 ) [gallery_id] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => gallery_id [COLUMN_POSITION] => 2 [DATA_TYPE] => int [DEFAULT] => [NULLABLE] => 1 [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [image_title] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => image_title [COLUMN_POSITION] => 3 [DATA_TYPE] => varchar [DEFAULT] => [NULLABLE] => 1 [LENGTH] => 150 [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [thumb_name] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => thumb_name [COLUMN_POSITION] => 4 [DATA_TYPE] => varchar [DEFAULT] => [NULLABLE] => 1 [LENGTH] => 45 [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [image_name] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => image_name [COLUMN_POSITION] => 5 [DATA_TYPE] => varchar [DEFAULT] => [NULLABLE] => 1 [LENGTH] => 45 [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [order] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => order [COLUMN_POSITION] => 6 [DATA_TYPE] => int [DEFAULT] => 0 [NULLABLE] => [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [featured_images] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => featured_images [COLUMN_POSITION] => 7 [DATA_TYPE] => int [DEFAULT] => [NULLABLE] => [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) ) [rowClass] => Zend_Db_Table_Row [rowsetClass] => Zend_Db_Table_Rowset [referenceMap] => Array ( [Gallery] => Array ( [columns] => Array ( [0] => gallery_id ) [refTableClass] => Model_Gallery [refColumns] => Array ( [0] => id ) [onDelete] => cascade [onUpdate] => restrict ) ) [dependentTables] => Array ( ) [sequence] => 1 ) [_integrityCheck:protected] => [_table:protected] => Model_GalleryImages Object ( [_name:protected] => gallery_images [_referenceMap:protected] => Array ( [Gallery] => Array ( [columns] => Array ( [0] => gallery_id ) [refTableClass] => Model_Gallery [refColumns] => Array ( [0] => id ) [onDelete] => cascade [onUpdate] => restrict ) ) [_definition:protected] => [_definitionConfigName:protected] => [_db:protected] => Zend_Db_Adapter_Pdo_Mysql Object ( [_pdoType:protected] => mysql [_numericDataTypes:protected] => Array ( [0] => 0 [1] => 1 [2] => 2 [INT] => 0 [INTEGER] => 0 [MEDIUMINT] => 0 [SMALLINT] => 0 [TINYINT] => 0 [BIGINT] => 1 [SERIAL] => 1 [DEC] => 2 [DECIMAL] => 2 [DOUBLE] => 2 [DOUBLE PRECISION] => 2 [FIXED] => 2 [FLOAT] => 2 ) [_defaultStmtClass:protected] => Zend_Db_Statement_Pdo [_config:protected] => Array ( [host] => localhost [username] => pennysmi_user [password] => h7Xe,Jy.IFeW [dbname] => pennysmi_db [charset] => [persistent] => [options] => Array ( [caseFolding] => 0 [autoQuoteIdentifiers] => 1 [fetchMode] => 2 ) [driver_options] => Array ( ) ) [_fetchMode:protected] => 2 [_profiler:protected] => Zend_Db_Profiler Object ( [_queryProfiles:protected] => Array ( ) [_enabled:protected] => [_filterElapsedSecs:protected] => [_filterTypes:protected] => ) [_defaultProfilerClass:protected] => Zend_Db_Profiler [_connection:protected] => PDO Object ( ) [_caseFolding:protected] => 0 [_autoQuoteIdentifiers:protected] => 1 [_allowSerialization:protected] => 1 [_autoReconnectOnUnserialize:protected] => ) [_schema:protected] => [_cols:protected] => Array ( [0] => image_id [1] => gallery_id [2] => image_title [3] => thumb_name [4] => image_name [5] => order [6] => featured_images ) [_primary:protected] => Array ( [1] => image_id ) [_identity:protected] => 1 [_sequence:protected] => 1 [_metadata:protected] => Array ( [image_id] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => image_id [COLUMN_POSITION] => 1 [DATA_TYPE] => int [DEFAULT] => [NULLABLE] => [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => 1 [PRIMARY_POSITION] => 1 [IDENTITY] => 1 ) [gallery_id] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => gallery_id [COLUMN_POSITION] => 2 [DATA_TYPE] => int [DEFAULT] => [NULLABLE] => 1 [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [image_title] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => image_title [COLUMN_POSITION] => 3 [DATA_TYPE] => varchar [DEFAULT] => [NULLABLE] => 1 [LENGTH] => 150 [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [thumb_name] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => thumb_name [COLUMN_POSITION] => 4 [DATA_TYPE] => varchar [DEFAULT] => [NULLABLE] => 1 [LENGTH] => 45 [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [image_name] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => image_name [COLUMN_POSITION] => 5 [DATA_TYPE] => varchar [DEFAULT] => [NULLABLE] => 1 [LENGTH] => 45 [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [order] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => order [COLUMN_POSITION] => 6 [DATA_TYPE] => int [DEFAULT] => 0 [NULLABLE] => [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [featured_images] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => featured_images [COLUMN_POSITION] => 7 [DATA_TYPE] => int [DEFAULT] => [NULLABLE] => [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) ) [_metadataCache:protected] => [_metadataCacheInClass:protected] => 1 [_rowClass:protected] => Zend_Db_Table_Row [_rowsetClass:protected] => Zend_Db_Table_Rowset [_dependentTables:protected] => Array ( ) [_defaultSource:protected] => defaultNone [_defaultValues:protected] => Array ( ) ) [_bind:protected] => Array ( ) [_adapter:protected] => Zend_Db_Adapter_Pdo_Mysql Object ( [_pdoType:protected] => mysql [_numericDataTypes:protected] => Array ( [0] => 0 [1] => 1 [2] => 2 [INT] => 0 [INTEGER] => 0 [MEDIUMINT] => 0 [SMALLINT] => 0 [TINYINT] => 0 [BIGINT] => 1 [SERIAL] => 1 [DEC] => 2 [DECIMAL] => 2 [DOUBLE] => 2 [DOUBLE PRECISION] => 2 [FIXED] => 2 [FLOAT] => 2 ) [_defaultStmtClass:protected] => Zend_Db_Statement_Pdo [_config:protected] => Array ( [host] => localhost [username] => pennysmi_user [password] => h7Xe,Jy.IFeW [dbname] => pennysmi_db [charset] => [persistent] => [options] => Array ( [caseFolding] => 0 [autoQuoteIdentifiers] => 1 [fetchMode] => 2 ) [driver_options] => Array ( ) ) [_fetchMode:protected] => 2 [_profiler:protected] => Zend_Db_Profiler Object ( [_queryProfiles:protected] => Array ( ) [_enabled:protected] => [_filterElapsedSecs:protected] => [_filterTypes:protected] => ) [_defaultProfilerClass:protected] => Zend_Db_Profiler [_connection:protected] => PDO Object ( ) [_caseFolding:protected] => 0 [_autoQuoteIdentifiers:protected] => 1 [_allowSerialization:protected] => 1 [_autoReconnectOnUnserialize:protected] => ) [_parts:protected] => Array ( [distinct] => [columns] => Array ( [0] => Array ( [0] => g [1] => image_id [2] => ) [1] => Array ( [0] => g [1] => image_title [2] => ) [2] => Array ( [0] => g [1] => thumb_name [2] => ) [3] => Array ( [0] => g [1] => image_name [2] => ) [4] => Array ( [0] => r [1] => title [2] => ) [5] => Array ( [0] => r [1] => id [2] => ) ) [union] => Array ( ) [from] => Array ( [g] => Array ( [joinType] => inner join [schema] => [tableName] => gallery_images [joinCondition] => ) [r] => Array ( [joinType] => inner join [schema] => [tableName] => gallery [joinCondition] => g.gallery_id = r.id ) ) [where] => Array ( [0] => (gallery_id=) ) [group] => Array ( ) [having] => Array ( ) [order] => Array ( [0] => Array ( [0] => g.order [1] => asc ) ) [limitcount] => [limitoffset] => [forupdate] => ) [_tableCols:protected] => Array ( ) ) ) ) [5] => Array ( [file] => /home2/pennysmillorg/public_html/application/models/GalleryImages.php [line] => 52 [function] => fetchAll [class] => Zend_Db_Table_Abstract [type] => -> [args] => Array ( [0] => Zend_Db_Table_Select Object ( [_info:protected] => Array ( [schema] => [name] => gallery_images [cols] => Array ( [0] => image_id [1] => gallery_id [2] => image_title [3] => thumb_name [4] => image_name [5] => order [6] => featured_images ) [primary] => Array ( [1] => image_id ) [metadata] => Array ( [image_id] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => image_id [COLUMN_POSITION] => 1 [DATA_TYPE] => int [DEFAULT] => [NULLABLE] => [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => 1 [PRIMARY_POSITION] => 1 [IDENTITY] => 1 ) [gallery_id] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => gallery_id [COLUMN_POSITION] => 2 [DATA_TYPE] => int [DEFAULT] => [NULLABLE] => 1 [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [image_title] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => image_title [COLUMN_POSITION] => 3 [DATA_TYPE] => varchar [DEFAULT] => [NULLABLE] => 1 [LENGTH] => 150 [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [thumb_name] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => thumb_name [COLUMN_POSITION] => 4 [DATA_TYPE] => varchar [DEFAULT] => [NULLABLE] => 1 [LENGTH] => 45 [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [image_name] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => image_name [COLUMN_POSITION] => 5 [DATA_TYPE] => varchar [DEFAULT] => [NULLABLE] => 1 [LENGTH] => 45 [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [order] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => order [COLUMN_POSITION] => 6 [DATA_TYPE] => int [DEFAULT] => 0 [NULLABLE] => [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [featured_images] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => featured_images [COLUMN_POSITION] => 7 [DATA_TYPE] => int [DEFAULT] => [NULLABLE] => [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) ) [rowClass] => Zend_Db_Table_Row [rowsetClass] => Zend_Db_Table_Rowset [referenceMap] => Array ( [Gallery] => Array ( [columns] => Array ( [0] => gallery_id ) [refTableClass] => Model_Gallery [refColumns] => Array ( [0] => id ) [onDelete] => cascade [onUpdate] => restrict ) ) [dependentTables] => Array ( ) [sequence] => 1 ) [_integrityCheck:protected] => [_table:protected] => Model_GalleryImages Object ( [_name:protected] => gallery_images [_referenceMap:protected] => Array ( [Gallery] => Array ( [columns] => Array ( [0] => gallery_id ) [refTableClass] => Model_Gallery [refColumns] => Array ( [0] => id ) [onDelete] => cascade [onUpdate] => restrict ) ) [_definition:protected] => [_definitionConfigName:protected] => [_db:protected] => Zend_Db_Adapter_Pdo_Mysql Object ( [_pdoType:protected] => mysql [_numericDataTypes:protected] => Array ( [0] => 0 [1] => 1 [2] => 2 [INT] => 0 [INTEGER] => 0 [MEDIUMINT] => 0 [SMALLINT] => 0 [TINYINT] => 0 [BIGINT] => 1 [SERIAL] => 1 [DEC] => 2 [DECIMAL] => 2 [DOUBLE] => 2 [DOUBLE PRECISION] => 2 [FIXED] => 2 [FLOAT] => 2 ) [_defaultStmtClass:protected] => Zend_Db_Statement_Pdo [_config:protected] => Array ( [host] => localhost [username] => pennysmi_user [password] => h7Xe,Jy.IFeW [dbname] => pennysmi_db [charset] => [persistent] => [options] => Array ( [caseFolding] => 0 [autoQuoteIdentifiers] => 1 [fetchMode] => 2 ) [driver_options] => Array ( ) ) [_fetchMode:protected] => 2 [_profiler:protected] => Zend_Db_Profiler Object ( [_queryProfiles:protected] => Array ( ) [_enabled:protected] => [_filterElapsedSecs:protected] => [_filterTypes:protected] => ) [_defaultProfilerClass:protected] => Zend_Db_Profiler [_connection:protected] => PDO Object ( ) [_caseFolding:protected] => 0 [_autoQuoteIdentifiers:protected] => 1 [_allowSerialization:protected] => 1 [_autoReconnectOnUnserialize:protected] => ) [_schema:protected] => [_cols:protected] => Array ( [0] => image_id [1] => gallery_id [2] => image_title [3] => thumb_name [4] => image_name [5] => order [6] => featured_images ) [_primary:protected] => Array ( [1] => image_id ) [_identity:protected] => 1 [_sequence:protected] => 1 [_metadata:protected] => Array ( [image_id] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => image_id [COLUMN_POSITION] => 1 [DATA_TYPE] => int [DEFAULT] => [NULLABLE] => [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => 1 [PRIMARY_POSITION] => 1 [IDENTITY] => 1 ) [gallery_id] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => gallery_id [COLUMN_POSITION] => 2 [DATA_TYPE] => int [DEFAULT] => [NULLABLE] => 1 [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [image_title] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => image_title [COLUMN_POSITION] => 3 [DATA_TYPE] => varchar [DEFAULT] => [NULLABLE] => 1 [LENGTH] => 150 [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [thumb_name] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => thumb_name [COLUMN_POSITION] => 4 [DATA_TYPE] => varchar [DEFAULT] => [NULLABLE] => 1 [LENGTH] => 45 [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [image_name] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => image_name [COLUMN_POSITION] => 5 [DATA_TYPE] => varchar [DEFAULT] => [NULLABLE] => 1 [LENGTH] => 45 [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [order] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => order [COLUMN_POSITION] => 6 [DATA_TYPE] => int [DEFAULT] => 0 [NULLABLE] => [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [featured_images] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => featured_images [COLUMN_POSITION] => 7 [DATA_TYPE] => int [DEFAULT] => [NULLABLE] => [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) ) [_metadataCache:protected] => [_metadataCacheInClass:protected] => 1 [_rowClass:protected] => Zend_Db_Table_Row [_rowsetClass:protected] => Zend_Db_Table_Rowset [_dependentTables:protected] => Array ( ) [_defaultSource:protected] => defaultNone [_defaultValues:protected] => Array ( ) ) [_bind:protected] => Array ( ) [_adapter:protected] => Zend_Db_Adapter_Pdo_Mysql Object ( [_pdoType:protected] => mysql [_numericDataTypes:protected] => Array ( [0] => 0 [1] => 1 [2] => 2 [INT] => 0 [INTEGER] => 0 [MEDIUMINT] => 0 [SMALLINT] => 0 [TINYINT] => 0 [BIGINT] => 1 [SERIAL] => 1 [DEC] => 2 [DECIMAL] => 2 [DOUBLE] => 2 [DOUBLE PRECISION] => 2 [FIXED] => 2 [FLOAT] => 2 ) [_defaultStmtClass:protected] => Zend_Db_Statement_Pdo [_config:protected] => Array ( [host] => localhost [username] => pennysmi_user [password] => h7Xe,Jy.IFeW [dbname] => pennysmi_db [charset] => [persistent] => [options] => Array ( [caseFolding] => 0 [autoQuoteIdentifiers] => 1 [fetchMode] => 2 ) [driver_options] => Array ( ) ) [_fetchMode:protected] => 2 [_profiler:protected] => Zend_Db_Profiler Object ( [_queryProfiles:protected] => Array ( ) [_enabled:protected] => [_filterElapsedSecs:protected] => [_filterTypes:protected] => ) [_defaultProfilerClass:protected] => Zend_Db_Profiler [_connection:protected] => PDO Object ( ) [_caseFolding:protected] => 0 [_autoQuoteIdentifiers:protected] => 1 [_allowSerialization:protected] => 1 [_autoReconnectOnUnserialize:protected] => ) [_parts:protected] => Array ( [distinct] => [columns] => Array ( [0] => Array ( [0] => g [1] => image_id [2] => ) [1] => Array ( [0] => g [1] => image_title [2] => ) [2] => Array ( [0] => g [1] => thumb_name [2] => ) [3] => Array ( [0] => g [1] => image_name [2] => ) [4] => Array ( [0] => r [1] => title [2] => ) [5] => Array ( [0] => r [1] => id [2] => ) ) [union] => Array ( ) [from] => Array ( [g] => Array ( [joinType] => inner join [schema] => [tableName] => gallery_images [joinCondition] => ) [r] => Array ( [joinType] => inner join [schema] => [tableName] => gallery [joinCondition] => g.gallery_id = r.id ) ) [where] => Array ( [0] => (gallery_id=) ) [group] => Array ( ) [having] => Array ( ) [order] => Array ( [0] => Array ( [0] => g.order [1] => asc ) ) [limitcount] => [limitoffset] => [forupdate] => ) [_tableCols:protected] => Array ( ) ) ) ) [6] => Array ( [file] => /home2/pennysmillorg/public_html/application/controllers/GalleryController.php [line] => 32 [function] => getImages [class] => Model_GalleryImages [type] => -> [args] => Array ( [0] => ) ) [7] => Array ( [file] => /home2/pennysmillorg/public_html/library/Zend/Controller/Action.php [line] => 516 [function] => viewAction [class] => GalleryController [type] => -> [args] => Array ( ) ) [8] => Array ( [file] => /home2/pennysmillorg/public_html/library/Zend/Controller/Dispatcher/Standard.php [line] => 295 [function] => dispatch [class] => Zend_Controller_Action [type] => -> [args] => Array ( [0] => viewAction ) ) [9] => Array ( [file] => /home2/pennysmillorg/public_html/library/Zend/Controller/Front.php [line] => 954 [function] => dispatch [class] => Zend_Controller_Dispatcher_Standard [type] => -> [args] => Array ( [0] => Zend_Controller_Request_Http Object ( [_paramSources:protected] => Array ( [0] => _GET [1] => _POST ) [_requestUri:protected] => /gallery/13-chestersquare.html [_baseUrl:protected] => [_basePath:protected] => [_pathInfo:protected] => /gallery/13-chestersquare.html [_params:protected] => Array ( [urlSlug] => 13-chestersquare.html [action] => view [controller] => gallery [error_handler] => ArrayObject Object ( [storage:ArrayObject:private] => Array ( [exception] => Zend_Db_Statement_Exception Object *RECURSION* [type] => EXCEPTION_OTHER [request] => Zend_Controller_Request_Http Object ( [_paramSources:protected] => Array ( [0] => _GET [1] => _POST ) [_requestUri:protected] => /gallery/13-chestersquare.html [_baseUrl:protected] => [_basePath:protected] => [_pathInfo:protected] => /gallery/13-chestersquare.html [_params:protected] => Array ( [urlSlug] => 13-chestersquare.html [action] => view [controller] => gallery ) [_rawBody:protected] => [_aliases:protected] => Array ( ) [_dispatched:protected] => 1 [_module:protected] => default [_moduleKey:protected] => module [_controller:protected] => gallery [_controllerKey:protected] => controller [_action:protected] => view [_actionKey:protected] => action ) ) ) ) [_rawBody:protected] => [_aliases:protected] => Array ( ) [_dispatched:protected] => 1 [_module:protected] => default [_moduleKey:protected] => module [_controller:protected] => error [_controllerKey:protected] => controller [_action:protected] => error [_actionKey:protected] => action ) [1] => Zend_Controller_Response_Http Object *RECURSION* ) ) [10] => Array ( [file] => /home2/pennysmillorg/public_html/library/Zend/Application/Bootstrap/Bootstrap.php [line] => 97 [function] => dispatch [class] => Zend_Controller_Front [type] => -> [args] => Array ( ) ) [11] => Array ( [file] => /home2/pennysmillorg/public_html/library/Zend/Application.php [line] => 366 [function] => run [class] => Zend_Application_Bootstrap_Bootstrap [type] => -> [args] => Array ( ) ) [12] => Array ( [file] => /home2/pennysmillorg/public_html/index.php [line] => 43 [function] => run [class] => Zend_Application [type] => -> [args] => Array ( ) ) ) [previous:Exception:private] => PDOException Object ( [message:protected] => SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY `g`.`order` asc' at line 2 [string:Exception:private] => [code:protected] => 42000 [file:protected] => /home2/pennysmillorg/public_html/library/Zend/Db/Statement/Pdo.php [line:protected] => 228 [trace:Exception:private] => Array ( [0] => Array ( [file] => /home2/pennysmillorg/public_html/library/Zend/Db/Statement/Pdo.php [line] => 228 [function] => execute [class] => PDOStatement [type] => -> [args] => Array ( [0] => Array ( ) ) ) [1] => Array ( [file] => /home2/pennysmillorg/public_html/library/Zend/Db/Statement.php [line] => 300 [function] => _execute [class] => Zend_Db_Statement_Pdo [type] => -> [args] => Array ( [0] => Array ( ) ) ) [2] => Array ( [file] => /home2/pennysmillorg/public_html/library/Zend/Db/Adapter/Abstract.php [line] => 479 [function] => execute [class] => Zend_Db_Statement [type] => -> [args] => Array ( [0] => Array ( ) ) ) [3] => Array ( [file] => /home2/pennysmillorg/public_html/library/Zend/Db/Adapter/Pdo/Abstract.php [line] => 238 [function] => query [class] => Zend_Db_Adapter_Abstract [type] => -> [args] => Array ( [0] => SELECT `g`.`image_id`, `g`.`image_title`, `g`.`thumb_name`, `g`.`image_name`, `r`.`title`, `r`.`id` FROM `gallery_images` AS `g` INNER JOIN `gallery` AS `r` ON g.gallery_id = r.id WHERE (gallery_id=) ORDER BY `g`.`order` asc [1] => Array ( ) ) ) [4] => Array ( [file] => /home2/pennysmillorg/public_html/library/Zend/Db/Table/Abstract.php [line] => 1529 [function] => query [class] => Zend_Db_Adapter_Pdo_Abstract [type] => -> [args] => Array ( [0] => Zend_Db_Table_Select Object ( [_info:protected] => Array ( [schema] => [name] => gallery_images [cols] => Array ( [0] => image_id [1] => gallery_id [2] => image_title [3] => thumb_name [4] => image_name [5] => order [6] => featured_images ) [primary] => Array ( [1] => image_id ) [metadata] => Array ( [image_id] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => image_id [COLUMN_POSITION] => 1 [DATA_TYPE] => int [DEFAULT] => [NULLABLE] => [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => 1 [PRIMARY_POSITION] => 1 [IDENTITY] => 1 ) [gallery_id] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => gallery_id [COLUMN_POSITION] => 2 [DATA_TYPE] => int [DEFAULT] => [NULLABLE] => 1 [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [image_title] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => image_title [COLUMN_POSITION] => 3 [DATA_TYPE] => varchar [DEFAULT] => [NULLABLE] => 1 [LENGTH] => 150 [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [thumb_name] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => thumb_name [COLUMN_POSITION] => 4 [DATA_TYPE] => varchar [DEFAULT] => [NULLABLE] => 1 [LENGTH] => 45 [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [image_name] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => image_name [COLUMN_POSITION] => 5 [DATA_TYPE] => varchar [DEFAULT] => [NULLABLE] => 1 [LENGTH] => 45 [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [order] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => order [COLUMN_POSITION] => 6 [DATA_TYPE] => int [DEFAULT] => 0 [NULLABLE] => [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [featured_images] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => featured_images [COLUMN_POSITION] => 7 [DATA_TYPE] => int [DEFAULT] => [NULLABLE] => [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) ) [rowClass] => Zend_Db_Table_Row [rowsetClass] => Zend_Db_Table_Rowset [referenceMap] => Array ( [Gallery] => Array ( [columns] => Array ( [0] => gallery_id ) [refTableClass] => Model_Gallery [refColumns] => Array ( [0] => id ) [onDelete] => cascade [onUpdate] => restrict ) ) [dependentTables] => Array ( ) [sequence] => 1 ) [_integrityCheck:protected] => [_table:protected] => Model_GalleryImages Object ( [_name:protected] => gallery_images [_referenceMap:protected] => Array ( [Gallery] => Array ( [columns] => Array ( [0] => gallery_id ) [refTableClass] => Model_Gallery [refColumns] => Array ( [0] => id ) [onDelete] => cascade [onUpdate] => restrict ) ) [_definition:protected] => [_definitionConfigName:protected] => [_db:protected] => Zend_Db_Adapter_Pdo_Mysql Object ( [_pdoType:protected] => mysql [_numericDataTypes:protected] => Array ( [0] => 0 [1] => 1 [2] => 2 [INT] => 0 [INTEGER] => 0 [MEDIUMINT] => 0 [SMALLINT] => 0 [TINYINT] => 0 [BIGINT] => 1 [SERIAL] => 1 [DEC] => 2 [DECIMAL] => 2 [DOUBLE] => 2 [DOUBLE PRECISION] => 2 [FIXED] => 2 [FLOAT] => 2 ) [_defaultStmtClass:protected] => Zend_Db_Statement_Pdo [_config:protected] => Array ( [host] => localhost [username] => pennysmi_user [password] => h7Xe,Jy.IFeW [dbname] => pennysmi_db [charset] => [persistent] => [options] => Array ( [caseFolding] => 0 [autoQuoteIdentifiers] => 1 [fetchMode] => 2 ) [driver_options] => Array ( ) ) [_fetchMode:protected] => 2 [_profiler:protected] => Zend_Db_Profiler Object ( [_queryProfiles:protected] => Array ( ) [_enabled:protected] => [_filterElapsedSecs:protected] => [_filterTypes:protected] => ) [_defaultProfilerClass:protected] => Zend_Db_Profiler [_connection:protected] => PDO Object ( ) [_caseFolding:protected] => 0 [_autoQuoteIdentifiers:protected] => 1 [_allowSerialization:protected] => 1 [_autoReconnectOnUnserialize:protected] => ) [_schema:protected] => [_cols:protected] => Array ( [0] => image_id [1] => gallery_id [2] => image_title [3] => thumb_name [4] => image_name [5] => order [6] => featured_images ) [_primary:protected] => Array ( [1] => image_id ) [_identity:protected] => 1 [_sequence:protected] => 1 [_metadata:protected] => Array ( [image_id] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => image_id [COLUMN_POSITION] => 1 [DATA_TYPE] => int [DEFAULT] => [NULLABLE] => [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => 1 [PRIMARY_POSITION] => 1 [IDENTITY] => 1 ) [gallery_id] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => gallery_id [COLUMN_POSITION] => 2 [DATA_TYPE] => int [DEFAULT] => [NULLABLE] => 1 [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [image_title] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => image_title [COLUMN_POSITION] => 3 [DATA_TYPE] => varchar [DEFAULT] => [NULLABLE] => 1 [LENGTH] => 150 [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [thumb_name] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => thumb_name [COLUMN_POSITION] => 4 [DATA_TYPE] => varchar [DEFAULT] => [NULLABLE] => 1 [LENGTH] => 45 [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [image_name] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => image_name [COLUMN_POSITION] => 5 [DATA_TYPE] => varchar [DEFAULT] => [NULLABLE] => 1 [LENGTH] => 45 [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [order] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => order [COLUMN_POSITION] => 6 [DATA_TYPE] => int [DEFAULT] => 0 [NULLABLE] => [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [featured_images] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => featured_images [COLUMN_POSITION] => 7 [DATA_TYPE] => int [DEFAULT] => [NULLABLE] => [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) ) [_metadataCache:protected] => [_metadataCacheInClass:protected] => 1 [_rowClass:protected] => Zend_Db_Table_Row [_rowsetClass:protected] => Zend_Db_Table_Rowset [_dependentTables:protected] => Array ( ) [_defaultSource:protected] => defaultNone [_defaultValues:protected] => Array ( ) ) [_bind:protected] => Array ( ) [_adapter:protected] => Zend_Db_Adapter_Pdo_Mysql Object ( [_pdoType:protected] => mysql [_numericDataTypes:protected] => Array ( [0] => 0 [1] => 1 [2] => 2 [INT] => 0 [INTEGER] => 0 [MEDIUMINT] => 0 [SMALLINT] => 0 [TINYINT] => 0 [BIGINT] => 1 [SERIAL] => 1 [DEC] => 2 [DECIMAL] => 2 [DOUBLE] => 2 [DOUBLE PRECISION] => 2 [FIXED] => 2 [FLOAT] => 2 ) [_defaultStmtClass:protected] => Zend_Db_Statement_Pdo [_config:protected] => Array ( [host] => localhost [username] => pennysmi_user [password] => h7Xe,Jy.IFeW [dbname] => pennysmi_db [charset] => [persistent] => [options] => Array ( [caseFolding] => 0 [autoQuoteIdentifiers] => 1 [fetchMode] => 2 ) [driver_options] => Array ( ) ) [_fetchMode:protected] => 2 [_profiler:protected] => Zend_Db_Profiler Object ( [_queryProfiles:protected] => Array ( ) [_enabled:protected] => [_filterElapsedSecs:protected] => [_filterTypes:protected] => ) [_defaultProfilerClass:protected] => Zend_Db_Profiler [_connection:protected] => PDO Object ( ) [_caseFolding:protected] => 0 [_autoQuoteIdentifiers:protected] => 1 [_allowSerialization:protected] => 1 [_autoReconnectOnUnserialize:protected] => ) [_parts:protected] => Array ( [distinct] => [columns] => Array ( [0] => Array ( [0] => g [1] => image_id [2] => ) [1] => Array ( [0] => g [1] => image_title [2] => ) [2] => Array ( [0] => g [1] => thumb_name [2] => ) [3] => Array ( [0] => g [1] => image_name [2] => ) [4] => Array ( [0] => r [1] => title [2] => ) [5] => Array ( [0] => r [1] => id [2] => ) ) [union] => Array ( ) [from] => Array ( [g] => Array ( [joinType] => inner join [schema] => [tableName] => gallery_images [joinCondition] => ) [r] => Array ( [joinType] => inner join [schema] => [tableName] => gallery [joinCondition] => g.gallery_id = r.id ) ) [where] => Array ( [0] => (gallery_id=) ) [group] => Array ( ) [having] => Array ( ) [order] => Array ( [0] => Array ( [0] => g.order [1] => asc ) ) [limitcount] => [limitoffset] => [forupdate] => ) [_tableCols:protected] => Array ( ) ) ) ) [5] => Array ( [file] => /home2/pennysmillorg/public_html/library/Zend/Db/Table/Abstract.php [line] => 1344 [function] => _fetch [class] => Zend_Db_Table_Abstract [type] => -> [args] => Array ( [0] => Zend_Db_Table_Select Object ( [_info:protected] => Array ( [schema] => [name] => gallery_images [cols] => Array ( [0] => image_id [1] => gallery_id [2] => image_title [3] => thumb_name [4] => image_name [5] => order [6] => featured_images ) [primary] => Array ( [1] => image_id ) [metadata] => Array ( [image_id] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => image_id [COLUMN_POSITION] => 1 [DATA_TYPE] => int [DEFAULT] => [NULLABLE] => [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => 1 [PRIMARY_POSITION] => 1 [IDENTITY] => 1 ) [gallery_id] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => gallery_id [COLUMN_POSITION] => 2 [DATA_TYPE] => int [DEFAULT] => [NULLABLE] => 1 [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [image_title] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => image_title [COLUMN_POSITION] => 3 [DATA_TYPE] => varchar [DEFAULT] => [NULLABLE] => 1 [LENGTH] => 150 [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [thumb_name] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => thumb_name [COLUMN_POSITION] => 4 [DATA_TYPE] => varchar [DEFAULT] => [NULLABLE] => 1 [LENGTH] => 45 [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [image_name] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => image_name [COLUMN_POSITION] => 5 [DATA_TYPE] => varchar [DEFAULT] => [NULLABLE] => 1 [LENGTH] => 45 [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [order] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => order [COLUMN_POSITION] => 6 [DATA_TYPE] => int [DEFAULT] => 0 [NULLABLE] => [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [featured_images] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => featured_images [COLUMN_POSITION] => 7 [DATA_TYPE] => int [DEFAULT] => [NULLABLE] => [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) ) [rowClass] => Zend_Db_Table_Row [rowsetClass] => Zend_Db_Table_Rowset [referenceMap] => Array ( [Gallery] => Array ( [columns] => Array ( [0] => gallery_id ) [refTableClass] => Model_Gallery [refColumns] => Array ( [0] => id ) [onDelete] => cascade [onUpdate] => restrict ) ) [dependentTables] => Array ( ) [sequence] => 1 ) [_integrityCheck:protected] => [_table:protected] => Model_GalleryImages Object ( [_name:protected] => gallery_images [_referenceMap:protected] => Array ( [Gallery] => Array ( [columns] => Array ( [0] => gallery_id ) [refTableClass] => Model_Gallery [refColumns] => Array ( [0] => id ) [onDelete] => cascade [onUpdate] => restrict ) ) [_definition:protected] => [_definitionConfigName:protected] => [_db:protected] => Zend_Db_Adapter_Pdo_Mysql Object ( [_pdoType:protected] => mysql [_numericDataTypes:protected] => Array ( [0] => 0 [1] => 1 [2] => 2 [INT] => 0 [INTEGER] => 0 [MEDIUMINT] => 0 [SMALLINT] => 0 [TINYINT] => 0 [BIGINT] => 1 [SERIAL] => 1 [DEC] => 2 [DECIMAL] => 2 [DOUBLE] => 2 [DOUBLE PRECISION] => 2 [FIXED] => 2 [FLOAT] => 2 ) [_defaultStmtClass:protected] => Zend_Db_Statement_Pdo [_config:protected] => Array ( [host] => localhost [username] => pennysmi_user [password] => h7Xe,Jy.IFeW [dbname] => pennysmi_db [charset] => [persistent] => [options] => Array ( [caseFolding] => 0 [autoQuoteIdentifiers] => 1 [fetchMode] => 2 ) [driver_options] => Array ( ) ) [_fetchMode:protected] => 2 [_profiler:protected] => Zend_Db_Profiler Object ( [_queryProfiles:protected] => Array ( ) [_enabled:protected] => [_filterElapsedSecs:protected] => [_filterTypes:protected] => ) [_defaultProfilerClass:protected] => Zend_Db_Profiler [_connection:protected] => PDO Object ( ) [_caseFolding:protected] => 0 [_autoQuoteIdentifiers:protected] => 1 [_allowSerialization:protected] => 1 [_autoReconnectOnUnserialize:protected] => ) [_schema:protected] => [_cols:protected] => Array ( [0] => image_id [1] => gallery_id [2] => image_title [3] => thumb_name [4] => image_name [5] => order [6] => featured_images ) [_primary:protected] => Array ( [1] => image_id ) [_identity:protected] => 1 [_sequence:protected] => 1 [_metadata:protected] => Array ( [image_id] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => image_id [COLUMN_POSITION] => 1 [DATA_TYPE] => int [DEFAULT] => [NULLABLE] => [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => 1 [PRIMARY_POSITION] => 1 [IDENTITY] => 1 ) [gallery_id] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => gallery_id [COLUMN_POSITION] => 2 [DATA_TYPE] => int [DEFAULT] => [NULLABLE] => 1 [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [image_title] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => image_title [COLUMN_POSITION] => 3 [DATA_TYPE] => varchar [DEFAULT] => [NULLABLE] => 1 [LENGTH] => 150 [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [thumb_name] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => thumb_name [COLUMN_POSITION] => 4 [DATA_TYPE] => varchar [DEFAULT] => [NULLABLE] => 1 [LENGTH] => 45 [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [image_name] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => image_name [COLUMN_POSITION] => 5 [DATA_TYPE] => varchar [DEFAULT] => [NULLABLE] => 1 [LENGTH] => 45 [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [order] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => order [COLUMN_POSITION] => 6 [DATA_TYPE] => int [DEFAULT] => 0 [NULLABLE] => [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [featured_images] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => featured_images [COLUMN_POSITION] => 7 [DATA_TYPE] => int [DEFAULT] => [NULLABLE] => [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) ) [_metadataCache:protected] => [_metadataCacheInClass:protected] => 1 [_rowClass:protected] => Zend_Db_Table_Row [_rowsetClass:protected] => Zend_Db_Table_Rowset [_dependentTables:protected] => Array ( ) [_defaultSource:protected] => defaultNone [_defaultValues:protected] => Array ( ) ) [_bind:protected] => Array ( ) [_adapter:protected] => Zend_Db_Adapter_Pdo_Mysql Object ( [_pdoType:protected] => mysql [_numericDataTypes:protected] => Array ( [0] => 0 [1] => 1 [2] => 2 [INT] => 0 [INTEGER] => 0 [MEDIUMINT] => 0 [SMALLINT] => 0 [TINYINT] => 0 [BIGINT] => 1 [SERIAL] => 1 [DEC] => 2 [DECIMAL] => 2 [DOUBLE] => 2 [DOUBLE PRECISION] => 2 [FIXED] => 2 [FLOAT] => 2 ) [_defaultStmtClass:protected] => Zend_Db_Statement_Pdo [_config:protected] => Array ( [host] => localhost [username] => pennysmi_user [password] => h7Xe,Jy.IFeW [dbname] => pennysmi_db [charset] => [persistent] => [options] => Array ( [caseFolding] => 0 [autoQuoteIdentifiers] => 1 [fetchMode] => 2 ) [driver_options] => Array ( ) ) [_fetchMode:protected] => 2 [_profiler:protected] => Zend_Db_Profiler Object ( [_queryProfiles:protected] => Array ( ) [_enabled:protected] => [_filterElapsedSecs:protected] => [_filterTypes:protected] => ) [_defaultProfilerClass:protected] => Zend_Db_Profiler [_connection:protected] => PDO Object ( ) [_caseFolding:protected] => 0 [_autoQuoteIdentifiers:protected] => 1 [_allowSerialization:protected] => 1 [_autoReconnectOnUnserialize:protected] => ) [_parts:protected] => Array ( [distinct] => [columns] => Array ( [0] => Array ( [0] => g [1] => image_id [2] => ) [1] => Array ( [0] => g [1] => image_title [2] => ) [2] => Array ( [0] => g [1] => thumb_name [2] => ) [3] => Array ( [0] => g [1] => image_name [2] => ) [4] => Array ( [0] => r [1] => title [2] => ) [5] => Array ( [0] => r [1] => id [2] => ) ) [union] => Array ( ) [from] => Array ( [g] => Array ( [joinType] => inner join [schema] => [tableName] => gallery_images [joinCondition] => ) [r] => Array ( [joinType] => inner join [schema] => [tableName] => gallery [joinCondition] => g.gallery_id = r.id ) ) [where] => Array ( [0] => (gallery_id=) ) [group] => Array ( ) [having] => Array ( ) [order] => Array ( [0] => Array ( [0] => g.order [1] => asc ) ) [limitcount] => [limitoffset] => [forupdate] => ) [_tableCols:protected] => Array ( ) ) ) ) [6] => Array ( [file] => /home2/pennysmillorg/public_html/application/models/GalleryImages.php [line] => 52 [function] => fetchAll [class] => Zend_Db_Table_Abstract [type] => -> [args] => Array ( [0] => Zend_Db_Table_Select Object ( [_info:protected] => Array ( [schema] => [name] => gallery_images [cols] => Array ( [0] => image_id [1] => gallery_id [2] => image_title [3] => thumb_name [4] => image_name [5] => order [6] => featured_images ) [primary] => Array ( [1] => image_id ) [metadata] => Array ( [image_id] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => image_id [COLUMN_POSITION] => 1 [DATA_TYPE] => int [DEFAULT] => [NULLABLE] => [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => 1 [PRIMARY_POSITION] => 1 [IDENTITY] => 1 ) [gallery_id] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => gallery_id [COLUMN_POSITION] => 2 [DATA_TYPE] => int [DEFAULT] => [NULLABLE] => 1 [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [image_title] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => image_title [COLUMN_POSITION] => 3 [DATA_TYPE] => varchar [DEFAULT] => [NULLABLE] => 1 [LENGTH] => 150 [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [thumb_name] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => thumb_name [COLUMN_POSITION] => 4 [DATA_TYPE] => varchar [DEFAULT] => [NULLABLE] => 1 [LENGTH] => 45 [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [image_name] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => image_name [COLUMN_POSITION] => 5 [DATA_TYPE] => varchar [DEFAULT] => [NULLABLE] => 1 [LENGTH] => 45 [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [order] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => order [COLUMN_POSITION] => 6 [DATA_TYPE] => int [DEFAULT] => 0 [NULLABLE] => [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [featured_images] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => featured_images [COLUMN_POSITION] => 7 [DATA_TYPE] => int [DEFAULT] => [NULLABLE] => [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) ) [rowClass] => Zend_Db_Table_Row [rowsetClass] => Zend_Db_Table_Rowset [referenceMap] => Array ( [Gallery] => Array ( [columns] => Array ( [0] => gallery_id ) [refTableClass] => Model_Gallery [refColumns] => Array ( [0] => id ) [onDelete] => cascade [onUpdate] => restrict ) ) [dependentTables] => Array ( ) [sequence] => 1 ) [_integrityCheck:protected] => [_table:protected] => Model_GalleryImages Object ( [_name:protected] => gallery_images [_referenceMap:protected] => Array ( [Gallery] => Array ( [columns] => Array ( [0] => gallery_id ) [refTableClass] => Model_Gallery [refColumns] => Array ( [0] => id ) [onDelete] => cascade [onUpdate] => restrict ) ) [_definition:protected] => [_definitionConfigName:protected] => [_db:protected] => Zend_Db_Adapter_Pdo_Mysql Object ( [_pdoType:protected] => mysql [_numericDataTypes:protected] => Array ( [0] => 0 [1] => 1 [2] => 2 [INT] => 0 [INTEGER] => 0 [MEDIUMINT] => 0 [SMALLINT] => 0 [TINYINT] => 0 [BIGINT] => 1 [SERIAL] => 1 [DEC] => 2 [DECIMAL] => 2 [DOUBLE] => 2 [DOUBLE PRECISION] => 2 [FIXED] => 2 [FLOAT] => 2 ) [_defaultStmtClass:protected] => Zend_Db_Statement_Pdo [_config:protected] => Array ( [host] => localhost [username] => pennysmi_user [password] => h7Xe,Jy.IFeW [dbname] => pennysmi_db [charset] => [persistent] => [options] => Array ( [caseFolding] => 0 [autoQuoteIdentifiers] => 1 [fetchMode] => 2 ) [driver_options] => Array ( ) ) [_fetchMode:protected] => 2 [_profiler:protected] => Zend_Db_Profiler Object ( [_queryProfiles:protected] => Array ( ) [_enabled:protected] => [_filterElapsedSecs:protected] => [_filterTypes:protected] => ) [_defaultProfilerClass:protected] => Zend_Db_Profiler [_connection:protected] => PDO Object ( ) [_caseFolding:protected] => 0 [_autoQuoteIdentifiers:protected] => 1 [_allowSerialization:protected] => 1 [_autoReconnectOnUnserialize:protected] => ) [_schema:protected] => [_cols:protected] => Array ( [0] => image_id [1] => gallery_id [2] => image_title [3] => thumb_name [4] => image_name [5] => order [6] => featured_images ) [_primary:protected] => Array ( [1] => image_id ) [_identity:protected] => 1 [_sequence:protected] => 1 [_metadata:protected] => Array ( [image_id] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => image_id [COLUMN_POSITION] => 1 [DATA_TYPE] => int [DEFAULT] => [NULLABLE] => [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => 1 [PRIMARY_POSITION] => 1 [IDENTITY] => 1 ) [gallery_id] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => gallery_id [COLUMN_POSITION] => 2 [DATA_TYPE] => int [DEFAULT] => [NULLABLE] => 1 [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [image_title] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => image_title [COLUMN_POSITION] => 3 [DATA_TYPE] => varchar [DEFAULT] => [NULLABLE] => 1 [LENGTH] => 150 [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [thumb_name] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => thumb_name [COLUMN_POSITION] => 4 [DATA_TYPE] => varchar [DEFAULT] => [NULLABLE] => 1 [LENGTH] => 45 [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [image_name] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => image_name [COLUMN_POSITION] => 5 [DATA_TYPE] => varchar [DEFAULT] => [NULLABLE] => 1 [LENGTH] => 45 [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [order] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => order [COLUMN_POSITION] => 6 [DATA_TYPE] => int [DEFAULT] => 0 [NULLABLE] => [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) [featured_images] => Array ( [SCHEMA_NAME] => [TABLE_NAME] => gallery_images [COLUMN_NAME] => featured_images [COLUMN_POSITION] => 7 [DATA_TYPE] => int [DEFAULT] => [NULLABLE] => [LENGTH] => [SCALE] => [PRECISION] => [UNSIGNED] => [PRIMARY] => [PRIMARY_POSITION] => [IDENTITY] => ) ) [_metadataCache:protected] => [_metadataCacheInClass:protected] => 1 [_rowClass:protected] => Zend_Db_Table_Row [_rowsetClass:protected] => Zend_Db_Table_Rowset [_dependentTables:protected] => Array ( ) [_defaultSource:protected] => defaultNone [_defaultValues:protected] => Array ( ) ) [_bind:protected] => Array ( ) [_adapter:protected] => Zend_Db_Adapter_Pdo_Mysql Object ( [_pdoType:protected] => mysql [_numericDataTypes:protected] => Array ( [0] => 0 [1] => 1 [2] => 2 [INT] => 0 [INTEGER] => 0 [MEDIUMINT] => 0 [SMALLINT] => 0 [TINYINT] => 0 [BIGINT] => 1 [SERIAL] => 1 [DEC] => 2 [DECIMAL] => 2 [DOUBLE] => 2 [DOUBLE PRECISION] => 2 [FIXED] => 2 [FLOAT] => 2 ) [_defaultStmtClass:protected] => Zend_Db_Statement_Pdo [_config:protected] => Array ( [host] => localhost [username] => pennysmi_user [password] => h7Xe,Jy.IFeW [dbname] => pennysmi_db [charset] => [persistent] => [options] => Array ( [caseFolding] => 0 [autoQuoteIdentifiers] => 1 [fetchMode] => 2 ) [driver_options] => Array ( ) ) [_fetchMode:protected] => 2 [_profiler:protected] => Zend_Db_Profiler Object ( [_queryProfiles:protected] => Array ( ) [_enabled:protected] => [_filterElapsedSecs:protected] => [_filterTypes:protected] => ) [_defaultProfilerClass:protected] => Zend_Db_Profiler [_connection:protected] => PDO Object ( ) [_caseFolding:protected] => 0 [_autoQuoteIdentifiers:protected] => 1 [_allowSerialization:protected] => 1 [_autoReconnectOnUnserialize:protected] => ) [_parts:protected] => Array ( [distinct] => [columns] => Array ( [0] => Array ( [0] => g [1] => image_id [2] => ) [1] => Array ( [0] => g [1] => image_title [2] => ) [2] => Array ( [0] => g [1] => thumb_name [2] => ) [3] => Array ( [0] => g [1] => image_name [2] => ) [4] => Array ( [0] => r [1] => title [2] => ) [5] => Array ( [0] => r [1] => id [2] => ) ) [union] => Array ( ) [from] => Array ( [g] => Array ( [joinType] => inner join [schema] => [tableName] => gallery_images [joinCondition] => ) [r] => Array ( [joinType] => inner join [schema] => [tableName] => gallery [joinCondition] => g.gallery_id = r.id ) ) [where] => Array ( [0] => (gallery_id=) ) [group] => Array ( ) [having] => Array ( ) [order] => Array ( [0] => Array ( [0] => g.order [1] => asc ) ) [limitcount] => [limitoffset] => [forupdate] => ) [_tableCols:protected] => Array ( ) ) ) ) [7] => Array ( [file] => /home2/pennysmillorg/public_html/application/controllers/GalleryController.php [line] => 32 [function] => getImages [class] => Model_GalleryImages [type] => -> [args] => Array ( [0] => ) ) [8] => Array ( [file] => /home2/pennysmillorg/public_html/library/Zend/Controller/Action.php [line] => 516 [function] => viewAction [class] => GalleryController [type] => -> [args] => Array ( ) ) [9] => Array ( [file] => /home2/pennysmillorg/public_html/library/Zend/Controller/Dispatcher/Standard.php [line] => 295 [function] => dispatch [class] => Zend_Controller_Action [type] => -> [args] => Array ( [0] => viewAction ) ) [10] => Array ( [file] => /home2/pennysmillorg/public_html/library/Zend/Controller/Front.php [line] => 954 [function] => dispatch [class] => Zend_Controller_Dispatcher_Standard [type] => -> [args] => Array ( [0] => Zend_Controller_Request_Http Object ( [_paramSources:protected] => Array ( [0] => _GET [1] => _POST ) [_requestUri:protected] => /gallery/13-chestersquare.html [_baseUrl:protected] => [_basePath:protected] => [_pathInfo:protected] => /gallery/13-chestersquare.html [_params:protected] => Array ( [urlSlug] => 13-chestersquare.html [action] => view [controller] => gallery [error_handler] => ArrayObject Object ( [storage:ArrayObject:private] => Array ( [exception] => Zend_Db_Statement_Exception Object *RECURSION* [type] => EXCEPTION_OTHER [request] => Zend_Controller_Request_Http Object ( [_paramSources:protected] => Array ( [0] => _GET [1] => _POST ) [_requestUri:protected] => /gallery/13-chestersquare.html [_baseUrl:protected] => [_basePath:protected] => [_pathInfo:protected] => /gallery/13-chestersquare.html [_params:protected] => Array ( [urlSlug] => 13-chestersquare.html [action] => view [controller] => gallery ) [_rawBody:protected] => [_aliases:protected] => Array ( ) [_dispatched:protected] => 1 [_module:protected] => default [_moduleKey:protected] => module [_controller:protected] => gallery [_controllerKey:protected] => controller [_action:protected] => view [_actionKey:protected] => action ) ) ) ) [_rawBody:protected] => [_aliases:protected] => Array ( ) [_dispatched:protected] => 1 [_module:protected] => default [_moduleKey:protected] => module [_controller:protected] => error [_controllerKey:protected] => controller [_action:protected] => error [_actionKey:protected] => action ) [1] => Zend_Controller_Response_Http Object *RECURSION* ) ) [11] => Array ( [file] => /home2/pennysmillorg/public_html/library/Zend/Application/Bootstrap/Bootstrap.php [line] => 97 [function] => dispatch [class] => Zend_Controller_Front [type] => -> [args] => Array ( ) ) [12] => Array ( [file] => /home2/pennysmillorg/public_html/library/Zend/Application.php [line] => 366 [function] => run [class] => Zend_Application_Bootstrap_Bootstrap [type] => -> [args] => Array ( ) ) [13] => Array ( [file] => /home2/pennysmillorg/public_html/index.php [line] => 43 [function] => run [class] => Zend_Application [type] => -> [args] => Array ( ) ) ) [previous:Exception:private] => [errorInfo] => Array ( [0] => 42000 [1] => 1064 [2] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY `g`.`order` asc' at line 2 ) ) ) ) [_headers:protected] => Array ( ) [_headersRaw:protected] => Array ( ) [_httpResponseCode:protected] => 200 [_isRedirect:protected] => [_renderExceptions:protected] => [headersSentThrowsException] => 1 )

ABOUT ME

I'll go through every detail with you until everything looks right and works the way it should. If you're a design professional you can deal with me yourself or brief me to talk to your clients.

Contact Details

Penny's Mill,
Nunney,
Frome,
BA11 4NP

07976 606107

billdavies@pennysmill.com

Top