Nested sets error: INSERT INTO cms_category (parent_id, NSLeft, NSRight, NSLevel, ordering, NSDiffer) VALUES (2, 5, 6, 2, 2, '')
проверяю дерево
Дерево разделов для статей — найдены ошибки!
исправляю.всеравно выходят такая ошибка.
Nested sets error: INSERT INTO cms_category (parent_id, NSLeft, NSRight, NSLevel, ordering, NSDiffer) VALUES (2, 5, 6, 2, 2, '')
INSERT INTO `cms_category` (`id`, `parent_id`, `title`, `description`, `published`, `showdate`, `showcomm`, `orderby`, `orderto`, `modgrp_id`, `NSLeft`, `NSRight`, `NSLevel`, `NSDiffer`, `NSIgnore`, `ordering`, `maxcols`, `showtags`, `showrss`, `showdesc`, `is_public`, `photoalbum`, `seolink`, `url`, `tpl`, `cost`) VALUES ('1','0','--Корневой раздел--','Корневой раздел сайта','1','1','1','pubdate','asc','0','1','24','0','','0','1','1','1','1','0','0','','--kornevoi-razdel--','','com_content_view.tpl',''), ('2','1','Новости','','1','1','1','pubdate','ASC','0','2','5','1','','0','1','1','1','0','0','0','a:7:{s:2:"id";i:0;s:6:"titles";i:0;s:6:"header";s:0:"";s:7:"orderby";s:5:"title";s:7:"orderto";s:4:"desc";s:7:"maxcols";i:2;s:3:"max";i:8;}','novosti','','com_content_view.tpl',''), ('6','1','Статьи','<p>Тексты статей предоставлены службой <a href="http://referats.yandex.ru/">Яндекс.Рефераты</a></p>','1','1','1','pubdate','ASC','0','6','7','1','','0','2','1','1','1','1','1','a:7:{s:2:"id";i:0;s:6:"titles";i:0;s:6:"header";s:18:"Фотографии на тему";s:7:"orderby";s:4:"hits";s:7:"orderto";s:3:"asc";s:7:"maxcols";i:2;s:3:"max";i:8;}','stati','','com_content_view.tpl',''), ('21','17','Зарубежная Эстрада','','1','1','1','pubdate','ASC','0','15','16','2','','0','5','1','1','1','1','1','a:7:{s:2:"id";i:0;s:6:"titles";i:0;s:6:"header";s:0:"";s:7:"orderby";s:5:"title";s:7:"orderto";s:4:"desc";s:7:"maxcols";i:2;s:3:"max";i:8;}','albomy-mp3/zarubezhnaja-yestrada','','com_content_view.tpl',''), ('22','17','Восточные','','1','1','1','pubdate','ASC','0','17','18','2','','0','6','2','1','1','1','1','a:7:{s:2:"id";i:0;s:6:"titles";i:0;s:6:"header";s:0:"";s:7:"orderby";s:5:"title";s:7:"orderto";s:4:"desc";s:7:"maxcols";i:2;s:3:"max";i:8;}','albomy-mp3/vostochnye','','com_content_view.tpl',''), ('16','2','Музыкальные новости','','1','1','1','pubdate','DESC','0','3','4','2','','0','1','2','1','1','1','1','a:7:{s:2:"id";i:0;s:6:"titles";i:0;s:6:"header";s:0:"";s:7:"orderby";s:5:"title";s:7:"orderto";s:4:"desc";s:7:"maxcols";i:2;s:3:"max";i:8;}','novosti/muzykalnye-novosti','','com_content_view.tpl',''), ('19','17','Шансон','','1','1','1','pubdate','ASC','0','11','12','2','','0','3','2','1','1','1','1','a:7:{s:2:"id";i:0;s:6:"titles";i:0;s:6:"header";s:0:"";s:7:"orderby";s:5:"title";s:7:"orderto";s:4:"desc";s:7:"maxcols";i:2;s:3:"max";i:8;}','albomy-mp3/shanson','','com_content_view.tpl',''), ('20','17','Русская Эстрада','','1','1','1','pubdate','ASC','0','13','14','2','','0','4','2','1','1','1','1','a:7:{s:2:"id";i:0;s:6:"titles";i:0;s:6:"header";s:0:"";s:7:"orderby";s:5:"title";s:7:"orderto";s:4:"desc";s:7:"maxcols";i:2;s:3:"max";i:8;}','albomy-mp3/ruskaja-yestrada','','com_content_view.tpl',''), ('17','1','Альбомы МП3','','1','1','1','pubdate','ASC','0','8','21','1','','0','3','2','1','1','1','1','a:7:{s:2:"id";i:0;s:6:"titles";i:0;s:6:"header";s:0:"";s:7:"orderby";s:5:"title";s:7:"orderto";s:4:"desc";s:7:"maxcols";i:2;s:3:"max";i:8;}','albomy-mp3','','com_content_view.tpl',''), ('18','17','Кавказкие мп3','','1','1','1','pubdate','ASC','0','9','10','2','','0','2','2','1','1','1','1','a:7:{s:2:"id";i:0;s:6:"titles";i:0;s:6:"header";s:0:"";s:7:"orderby";s:5:"title";s:7:"orderto";s:4:"desc";s:7:"maxcols";i:2;s:3:"max";i:8;}','albomy-mp3/kavkazkie-mp3','','com_content_view.tpl',''), ('23','1','','','0','1','1','date','asc','0','22','23','1','','0','4','1','1','1','0','0','','','','com_content_view.tpl',''); -- --------------------------------------------------------
('23','1','','','0','1','1','date','asc','0','22','23','1','','0','4','1','1','1','0','0','','','','com_content_view.tpl','');