FILE:/var/www/sova31/data/www/stcmp.ru/janeair/modules/news.module
LINE:157
MESS:Lost connection to MySQL server during query
155         if(sql::num_rows($r) == 0 ) { template::set_param("html", l("Страница не найдена")); return;}
156         $f = sql::fetch($r);
157         $r2 = sql::query("select `cat_name` from `news_cats` where `news_cid` = '{$f['news_cid']}'") or MD(__FILE__,__LINE__);
158         $f2 = sql::fetch($r2);
159
160         template::set_param("altt", $f['title']);
161         template::set_param("title", $f['news_title']);
1. select * from `config`
2. select Count(*) as `c` from `category` where `url` = 'stati/trening_zanatie_s_volonterami_may_centr_molodezjnix_iniciativ' and `url` != ''
3. select `news_id` from `news` where `url` = 'trening_zanatie_s_volonterami_may_centr_molodezjnix_iniciativ'
4. select * from `news` where `news_id` = '878'
5. select `cat_name` from `news_cats` where `news_cid` = '13'