MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT a.attr_id, MIN(a.goods_attr_id ) AS goods_id, a.attr_value AS attr_value FROM `avanpacom`.`avp_goods_attr` AS a, `avanpacom`.`avp_goods` AS g WHERE (g.cat_id IN ('39') OR g.goods_id IN ('6037','6038','6039','6040','6041','6042','6043','6044','6045','6046','6047','6048','6049','6050','6051','6052','6053','6054','6055','6056','6057','6058','6059','6060','12978','12979','12980','12981','12982','12983','12984','12985','12986','12987','12988','12989','12990','12991','12992','12993','12994','12995','12996','12997','12998','12999','13000','13001','13002','13003','13004','13005','13006','13007','13008','13009','13010','13011','13012','13013','13014','13015','13016','13017','13018','13019','13020','13021','13022','13023','13024','13025','13026','13027','13028','13029','13030','13031','14178','14179','14180','14181','14182','14183','14184','14185','14186','14187','14188','14189','14190','14191','14192','14193','14194','14195','14196','14197','14198','14199','14200','14201','14202','14203','14204','14205','14370','14371','14372','14373','14374','14375','14537','14538','14539','14540','14541','15533','15534','15535','15536','15537','15538','15539','15540','15541','15542','15543','24842','24843','24844','24845','24846','24847','24848','24849','24850','24851','24852','24853','24854','24855','24856','24857','24858','24859','24860','24861','24862','24863','24864','24865','24866','24867','24868','24869','24870','24871','24872','24873','24874','24875','24876','24877','24878','24879','24880','24881','24882','24883','24884','24885','24886','24887','24888','24889','25346','25347','25348','25349','25350','25351','25352','25353','25354','25355','25356','25357','25358','25359','25360','25361','25362','25363','25364','25365','25366','25367','25368','25369','25370','25371','25372','25373','25374','25375','25454','25455','25456','25457','25458','25459','25460','25461','25462','25463','25464','25465','25466','25467','25468','25469','25945','25946','25947','25948','25949','25950','25951','25952','25953','25954','25955','25956','25957','25958','25959','25960','25961','25962','25963','25964','25965','26117','26118','26119','26120','26121','26122','26123','26124','26125','26126','26127','26128','26129','26130','26131','26132','26133','26134','26135','26136','26137','26138','26139','26140','26141','26142','26143','26144','26145','26146','26147','26148','26149','26150','26151','26152','26153','26154','26155','26156','26157','26863','26864','26865','26866','26867','26868','26869','26870','27090','27091','27092','27093','27094','27095','27096','27097','27098','27099','27100','27414','27415','27416','27418','27419','27420','27421','27422','27423','27424','27425','27426','27427','27428','27429','27430','27431','27432','27433','27434','27435','27436','27437','27438','27439','27440','27441','27442','27443','29903','29982','29993','29994','29995','29996','29997','29998','29999','30000','30001','30002','30003','30004','30005','30006','30007','30008','30009','30010','30011','30012','30013','30014','30015','30016','30017','30018','30019','30020','30021','30022','30023','30024','30025','30026','30027','30028','30029','30030','30031','30385','30386','30387','30388','30620','30621','30622','30623','30991','30992','30993','30994','30995','30996','30997','30998','30999','31000','31001','31002','31003','31004','31005','31006','31007','31008','31153','31154','31155','31156','31157','31158','31159','31160','31161','31237','31238','31239','31240','31241','31242','31244','31245','31246','31247','31456','31457','31458','31459','31460','31461','31462','31463','31464','31656','31657','31658','31659','31660','31661','31662','31663','31664','31665','31666','31667','31668','31669','31670','31671','31672','31673','31674','31675','31676','31677','32318','32319','32320','32321','32372','32374','32375','32388','32389','32390','32391','32392','32393','32562','32563','32564','32911','32912','33036','33037','33038','33039','33040','33083','33084','33085','33086','33087','33088','33089','33090','33185','33225','33268','33269','33270','33271','33272','33273','33274','33275','33276','33277','33278','33279','33280','33281','33282','33283','33284','33285','33286','33287','33288','33289','33291','33292','33293','33294','33295','33296','33784','33785','33786','33849','33986','33987','33988','33989','33990','33991','34471','35013','35014','35015','35016','35017','35018','35019','35020','35134','35135','35144','35400','35401','35402','35933','35934','36160','36161','36162','36163','36164','36165','36166','36167','36168','36169','36170','36171','36172','36173','36676','36677','36678','36679','36680','36681','36682','36683','36684','36685','37246','37247','37248','37249','37250','37251','37252','37253','37254','37255','37256','37257','37258','37259','37260','37261','37262','37263','37264','37265','37266','37267','37268','37269','37270','37271','37272','37273','37274','37275','37276','37277','37278','37279','37280','37281','37282','37283','37284','37285','37286','37287','37288','37289','37290','37291','37292','37293','37294','38085','39071','39075','39076','39077','39079','39080','39081','39082','39083','39084','39085','39086','39087','39088','39089','39090','39585','39586','39587','39588','39589','39590','39591','39592','39593','39594','39595','39596','39597','39598','39599','39600','40012','40013','40184','40185','40186','40187','40188','40189','40190','40191','40192','40193','40194','40195','40196','40197','40198','40199','40200','40201','40202','40203','40204','40205','40206','40207','40208','40209','40210','40211','40212','40213','40214','40215','40216','40217','40218','40219','41075','41076','41077','41078','41079','41080','41081','41082','41083','41084','42537','42538','42539','42540','42541','42542','42543','42545','42546','42547','42548','44419','44420','44421','44422','44423','44424','44425','44426','44427','44428','44429','44430','44431','45119','45120','45121','45122','45123','45124','45125','45126','45127','45128','46696','46697','46698','46699','46700','46701','46702','46703','46704','46705','46706','46707','46708','46709','47421','47422','47423','47424','47425','47426','47427','47428','47429','47430','47431','47432','47433','47434','47449','47450','47451','47452','47453','47454','47455','47456','47457','47458','49477','49478','49479','49480','49481','49482','49483','49484','49485','49486','49487','49488','49489','49490','49491','49492','49493','49494','49495','49496','49497','49498','49499','49500','49501','49502','49955','49956','49957','49958','49959','49960','49961','49962','49963','49964','49965','49966','49967','49968','49969','51876','51877','51878','51879','51880','51881','51882','51883','51884','51885','51886','51887','51888','51889','51890','51891','51892','51893','51894','51895','51896','52423','52424','52425','52426','52427','52428','52429','52430','52431','52432','52433','52434','52435','52436','52437','52438','52439','52440','52441','52442','52443','52444','52445','52446','52447','52448','52449','52450','52451','54141','54142','54143','54144','54145','54146','54147','54148','54149','54150','54151','54152','54153','54154','54155','54156','54157','54158','54159','54964','54965','54966','54967','54968','55571','55572','55573','55574','55575','55579','55581','55582','55583','55584','55585','55586','55587','55588','55800','55801','55802','55803','56332','56333','56334','56335','56336','57034','57035','57036','57037','57038','57039','57040','57041','57042','57043','57044','57045','57046','57047','57048','57049','57050','57051','57052','57053','57054','57055','57056','57088','57089','57090','57091','57092','57093','57094','57095','57096','57097','57098','57099','57100','57101','57102','57103','57104','57105','57106','57107','57598','57599','57600','57601','57602','57603','57604','57605','58277','58278','58279','58280','58281','58282','58283','58284','58285','58286','58287','58288','58289','58290','58291','58292','58293','58294','58295','58296','58297','58298','58299','58300','58301','58302','58303','65465','65466','65467','65468','65469','65470','65471','65472','65473','65474','65475','65476','65477','65478','65479','65480','65481','81498','81499','81500','81501','81502','81503','81504','81505','81506','81507','81508','81509','81510','81511','81512','81513','81514','81515','81516','81517','81518','81519','81520','81521','81522','81523','81524','81525','81526','81527','81528','81529','81530','83973','83974','83975','88173','88174','88175','88176','88177','88178','88179','88180','88181','88182','88183','88184','88185','88186','88187','88188','88189','88190','88191','88192','88193','88194','88195','88196','88197','88198','88199','88200','88201','88202','88203','88204','88206','88207','88208','88209','88210','88211','88212','88213','91656','91657','91658','91659','91660','91661','91662','91663','91664','91665','91666','91667','91668','91669','91670','91671','91672','91673','91674','91675','92301','92302','92303','92304','92305','92306','92307','92308','92309','92310','92311','92312','92313','92314','92315','92316','92317','92318','92319','92320','92321','92322','92323','92878','92879','92885','92886','92887','92888','94208','94209','94210','94211','94212','94213','94214','94215','94216','94217','94218','94219','94220','94221','94222','94223','94224','94225','94226','94227','96115','96116','96117','96118','96119','96120','96121','96122','96123','96124','96125','96126','96127','96128','96129','96130','96131','96132','96133','96134','96135','96136','96137','96138','96139','96140','96141','96142','96143','96144','96145','96146','96147','96148','96149','96150','96151','96152','96153','96154','96155','96156','96157','96158','96159','96160','96161','96162','96163','96164','100084','102556','102557','102558','102559','102560','102561','102562','102563','102564','102565','102566','102567','102568','102569','102570','102571','102572','102573','102574','102575','102576','102577','102578','102579','102580','102581','102582','102583','102584','102585','102586','102587','102588','102589','102590','102591','102592','102593','102594','102595','102596','102597','102598','102599','102600','102601','102602','102603','102604','102605','102606','102607','102608','102609','102610','102611','102612','102613','102614','102615','103964','103965','103966','103967','103968','103969','103970','103971','103972','103973','103974','103975','103976','103977','103978','103979','103980','103981','103982','103983','103984','103985','103986','103987','103988','103989','103990','103991','103992','103993','103994','103995','103996','103997','103998','103999','104000','104001','104002','104003','104004','104005','104006','104007','104008','104009','104010','104011','104012','104013','104014','104015','104016','104017','104018','104019','104020','104021','104022','104023','104024','104025','104026','104027','104028','104029','104030','104031','104032','104033','104034','104035','104036','104037','104038','104039','104040','104041','104042','104043','104044','104045','104046','104047','104048','104049','104050','104051','104052','104053','104054','104055','104056','104057','104058','104059','104060','104061','104062','104063','104064','104065','104066','104067','104068','104069','104070','104071','104072','104073','104074','104075','104076','104077','104078','104079','104080','104081','104082','104083','104084','104085','104086','104087','104088','104089','104090','104091','104092','104093','104094','104095','104096','104097','104098','104099','104100','104101','104102','104103','104104','104105','104106','104107','104108','104109','104110','104111','104112','104113','104114','104115','104116','104117','104118','104119','104120','104121','104122','104123','104124','104125','104126','104127','104128','104129','104130','104131','104132','104133','104134','104135','104136','104137','104138','104139','104140','104141','104142','104143','104144','104145','104146','104147','104148','104149','104150','104151','104152','104153','104154','104155','104156','104157','104158','104159','104160','104161','104162','104163','104164','104165','104166','104167','104168','104169','104170','104171','104172','104173','104174','104175','104176','104177','104178','104179','104180','104181','104182','104183','104184','104185','104186','106404','106405','106406','106407','106408','106409','106410','106411','106412','106413','106414','106415','106416','106417','106418','106419','106420','106421','106422','106423','106424','106425','106426','106427','106428','106429','106430','106431','106432','106433','106434','106435','106436','106437','106438','106439','106440','106441','106442','106443','106444','106445','106446','110711','110712','110713','110714','110715','110716','110717','110718','110719','110720','110721','110722','110723','110724','110725','110726','110727','110728','110729','110730','110731','110732','110733','110734','110735','110736','110737','110738','110739','110740','110741','110742','110747','111300','111301','111302','111303','111304','111305','111306','111307','111308','111309','111310','111311','111312','111313','111314','111315','111316','111317','111318','111319','111320','111321','111322','111323','111324','111325','111326','111327','111328','111329','111330','112572','112574','115753','115754','115755','115756','115757','115758','115759','115760','115761','115762','115763','115764','115765','115766','115767','115820','115821','115822','115823','115824','115825','115826','115827','115828','115829','115830','115831','115832','115833','115834','116678','116679','116680','116681','116682','116683','116684','116685','116686','116687','116688','116689','116690','116691','116692','116693','116694','116695','116696','116697','116698','116699','116700','116701','116702','116703','116704','116705','116706','116707','116708','116709','116710','116711','116712','116713','116714','116715','116716','116717','116718','116719','116720','116721','116722','116723','116724','116725','116726','116727','116728','116729','116730','116731','116732','116733','116734','116735','116736','116737','116738','116739','116740','116741','116742','116743','116744','116745','116746','116747','116748','116749','116750','116751','116752','116753','116754','116755','116756','116757','116758','116759','116760','116761','116762','116763','116764','116765','116766','116767','116768','116769','116770','116771','116772','118087','118088','118089','118090','118091','118092','118093','118094','118095','118096','118097','118098','118099','118100','118101','118102','119466','119467','125261','125291','125292','125293','125294','125295','125296','125297','125298','125299','125300','125301','125302','125303','125304','125305','125306','125307','125308','125309','125310','125311','125312','134811','134812','134813','134814','134815','143044','143045','143046','143047','143048','143049','144592','144593','144594','144595','144596','144597','144598','144599','144600','144601','144602','144603','144604','151506','151507','151508','151509','151510','151511','151512','151513','151514','151515','151516','151517','151518','151519','151520','151521','151522','151523','151524','151525','151526','151527','151528','151529','151530','151531','151532','151533','151534','151535','151536','151537','151538','151539','151540','151541','151542','163194','163195','163196','163197','163198','163860','163861','163862','163863','163864','163865','163866','163867','163868','163869','163870','163871','163872','163873','163874','163875','163876','163877','163878','163879','163880','163881','163882','163883','163884','163885','163886','163887','163888','163889','163890','163891','163892','163893','163894','163895','163896','163897','163898','163899','163900','163901','163902','163903','163904','163905','163906','163907','163908','163909','163910','163911','163912','163913','163914','163915','163916','163917','163918','163919','163920','163921','163922','163923','163924','163925','163926','163927','163928','163966','163967','167156','167157','167158','167159','167160','167161','167162','167163','167164','167165','167166','167167','167168','167169','167170','167171','167172','167173','167174','167175','167176','167177','167178','167179','167180','167181','167182','167183','167184','167185','167186','167187','167188','167189','167190','167191','167192','167193','167861','167862','167863','167864','167865','167866','167867','167868','167869','167870','167871','167872','167873','167874','167875','167876','167877','167878','167879','167880','167881','167882','168573','169398','169399','169400','169401','169402','169403','169404','169405','169406','169407','169408','169409','169410','169411','169412','169413','169414','169415','170229','170230','170264','170265','170266','170267','170268','170269','170270','170271','170272','170273','170274','170275','170276','170277','170278','170279','170280','170281','170282','170283','170284','170285','171123','175355','175356','175357','175358','175359','175360','175361','175362','175363','175364','175365','175366','175367','175368','175369','175370','175371','175372','175373','175374','175375','175376','175377','175378','175379','175380','175381','175382','175383','178302','178303','178304','178305','178306','178307','178308','178309','178310','178311','178312','178313','178314','178315','178316','178317','178318','178319','178320','178321','178322','178337','178338','178339','178340','178341','183926','183927','183928','183932','183933','183934','183935','183936','183937','183938','183939','183940','183941','183942','183943','183944','183945','183946','183947','183948','183949','183950','183951','183952','183953','183954','183955','183956','183957','183958','183959','183960','183961','183962','183963','183964','183965','183966','183967','183968','183969','183970','183971','183972','183973','183974','183975','183976','183977','183978','183979','183980','183981','183982','183983','183984','183985','183986','183987','194943','194944','194945','194946','194947','194948','194949','194950','194951','194952','194953','194954','194955','194956','194957','194958','194959','194960','194961','194962','194963','194964','194965','194966','194967','194968','194969','194970','194971','194972','194973','194974','194975','194976','194977','194978','194979','194980','194981','194982','194983','194984','194985','194986','194987','194988','194989','194990','194991','194992','194993','194994','194995','206194','206195','206196','206197','206198','206199','206200','206201','206202','206203','206204','206205','206206','206207','206208','206209','206210','206211','206212','206213','206214','206215','206216','206217','206218','206219','206220','206221','206222','206223','206224','225834','225835','234680','234681','234682','234683','234684','234685','234686','234687','234688','234689','234690','234691','234692','234693','234694','234695','234696','234697','234698','234699','234700','234701','234702','234703','234704','234705','234706','234707','234708','234709','235072','235073','235074','235075','235076','235077','235078','235079','235080','235081','235082','235083','235084','235085','235086','235087','235088','235089','235090','235091','235092','235312','235313','235314','235315','235316','235317','235318','235319','235320','235321','235322','235323','235324','235325','235326','235327','235328','235329','235330','235331','242066','242067','242068','242069','242070','242071','242072','242073','242086','242088','242089','242090','242091','242092','242093','242094','242095','242096','242097','242098','242099','242100','242101','242102','242221','242222','242223','242224','242225','242226','242227','242228','242229','242230','242231','242232','242233','242235','242236','242237','242238','242239','242240','242241','242242','242243','242244','243738','243739','243740','243742','243743','243744','243745','243746','243747','243748','243749','243750','243751','243752','243753','243754','243755','243756','246165','246166','246167','246168','246169','246170','246171','246172','246173','246174','246175','246176','246177','246959','246960','246961','246962','246963','246964','246965','246966','246967','246968','246969','246970','246971','246972','246973','246974','246975','246976','246977','246978','246979','246980','246981','246982','246983','246984','246985','256059','256060','256061','256062','256063','256094','256098','272283','274029','276057','276687','276688','276689','276690','276691','276692','276693','276694','276700','276701','276702','276703','276704','276705','276706','276707','276765','276766','276767','276768','276769','276770','285247','285248','285249','285250','285254','285255','285356','285357','285432','285433','285434','285435','285436','285437','285438','285439','285920','285921','285922','285923','285924','285925','285926','285927','285928','285929','286232','286233','286234','286235','286236','286237','286238','286239','286240','286241','286246','286247','286248','286249','286250','286251','286252','286253','286254','286255','286256','286257','286258','286259','286260','286261','286262','286263','286264','286265','286266','286267','286268','286269','286270','286271','286272','286273','286274','286275','286276','286277','286278','286279','286280','286281','286282','286283','286284','286285','286286','286287','286288','286289','286290','286291','286292','286293','286294','286295','286296','286297','286298','286299','286300','286301','286302','286303','286304','286305','286306','286307','286308','286309','286310','286311','286312','286313','286314','286315','286316','286317','286318','286319','286320','286321','286322','286323','286324','286325','286326','286327','286328','286329','286330','286331','286332','286333','286334','286335','286727','286728','286729','286730','286731','286732','286733','286734','286735','286736','286737','286738','286739','286760','286761','286762','286772','286881','290931','290932','290933','290934','290935','290936','290937','290938','290939','290940','290941','290942','290943','290944','290945','290946','290947','290948','290949','290950','290951','290952','290953','290954','290955','290956','290957','290958','290959','290960','290961','290962','290963','290964','290965','290966','290967','290968','290969','290970','290971','290972','290973','290974','290975','293147','293148','293149','293179','293180','293181','293182','293183','293184','293185','293186','293187','293188','293189','293190','293191','293192','293193','293194','293195','293196','293197','293198','293199','293200','293201','293202','293203','293204','293205','293206','293207','293208','293209','293210','293211','293212','293213','293214','293215','293216','293217','293218','293219','293220','293221','293222','293223','293224','293225','293226','293227','293228','293229','293230','293231','293232','293233','293234','293235','293236','293237','293238','293239','293240','293241','293242','317385','317386','317387','317388','317389','317390','317422','317423','317424','317943','317944','317945','317946','317947','317948','317949','317950','317951','317952','317953','317954','317955','317956','317957','317958','317959','317960','317961','317979','317980','318003','318004','318005','318006','318007','318008','318009','318010','318011','318012','318215','318216','318217','318218','318219','318220','318221','318222','318223','318224','318225','318226','318227','318228','318229','318238','318244','318245','318246','318247','318250','318251','318252','318253','318257','318258','318259','318260','318261','318262','318263','318264','318265','318358','318479','318480','318481','318482','318483','318484','318485','318486','318488','318489','318490','318491','318492','318493','318494','318495','318654','318655','318656','318657','318658','318659','318660','318661','318662','318663','318664','318665','318666','318667','318668','318669','318670','318671','318672','327844','327845','327846','327847','327919','327920','327921','327922','327923','327924','327925','327926','327927','327928','327929','328142','328143','328144','328145','328146','328147','328148','328149','328150','328151','328152','328153','328154','328155','328156','328157','328158','328161','328162','328163','328164','328165','328166','328167','328168','328169','328170','328171','328172','328173','328191','328192','328193','328194','328195','328196','328197','328198','328199','328200','328216','328217','328218','328219','328220','328221','328222','328223','328224','328225','328226','328227','328228','328229','328230','328231','328365','328366','328367','328395','328396','328397','328398','328613','328624','328625','328626','328627','328628','328629','328630','328631','328632','328633','328634','328635','328636','328637','328638','328639','328644','328645','328646','328647','328648','328649','328650','328651','328652','328653','328654','328655','331025','331026','331027','331028','340155','340340','340341','340342','340343','340344','340345','340346','340347','340348','340349','340350','341067') ) AND g.goods_id = a.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND a.attr_id='223' GROUP BY a.attr_value ) [2] => Array ( [error] => Got error 28 from storage engine ) [3] => Array ( [errno] => 1030 ) )