The Code-Bin
Links
Home
Add your code!
All Listings
About
Latest Entry
Featured Scripts
Author's Website
Latest Entries
FFMPEG Thumbnail Scr...
PHP, 0.8KB
Jul. 29, 10:24pm
John
Z80 Assembler, 190 bytes
Feb. 17, 3:36am
John
Z80 Assembler, 176 bytes
Sep. 13, 2:19am
John
Z80 Assembler, 77 bytes
Sep. 13, 2:18am
John
Z80 Assembler, 209 bytes
Sep. 13, 2:17am
Error
Posted by: Jason | April 22, 2010 @ 2:23pm
Other Code
[
Download
]
Invalid method Mage_Catalog_Model_Product_Visibility::addValueSortToCollection(Array ( [0] => Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection Object ( [_flatEnabled:protected] => Array ( ) [_productWebsiteTable:protected] => catalog_product_website [_productCategoryTable:protected] => catalog_category_product [_addUrlRewrite:protected] => [_urlRewriteCategory:protected] => [_addMinimalPrice:protected] => [_addFinalPrice:protected] => [_allIdsCache:protected] => [_addTaxPercents:protected] => [_categoryIndexJoined:protected] => [_productCountSelect:protected] => [_storeId:protected] => [_itemsById:protected] => Array ( ) [_staticFields:protected] => Array ( [entity_id] => entity_id [entity_type_id] => entity_type_id [attribute_set_id] => attribute_set_id [type_id] => type_id [created_at] => created_at [updated_at] => updated_at ) [_entity:protected] => Mage_Catalog_Model_Resource_Eav_Mysql4_Product Object ( [_productWebsiteTable:protected] => catalog_product_website [_productCategoryTable:protected] => catalog_category_product [_read:protected] => Varien_Db_Adapter_Pdo_Mysql Object ( [_transactionLevel:protected] => 0 [_connectionFlagsSet:protected] => 1 [_describesCache:protected] => Array ( ) [_bindParams:protected] => Array ( ) [_bindIncrement:protected] => 0 [_debug:protected] => [_logQueryTime:protected] => 0.05 [_debugFile:protected] => var/debug/sql.txt [_debugIoAdapter:protected] => [_debugTimer:protected] => 0 [_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 ( [model] => mysql4 [initStatements] => SET NAMES utf8 [type] => pdo_mysql [host] => localhost [username] => findabet_horse [password] => horse [dbname] => findabet_horse [active] => 1 [options] => Array ( [caseFolding] => 0 [autoQuoteIdentifiers] => 1 ) [driver_options] => Array ( ) [port] => 3307 ) [_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] => ) [_write:protected] => Varien_Db_Adapter_Pdo_Mysql Object ( [_transactionLevel:protected] => 0 [_connectionFlagsSet:protected] => 1 [_describesCache:protected] => Array ( ) [_bindParams:protected] => Array ( ) [_bindIncrement:protected] => 0 [_debug:protected] => [_logQueryTime:protected] => 0.05 [_debugFile:protected] => var/debug/sql.txt [_debugIoAdapter:protected] => [_debugTimer:protected] => 0 [_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 ( [model] => mysql4 [initStatements] => SET NAMES utf8 [type] => pdo_mysql [host] => localhost [username] => findabet_horse [password] => horse [dbname] => findabet_horse [active] => 1 [options] => Array ( [caseFolding] => 0 [autoQuoteIdentifiers] => 1 ) [driver_options] => Array ( ) [port] => 3307 ) [_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] => ) [_type:protected] => Mage_Eav_Model_Entity_Type Object ( [_attributes:protected] => [_attributesBySet:protected] => Array ( ) [_sets:protected] => [_eventPrefix:protected] => core_abstract [_eventObject:protected] => object [_resourceName:protected] => eav/entity_type [_resource:protected] => [_resourceCollectionName:protected] => eav/entity_type_collection [_cacheTag:protected] => [_dataSaveAllowed:protected] => 1 [_data:protected] => Array ( [entity_type_id] => 4 [entity_type_code] => catalog_product [entity_model] => catalog/product [attribute_model] => catalog/resource_eav_attribute [entity_table] => catalog/product [value_table_prefix] => catalog_product_entity [entity_id_field] => [is_data_sharing] => 1 [data_sharing_key] => default [default_attribute_set_id] => 4 [increment_model] => [increment_per_store] => 0 [increment_pad_length] => 8 [increment_pad_char] => 0 ) [_origData:protected] => [_idFieldName:protected] => entity_type_id [_isDeleted:protected] => ) [_attributesById:protected] => Array ( [85] => Mage_Catalog_Model_Resource_Eav_Attribute Object ( [_eventPrefix:protected] => eav_entity_attribute [_eventObject:protected] => attribute [_cacheTag:protected] => EAV_ATTRIBUTE [_name:protected] => [_entity:protected] => Mage_Catalog_Model_Resource_Eav_Mysql4_Product Object *RECURSION* [_backend:protected] => [_frontend:protected] => [_source:protected] => Mage_Catalog_Model_Product_Visibility Object ( [_data:protected] => Array ( [attribute] => Mage_Catalog_Model_Resource_Eav_Attribute Object *RECURSION* ) [_origData:protected] => [_idFieldName:protected] => visibility_id [_isDeleted:protected] => ) [_attributeIdCache:protected] => Array ( ) [_dataTable:protected] => catalog_product_entity_int [_resourceName:protected] => eav/entity_attribute [_resource:protected] => [_resourceCollectionName:protected] => eav/entity_attribute_collection [_dataSaveAllowed:protected] => 1 [_data:protected] => Array ( [attribute_id] => 85 [entity_type_id] => 4 [attribute_code] => visibility [attribute_model] => catalog/resource_eav_attribute [backend_model] => [backend_type] => int [backend_table] => [frontend_model] => [frontend_input] => select [frontend_input_renderer] => [frontend_label] => Visibility [frontend_class] => [source_model] => catalog/product_visibility [is_global] => 0 [is_visible] => 1 [is_required] => 1 [is_user_defined] => 0 [default_value] => 4 [is_searchable] => 0 [is_filterable] => 0 [is_comparable] => 0 [is_visible_on_front] => 0 [is_html_allowed_on_front] => 0 [is_unique] => 0 [is_used_for_price_rules] => 1 [is_filterable_in_search] => 0 [used_in_product_listing] => 0 [used_for_sort_by] => 0 [is_configurable] => 1 [apply_to] => [position] => 1 [note] => [is_visible_in_advanced_search] => 0 [entity_type] => Mage_Eav_Model_Entity_Type Object ( [_attributes:protected] => [_attributesBySet:protected] => Array ( ) [_sets:protected] => [_eventPrefix:protected] => core_abstract [_eventObject:protected] => object [_resourceName:protected] => eav/entity_type [_resource:protected] => [_resourceCollectionName:protected] => eav/entity_type_collection [_cacheTag:protected] => [_dataSaveAllowed:protected] => 1 [_data:protected] => Array ( [entity_type_id] => 4 [entity_type_code] => catalog_product [entity_model] => catalog/product [attribute_model] => catalog/resource_eav_attribute [entity_table] => catalog/product [value_table_prefix] => catalog_product_entity [entity_id_field] => [is_data_sharing] => 1 [data_sharing_key] => default [default_attribute_set_id] => 4 [increment_model] => [increment_per_store] => 0 [increment_pad_length] => 8 [increment_pad_char] => 0 ) [_origData:protected] => [_idFieldName:protected] => entity_type_id [_isDeleted:protected] => ) ) [_origData:protected] => [_idFieldName:protected] => attribute_id [_isDeleted:protected] => ) ) [_attributesByCode:protected] => Array ( [sku] => Mage_Catalog_Model_Resource_Eav_Attribute Object ( [_eventPrefix:protected] => eav_entity_attribute [_eventObject:protected] => attribute [_cacheTag:protected] => EAV_ATTRIBUTE [_name:protected] => [_entity:protected] => Mage_Catalog_Model_Resource_Eav_Mysql4_Product Object *RECURSION* [_backend:protected] => Mage_Eav_Model_Entity_Attribute_Backend_Default Object ( [_attribute:protected] => Mage_Catalog_Model_Resource_Eav_Attribute Object *RECURSION* [_valueId:protected] => [_table:protected] => [_entityIdField:protected] => [_defaultValue:protected] => ) [_frontend:protected] => [_source:protected] => [_attributeIdCache:protected] => Array ( ) [_dataTable:protected] => [_resourceName:protected] => eav/entity_attribute [_resource:protected] => [_resourceCollectionName:protected] => eav/entity_attribute_collection [_dataSaveAllowed:protected] => 1 [_data:protected] => Array ( [attribute_id] => 59 [entity_type_id] => 4 [attribute_code] => sku [attribute_model] => catalog/resource_eav_attribute [backend_model] => eav/entity_attribute_backend_default [backend_type] => static [backend_table] => [frontend_model] => [frontend_input] => text [frontend_input_renderer] => [frontend_label] => Item Number [frontend_class] => [source_model] => [is_global] => 1 [is_visible] => 1 [is_required] => 1 [is_user_defined] => 0 [default_value] => [is_searchable] => 1 [is_filterable] => 0 [is_comparable] => 1 [is_visible_on_front] => 1 [is_html_allowed_on_front] => 1 [is_unique] => 1 [is_used_for_price_rules] => 1 [is_filterable_in_search] => 0 [used_in_product_listing] => 1 [used_for_sort_by] => 1 [is_configurable] => 1 [apply_to] => [position] => 1 [note] => [is_visible_in_advanced_search] => 1 [entity_type] => Mage_Eav_Model_Entity_Type Object ( [_attributes:protected] => [_attributesBySet:protected] => Array ( ) [_sets:protected] => [_eventPrefix:protected] => core_abstract [_eventObject:protected] => object [_resourceName:protected] => eav/entity_type [_resource:protected] => [_resourceCollectionName:protected] => eav/entity_type_collection [_cacheTag:protected] => [_dataSaveAllowed:protected] => 1 [_data:protected] => Array ( [entity_type_id] => 4 [entity_type_code] => catalog_product [entity_model] => catalog/product [attribute_model] => catalog/resource_eav_attribute [entity_table] => catalog/product [value_table_prefix] => catalog_product_entity [entity_id_field] => [is_data_sharing] => 1 [data_sharing_key] => default [default_attribute_set_id] => 4 [increment_model] => [increment_per_store] => 0 [increment_pad_length] => 8 [increment_pad_char] => 0 ) [_origData:protected] => [_idFieldName:protected] => entity_type_id [_isDeleted:protected] => ) ) [_origData:protected] => [_idFieldName:protected] => attribute_id [_isDeleted:protected] => ) [visibility] => Mage_Catalog_Model_Resource_Eav_Attribute Object ( [_eventPrefix:protected] => eav_entity_attribute [_eventObject:protected] => attribute [_cacheTag:protected] => EAV_ATTRIBUTE [_name:protected] => [_entity:protected] => Mage_Catalog_Model_Resource_Eav_Mysql4_Product Object *RECURSION* [_backend:protected] => [_frontend:protected] => [_source:protected] => Mage_Catalog_Model_Product_Visibility Object ( [_data:protected] => Array ( [attribute] => Mage_Catalog_Model_Resource_Eav_Attribute Object *RECURSION* ) [_origData:protected] => [_idFieldName:protected] => visibility_id [_isDeleted:protected] => ) [_attributeIdCache:protected] => Array ( ) [_dataTable:protected] => catalog_product_entity_int [_resourceName:protected] => eav/entity_attribute [_resource:protected] => [_resourceCollectionName:protected] => eav/entity_attribute_collection [_dataSaveAllowed:protected] => 1 [_data:protected] => Array ( [attribute_id] => 85 [entity_type_id] => 4 [attribute_code] => visibility [attribute_model] => catalog/resource_eav_attribute [backend_model] => [backend_type] => int [backend_table] => [frontend_model] => [frontend_input] => select [frontend_input_renderer] => [frontend_label] => Visibility [frontend_class] => [source_model] => catalog/product_visibility [is_global] => 0 [is_visible] => 1 [is_required] => 1 [is_user_defined] => 0 [default_value] => 4 [is_searchable] => 0 [is_filterable] => 0 [is_comparable] => 0 [is_visible_on_front] => 0 [is_html_allowed_on_front] => 0 [is_unique] => 0 [is_used_for_price_rules] => 1 [is_filterable_in_search] => 0 [used_in_product_listing] => 0 [used_for_sort_by] => 0 [is_configurable] => 1 [apply_to] => [position] => 1 [note] => [is_visible_in_advanced_search] => 0 [entity_type] => Mage_Eav_Model_Entity_Type Object ( [_attributes:protected] => [_attributesBySet:protected] => Array ( ) [_sets:protected] => [_eventPrefix:protected] => core_abstract [_eventObject:protected] => object [_resourceName:protected] => eav/entity_type [_resource:protected] => [_resourceCollectionName:protected] => eav/entity_type_collection [_cacheTag:protected] => [_dataSaveAllowed:protected] => 1 [_data:protected] => Array ( [entity_type_id] => 4 [entity_type_code] => catalog_product [entity_model] => catalog/product [attribute_model] => catalog/resource_eav_attribute [entity_table] => catalog/product [value_table_prefix] => catalog_product_entity [entity_id_field] => [is_data_sharing] => 1 [data_sharing_key] => default [default_attribute_set_id] => 4 [increment_model] => [increment_per_store] => 0 [increment_pad_length] => 8 [increment_pad_char] => 0 ) [_origData:protected] => [_idFieldName:protected] => entity_type_id [_isDeleted:protected] => ) ) [_origData:protected] => [_idFieldName:protected] => attribute_id [_isDeleted:protected] => ) ) [_attributesByTable:protected] => Array ( [catalog_product_entity_int] => Array ( [visibility] => Mage_Catalog_Model_Resource_Eav_Attribute Object ( [_eventPrefix:protected] => eav_entity_attribute [_eventObject:protected] => attribute [_cacheTag:protected] => EAV_ATTRIBUTE [_name:protected] => [_entity:protected] => Mage_Catalog_Model_Resource_Eav_Mysql4_Product Object *RECURSION* [_backend:protected] => [_frontend:protected] => [_source:protected] => Mage_Catalog_Model_Product_Visibility Object ( [_data:protected] => Array ( [attribute] => Mage_Catalog_Model_Resource_Eav_Attribute Object *RECURSION* ) [_origData:protected] => [_idFieldName:protected] => visibility_id [_isDeleted:protected] => ) [_attributeIdCache:protected] => Array ( ) [_dataTable:protected] => catalog_product_entity_int [_resourceName:protected] => eav/entity_attribute [_resource:protected] => [_resourceCollectionName:protected] => eav/entity_attribute_collection [_dataSaveAllowed:protected] => 1 [_data:protected] => Array ( [attribute_id] => 85 [entity_type_id] => 4 [attribute_code] => visibility [attribute_model] => catalog/resource_eav_attribute [backend_model] => [backend_type] => int [backend_table] => [frontend_model] => [frontend_input] => select [frontend_input_renderer] => [frontend_label] => Visibility [frontend_class] => [source_model] => catalog/product_visibility [is_global] => 0 [is_visible] => 1 [is_required] => 1 [is_user_defined] => 0 [default_value] => 4 [is_searchable] => 0 [is_filterable] => 0 [is_comparable] => 0 [is_visible_on_front] => 0 [is_html_allowed_on_front] => 0 [is_unique] => 0 [is_used_for_price_rules] => 1 [is_filterable_in_search] => 0 [used_in_product_listing] => 0 [used_for_sort_by] => 0 [is_configurable] => 1 [apply_to] => [position] => 1 [note] => [is_visible_in_advanced_search] => 0 [entity_type] => Mage_Eav_Model_Entity_Type Object ( [_attributes:protected] => [_attributesBySet:protected] => Array ( ) [_sets:protected] => [_eventPrefix:protected] => core_abstract [_eventObject:protected] => object [_resourceName:protected] => eav/entity_type [_resource:protected] => [_resourceCollectionName:protected] => eav/entity_type_collection [_cacheTag:protected] => [_dataSaveAllowed:protected] => 1 [_data:protected] => Array ( [entity_type_id] => 4 [entity_type_code] => catalog_product [entity_model] => catalog/product [attribute_model] => catalog/resource_eav_attribute [entity_table] => catalog/product [value_table_prefix] => catalog_product_entity [entity_id_field] => [is_data_sharing] => 1 [data_sharing_key] => default [default_attribute_set_id] => 4 [increment_model] => [increment_per_store] => 0 [increment_pad_length] => 8 [increment_pad_char] => 0 ) [_origData:protected] => [_idFieldName:protected] => entity_type_id [_isDeleted:protected] => ) ) [_origData:protected] => [_idFieldName:protected] => attribute_id [_isDeleted:protected] => ) ) ) [_staticAttributes:protected] => Array ( [sku] => Mage_Catalog_Model_Resource_Eav_Attribute Object ( [_eventPrefix:protected] => eav_entity_attribute [_eventObject:protected] => attribute [_cacheTag:protected] => EAV_ATTRIBUTE [_name:protected] => [_entity:protected] => Mage_Catalog_Model_Resource_Eav_Mysql4_Product Object *RECURSION* [_backend:protected] => Mage_Eav_Model_Entity_Attribute_Backend_Default Object ( [_attribute:protected] => Mage_Catalog_Model_Resource_Eav_Attribute Object *RECURSION* [_valueId:protected] => [_table:protected] => [_entityIdField:protected] => [_defaultValue:protected] => ) [_frontend:protected] => [_source:protected] => [_attributeIdCache:protected] => Array ( ) [_dataTable:protected] => [_resourceName:protected] => eav/entity_attribute [_resource:protected] => [_resourceCollectionName:protected] => eav/entity_attribute_collection [_dataSaveAllowed:protected] => 1 [_data:protected] => Array ( [attribute_id] => 59 [entity_type_id] => 4 [attribute_code] => sku [attribute_model] => catalog/resource_eav_attribute [backend_model] => eav/entity_attribute_backend_default [backend_type] => static [backend_table] => [frontend_model] => [frontend_input] => text [frontend_input_renderer] => [frontend_label] => Item Number [frontend_class] => [source_model] => [is_global] => 1 [is_visible] => 1 [is_required] => 1 [is_user_defined] => 0 [default_value] => [is_searchable] => 1 [is_filterable] => 0 [is_comparable] => 1 [is_visible_on_front] => 1 [is_html_allowed_on_front] => 1 [is_unique] => 1 [is_used_for_price_rules] => 1 [is_filterable_in_search] => 0 [used_in_product_listing] => 1 [used_for_sort_by] => 1 [is_configurable] => 1 [apply_to] => [position] => 1 [note] => [is_visible_in_advanced_search] => 1 [entity_type] => Mage_Eav_Model_Entity_Type Object ( [_attributes:protected] => [_attributesBySet:protected] => Array ( ) [_sets:protected] => [_eventPrefix:protected] => core_abstract [_eventObject:protected] => object [_resourceName:protected] => eav/entity_type [_resource:protected] => [_resourceCollectionName:protected] => eav/entity_type_collection [_cacheTag:protected] => [_dataSaveAllowed:protected] => 1 [_data:protected] => Array ( [entity_type_id] => 4 [entity_type_code] => catalog_product [entity_model] => catalog/product [attribute_model] => catalog/resource_eav_attribute [entity_table] => catalog/product [value_table_prefix] => catalog_product_entity [entity_id_field] => [is_data_sharing] => 1 [data_sharing_key] => default [default_attribute_set_id] => 4 [increment_model] => [increment_per_store] => 0 [increment_pad_length] => 8 [increment_pad_char] => 0 ) [_origData:protected] => [_idFieldName:protected] => entity_type_id [_isDeleted:protected] => ) ) [_origData:protected] => [_idFieldName:protected] => attribute_id [_isDeleted:protected] => ) ) [_entityTable:protected] => catalog_product_entity [_describeTable:protected] => Array ( ) [_entityIdField:protected] => entity_id [_valueEntityIdField:protected] => [_valueTablePrefix:protected] => catalog_product_entity [_isPartialLoad:protected] => [_isPartialSave:protected] => [_sortingSetId:protected] => ) [_selectEntityTypes:protected] => Array ( ) [_selectAttributes:protected] => Array ( [sku] => 59 [name] => 56 [] => [price] => 60 [status] => 80 [visibility] => 85 ) [_filterAttributes:protected] => Array ( ) [_joinEntities:protected] => Array ( ) [_joinAttributes:protected] => Array ( ) [_joinFields:protected] => Array ( [qty] => Array ( [table] => _table_qty [field] => qty ) ) [_conn:protected] => Varien_Db_Adapter_Pdo_Mysql Object ( [_transactionLevel:protected] => 0 [_connectionFlagsSet:protected] => 1 [_describesCache:protected] => Array ( ) [_bindParams:protected] => Array ( ) [_bindIncrement:protected] => 0 [_debug:protected] => [_logQueryTime:protected] => 0.05 [_debugFile:protected] => var/debug/sql.txt [_debugIoAdapter:protected] => [_debugTimer:protected] => 0 [_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 ( [model] => mysql4 [initStatements] => SET NAMES utf8 [type] => pdo_mysql [host] => localhost [username] => findabet_horse [password] => horse [dbname] => findabet_horse [active] => 1 [options] => Array ( [caseFolding] => 0 [autoQuoteIdentifiers] => 1 ) [driver_options] => Array ( ) [port] => 3307 ) [_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] => ) [_select:protected] => Varien_Db_Select Object ( [_adapter:protected] => Varien_Db_Adapter_Pdo_Mysql Object ( [_transactionLevel:protected] => 0 [_connectionFlagsSet:protected] => 1 [_describesCache:protected] => Array ( ) [_bindParams:protected] => Array ( ) [_bindIncrement:protected] => 0 [_debug:protected] => [_logQueryTime:protected] => 0.05 [_debugFile:protected] => var/debug/sql.txt [_debugIoAdapter:protected] => [_debugTimer:protected] => 0 [_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 ( [model] => mysql4 [initStatements] => SET NAMES utf8 [type] => pdo_mysql [host] => localhost [username] => findabet_horse [password] => horse [dbname] => findabet_horse [active] => 1 [options] => Array ( [caseFolding] => 0 [autoQuoteIdentifiers] => 1 ) [driver_options] => Array ( ) [port] => 3307 ) [_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] => e [1] => * [2] => ) [1] => Array ( [0] => _table_qty [1] => qty [2] => qty ) ) [union] => Array ( ) [from] => Array ( [e] => Array ( [joinType] => inner join [schema] => [tableName] => catalog_product_entity [joinCondition] => ) [_table_qty] => Array ( [joinType] => left join [schema] => [tableName] => cataloginventory_stock_item [joinCondition] => (_table_qty.product_id=e.entity_id) AND (_table_qty.stock_id=1) ) ) [where] => Array ( [0] => (e.sku like '%20507%') ) [group] => Array ( ) [having] => Array ( ) [order] => Array ( ) [limitcount] => [limitoffset] => [forupdate] => ) [_tableCols:protected] => Array ( ) ) [_cacheConf:protected] => [_idFieldName:protected] => [_bindParams:protected] => Array ( ) [_data:protected] => [_items:protected] => Array ( ) [_itemObjectClass:protected] => Mage_Catalog_Model_Product [_orders:protected] => Array ( ) [_filters:protected] => Array ( ) [_isFiltersRendered:protected] => [_curPage:protected] => 1 [_pageSize:protected] => 50 [_totalRecords:protected] => [_isCollectionLoaded:protected] => [_cacheKey:protected] => [_cacheTags:protected] => Array ( ) [_cacheLifetime:protected] => 86400 [_flags:protected] => Array ( ) ) [1] => asc ) ) Trace: #0 [internal function]: Varien_Object->__call('addValueSortToC...', Array) #1 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Catalog/Model/Resource/Eav/Mysql4/Product/Collection.php(1222): Mage_Catalog_Model_Product_Visibility->addValueSortToCollection(Object(Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection), 'asc') #2 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php(1241): Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection->addAttributeToSort('visibility', 'asc') #3 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Catalog/Model/Resource/Eav/Mysql4/Product/Collection.php(1187): Mage_Eav_Model_Entity_Collection_Abstract->setOrder('visibility', 'asc') #4 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Adminhtml/Block/Widget/Grid.php(380): Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection->setOrder('visibility', 'asc') #5 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Grid.php(86): Mage_Adminhtml_Block_Widget_Grid->_prepareCollection() #6 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Adminhtml/Block/Widget/Grid.php(465): Mage_Adminhtml_Block_Catalog_Product_Grid->_prepareCollection() #7 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Adminhtml/Block/Widget/Grid.php(471): Mage_Adminhtml_Block_Widget_Grid->_prepareGrid() #8 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Core/Block/Abstract.php(642): Mage_Adminhtml_Block_Widget_Grid->_beforeToHtml() #9 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Core/Block/Abstract.php(503): Mage_Core_Block_Abstract->toHtml() #10 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Core/Block/Abstract.php(454): Mage_Core_Block_Abstract->_getChildHtml('grid', true) #11 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Adminhtml/Block/Catalog/Product.php(68): Mage_Core_Block_Abstract->getChildHtml('grid') #12 /home/findabet/public_html/saddlediscounter.com/magento/app/design/adminhtml/default/default/template/catalog/product.phtml(41): Mage_Adminhtml_Block_Catalog_Product->getGridHtml() #13 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Core/Block/Template.php(144): include('/home/findabet/...') #14 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView('adminhtml/defau...') #15 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView() #16 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Template->_toHtml() #17 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml() #18 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Text_List->_toHtml() #19 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Core/Block/Abstract.php(503): Mage_Core_Block_Abstract->toHtml() #20 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Core/Block/Abstract.php(454): Mage_Core_Block_Abstract->_getChildHtml('content', true) #21 /home/findabet/public_html/saddlediscounter.com/magento/app/design/adminhtml/default/default/template/page.phtml(73): Mage_Core_Block_Abstract->getChildHtml('content') #22 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Core/Block/Template.php(144): include('/home/findabet/...') #23 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView('adminhtml/defau...') #24 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView() #25 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Template->_toHtml() #26 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Core/Model/Layout.php(526): Mage_Core_Block_Abstract->toHtml() #27 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Core/Controller/Varien/Action.php(339): Mage_Core_Model_Layout->getOutput() #28 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Adminhtml/controllers/Catalog/ProductController.php(157): Mage_Core_Controller_Varien_Action->renderLayout() #29 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Core/Controller/Varien/Action.php(367): Mage_Adminhtml_Catalog_ProductController->indexAction() #30 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(247): Mage_Core_Controller_Varien_Action->dispatch('index') #31 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Core/Controller/Varien/Front.php(158): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http)) #32 /home/findabet/public_html/saddlediscounter.com/magento/app/Mage.php(457): Mage_Core_Controller_Varien_Front->dispatch() #33 /home/findabet/public_html/saddlediscounter.com/magento/index.php(52): Mage::run() #34 {main} Magento is a trademark of Irubin Consulting Inc. DBA Varien. Copyright � 2008 Irubin Consulting Inc.
Syntax Highlighting
[
Open in new window
]
Author Comments
none
Rating
4.53 / 8
60 Votes
http://codebin.yi.org/604
page generated in 0.01 seconds