Раздельная ротация по группам
Posted: Sat Dec 07, 2013 5:59 am
не удается включить данную фичу на слейве. При выполении каманды "php rot.php action=start_separate_thumb2group_stats" выпадает дясятикилометровая простыня
если в админке переключить, то вся статистика по тумбам нули
Code: Select all
() Mysql error:: 0 () (db_link) in query insert into rot_gallery_stats3 (thumb_id, group_id, best_thumb, current_index, current_shows, current_clicks, current_points, shows0, clicks0, points0, shows1, clicks1, points1, shows2, clicks2, points2, shows3, clicks3, points3, shows4, clicks4, points4, shows5, clicks5, points5, shows6, clicks6, points6, shows7, clicks7, points7, shows8, clicks8, points8, shows9, clicks9, points9, total_shows, total_clicks, total_points, total_ctr) values ('217943', '4', 'yes', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0.000000'). () Mysql error:: 0 () (db_link) in query insert into rot_gallery_stats3 (thumb_id, group_id, best_thumb, current_index, current_shows, current_clicks, current_points, shows0, clicks0, points0, shows1, clicks1, points1, shows2, clicks2, points2, shows3, clicks3, points3, shows4, clicks4, points4, shows5, clicks5, points5, shows6, clicks6, points6, shows7, clicks7, points7, shows8, clicks8, points8, shows9, clicks9, points9, total_shows, total_clicks, total_points, total_ctr) values ('217953', '4', 'yes', '0', '6', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '6', '0', '0', '0.000000'). () Mysql error:: 0 () (db_link) in query insert into rot_gallery_stats3 (thumb_id, group_id, best_thumb, current_index, current_shows, current_clicks, current_points, shows0, clicks0, points0, shows1, clicks1, points1, shows2, clicks2, points2, shows3, clicks3, points3, shows4, clicks4, points4, shows5, clicks5, points5, shows6, clicks6, points6, shows7, clicks7, points7, shows8, clicks8, points8, shows9, clicks9, points9, total_shows, total_clicks, total_points, total_ctr) values ('217967', '4', 'yes', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0.000000'). () Mysql error:: 0 () (db_link) in query insert into rot_gallery_stats3 (thumb_id, group_id, best_thumb, current_index, current_shows, current_clicks, current_points, shows0, clicks0, points0, shows1, clicks1, points1, shows2, clicks2, points2, shows3, clicks3, points3, shows4, clicks4, points4, shows5, clicks5, points5, shows6, clicks6, points6, shows7, clicks7, points7, shows8, clicks8, points8, shows9, clicks9, points9, total_shows, total_clicks, total_points, total_ctr) values ('217968', '4', 'no', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0.000000'). () Mysql error:: 0 () (db_link) in query insert into rot_gallery_stats3 (thumb_id, group_id, best_thumb, current_index, current_shows, current_clicks, current_points, shows0, clicks0, points0, shows1, clicks1, points1, shows2, clicks2, points2, shows3, clicks3, points3, shows4, clicks4, points4, shows5, clicks5, points5, shows6, clicks6, points6, shows7, clicks7, points7, shows8, clicks8, points8, shows9, clicks9, points9, total_shows, total_clicks, total_points, total_ctr) values ('217969', '4', 'no', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0.000000'). () Mysql error:: 0 () (db_link) in query insert into rot_gallery_stats3 (thumb_id, group_id, best_thumb, current_index, current_shows, current_clicks, current_points, shows0, clicks0, points0, shows1, clicks1, points1, shows2, clicks2, points2, shows3, clicks3, points3, shows4, clicks4, points4, shows5, clicks5, points5, shows6, clicks6, points6, shows7, clicks7, points7, shows8, clicks8, points8, shows9, clicks9, points9, total_shows, total_clicks, total_points, total_ctr) values ('217970', '4', 'no', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0.000000'). () Mysql error:: 0 () (db_link) in query insert into rot_gallery_stats3 (thumb_id, group_id, best_thumb, current_index, current_shows, current_clicks, current_points, shows0, clicks0, points0, shows1, clicks1, points1, shows2, clicks2, points2, shows3, clicks3, points3, shows4, clicks4, points4, shows5, clicks5, points5, shows6, clicks6, points6, shows7, clicks7, points7, shows8, clicks8, points8, shows9, clicks9, points9, total_shows, total_clicks, total_points, total_ctr) values ('217971', '4', 'no', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0.000000'). () Mysql error:: 0 () (db_link) in query insert into rot_gallery_stats3 (thumb_id, group_id, best_thumb, current_index, current_shows, current_clicks, current_points, shows0, clicks0, points0, shows1, clicks1, points1, shows2, clicks2, points2, shows3, clicks3, points3, shows4, clicks4, points4, shows5, clicks5, points5, shows6, clicks6, points6, shows7, clicks7, points7, shows8, clicks8, points8, shows9, clicks9, points9, total_shows, total_clicks, total_points, total_ctr) values ('217972', '4', 'no', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0.000000'). () Mysql error:: 0 () (db_link) in query insert into rot_gallery_stats3 (thumb_id, group_id, best_thumb, current_index, current_shows, current_clicks, current_points, shows0, clicks0, points0, shows1, clicks1, points1, shows2, clicks2, points2, shows3, clicks3, points3, shows4, clicks4, points4, shows5, clicks5, points5, shows6, clicks6, points6, shows7, clicks7, points7, shows8, clicks8, points8, shows9, clicks9, points9, total_shows, total_clicks, total_points, total_ctr) values ('217973', '4', 'no', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0.000000'). () Mysql error:: 0 () (db_link) in query insert into rot_gallery_stats3 (thumb_id, group_id, best_thumb, current_index, current_shows, current_clicks, current_points, shows0, clicks0, points0, shows1, clicks1, points1, shows2, clicks2, points2, shows3, clicks3, points3, shows4, clicks4, points4, shows5, clicks5, points5, shows6, clicks6, points6, shows7, clicks7, points7, shows8, clicks8, points8, shows9, clicks9, points9, total_shows, total_clicks, total_points, total_ctr) values ('217974', '4', 'no', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0.000000'). () Mysql error:: 0 () (db_link) in query insert into rot_gallery_stats3 (thumb_id, group_id, best_thumb, current_index, current_shows, current_clicks, current_points, shows0, clicks0, points0, shows1, clicks1, points1, shows2, clicks2, points2, shows3, clicks3, points3, shows4, clicks4, points4, shows5, clicks5, points5, shows6, clicks6, points6, shows7, clicks7, points7, shows8, clicks8, points8, shows9, clicks9, points9, total_shows, total_clicks, total_points, total_ctr) values ('217975', '4', 'no', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0.000000'). () Mysql error:: 0 () (db_link) in query insert into rot_gallery_stats3 (thumb_id, group_id, best_thumb, current_index, current_shows, current_clicks, current_points, shows0, clicks0, points0, shows1, clicks1, points1, shows2, clicks2, points2, shows3, clicks3, points3, shows4, clicks4, points4, shows5, clicks5, points5, shows6, clicks6, points6, shows7, clicks7, points7, shows8, clicks8, points8, shows9, clicks9, points9, total_shows, total_clicks, total_points, total_ctr) values ('217976', '4', 'no', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0.000000'). () Mysql error:: 0 () (db_link) in query insert into rot_gallery_stats3 (thumb_id, group_id, best_thumb, current_index, current_shows, current_clicks, current_points, shows0, clicks0, points0, shows1, clicks1, points1, shows2, clicks2, points2, shows3, clicks3, points3, shows4, clicks4, points4, shows5, clicks5, points5, shows6, clicks6, points6, shows7, clicks7, points7, shows8, clicks8, points8, shows9, clicks9, points9, total_shows, total_clicks, total_points, total_ctr) values ('217977', '4', 'no', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0.000000').