2016-04-08 4 views
-1

SELECT DISTINCT 1 AS statuseentity_id,etype_id,eattribute_set_id,ename,eshort_description,eprice,especial_price,especial_from_date,especial_to_date,esmall_image,ethumbnail,ecolor,ecolor_value,enews_from_date,enews_to_date,eurl_key,erequired_options,eimage_label,esmall_image_label,ethumbnail_label,emsrp_enabled,emsrp_display_actual_price_type,emsrp,etax_class_id,eprice_type,eweight_type,eprice_view,eshipment_type,elinks_purchased_separately,elinks_exist,eopen_amount_min,eopen_amount_max,eentity_id,eattribute_set_id,etype_id,ecost,ecreated_at,egift_message_available,ehas_options,eimage_label,eis_recurring,elinks_exist,elinks_purchased_separately,elinks_title,emsrp,emsrp_display_actual_price_type,emsrp_enabled,ename,enews_from_date,enews_to_date,eopen_amount_max,eopen_amount_min,eprice,eprice_type,eprice_view,erecurring_profile,erequired_options,eshipment_type,eshort_description,esku,esku_type,esmall_image,esmall_image_label,especial_from_date,especial_price,especial_to_date,etax_class_id,ethumbnail,ethumbnail_label,eupdated_at,eurl_key,eurl_path,evisibility,eweight,eweight_type,enecklace_length,enecklace_length_value,eoccasion,eoccasion_value,eshoe_type,eshoe_type_value,ecolor,ecolor_value,price_indexprice,price_indextax_class_id,price_indexfinal_price、IF(price_index.tier_price IS NOT NULL、LEAST(price_index.min_price、price_index.tier_price)、price_index.min_price)AS minimal_priceprice_indexmin_price,price_indexmax_price,price_indextier_price,at_category_idcategory_id,cat_indexposition AS cat_index_position,at_inventory_in_stockis_in_stock AS inventory_in_stock,mv,bs,rareviews_count AS num_reviews_count,rarating_summarycatalog_product_flat_1 FROM num_rating_summary AS e インナーとしてprice_index.entity_id = e.entity_id AND price_index.website_id = '1' AND price_index.customer_group_id = 0 LEFT(at_category_id ON at_category_id AS catalog_category_productをJOIN。product_id = e.entity_id ON price_index AS catalog_product_index_priceをJOIN ) INNERは、内側at_inventory_in_stock ON(at_inventory_in_stock AS cataloginventory_stock_itemをJOIN(2、4)AND cat_index.category_id = '2' は、cat_index.product_id = e.entity_id AND cat_index.store_id = 1 AND cat_index.visibility ON cat_index AS catalog_category_product_indexをJOIN。product_idを= e.entity_id)AND((at_inventory_in_stock.use_config_manage_stock = 0 AND_inventory_in_stock.manage_stock = 1 AND at_inventory_in_stock.is_in_stock = 1)または(at_inventory_in_stock.use_config_manage_stock = 0 AND at_inventory_in_stock.manage_stock = 0)OR(at_inventory_in_stock.use_config_manage_stock = 1 AND at_inventory_in_stock.is_in_stock = 1)) LEFT report_eventを選択(JOIN。*、COUNT(event_id )AS num_view_counts FROM report_event WHERE(event_type_id = 1)GROUP BY object_id)AS mv ON mv.object_id = e.entity_id LEFT JOIN(SELECT sales_flat_order_item)。 bs.product_id = e.entity_id 左側にbs AS product_id BY sales_flat_order_item GROUP)FROM ordered_qty AS product_id、SUM(qty_ordered)はe.entity_id = ra.entity_pk_value AND ra.store_id = 1 WHERE((at_category_id.category_id ON ra AS review_entity_summaryをJOIN IN '(' 147 '、' 201 '、' 148 '、' 149 '、' 150 '、' 151 '、' 156 '、' 218 '、' 204 '、' 205 '、' 206 ' '207'))GROUP BY ORDER BY num_view_counts ORDER BY num_view_counts DESC LIMIT 5レビューを承認するとエラーが表示され、レビューを削除すると、製品ページとホームページが正常です。カタログページのエラー:

+0

フロントエンドまたはバックエンドでこのエラーはどこで発生しましたか? –

答えて

0

製品のレビューに関連する拡張機能をインストールした場合は、無効にしてtry.Pleaseキャッシュをフラッシュして管理者に再ログインしてください。

+0

あなたの返信ありがとう、私はレビューを無効にして、もう一度やり直してくださいが、まだエラー – lisapeter

+0

どこにエラーがありましたか? –

+0

カタログページ:show trace: #0 /home/../public_html/lib/Varien/Db/Statement/Pdo/Mysql.php(110):Zend_Db_Statement_Pdo - > _ execute(Array) #1/home /。 ./public_html/app/code/core/Zend/Db/Statement.php(291):Varien_Db_Statement_Pdo_Mysql - > _ execute(Array) #2 /home/../public_html/lib/Zend/Db/Adapter/Abstract.php (480):Zend_Db_Statement-> execute(Array) #3 /home/../public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php(238):Zend_Db_Adapter_Abstract-> query( 'SELECT DISTINCT ... '、Array) – lisapeter

関連する問題