Erreur SQL !
SELECT m_sequence, m_is_movie, count(*) as compte FROM movie INNER JOIN label ON label.id_label = movie.m_label INNER JOIN categories ON categories.id = movie.m_category INNER JOIN movie_category_ref ON movie_category_ref.mc_movie = movie.m_id AND movie_category_ref.mc_category = '10' WHERE label.actif =1 AND ( movie.is_old_movie =0 OR ( movie.is_old_movie =1 AND movie.m_enabled =1 ) ) AND movie.m_status =1 AND movie.m_category IN ( 0,770,797,771,772,773,774,775,778,798,780,782,783,786,787,788,789,790,791,792,793,794,800,802,803,804,805,806,807,808,809,810,813,815,818,819,821,822,823,824,825,826,827,828,830,831,832,833,834,545,776,777,781,785,795,799,814,817,820,829,10,2,8,9,769,14,18,17,16,12,11,22,15,4,21,1,13,20,767,6,5,3,559) AND movie.m_label IN ( 0,378,401,3,310,346,376,395,426,301,321,391,403,6,316,350,379,409,2,308,337,362,398,406,371,319,381,402,5,312,347,377,396,306,328,357,393,404,8,373 ) AND movie.m_id NOT IN ( 0 ) AND categories.genre_id = '3' Group by movie.m_sequence, movie.m_is_movie
MySQL server has gone away