Alien2001 Posted September 15, 2014 Share Posted September 15, 2014 Добрый день! Уже давно ломаю голову над внезапно возникшей ошибкой Java Script в панели вынесения предупреждений (версия форума 3.3). Ошибка выглядит так: TypeError: Cannot read property 'observe' of null #6 http://www.domain.com/public/min/index.php?ipbv=51cf7eab5719ed27bdbde7ab25045b41&charset=UTF-8&f=public/js/ipb.js,cache/lang_cache/2/ipb.lang.js,public/js/ips.hovercard.js,public/js/ips.quickpm.js,public/js/ips.warn.js,public/js/ips.textEditor.js:921:69 #5 http://www.domain.com/public/min/index.php?ipbv=51cf7eab5719ed27bdbde7ab25045b41&charset=UTF-8&f=public/js/ipb.js,cache/lang_cache/2/ipb.lang.js,public/js/ips.hovercard.js,public/js/ips.quickpm.js,public/js/ips.warn.js,public/js/ips.textEditor.js:921:391 HTMLDocument.() #4 http://www.domain.com/public/min/index.php?ipbv=51cf7eab5719ed27bdbde7ab25045b41&g=js:543:50 HTMLDocument._createResponder.responder() #3 http://www.domain.com/public/min/index.php?ipbv=51cf7eab5719ed27bdbde7ab25045b41&g=js:568:9 fire() #2 http://www.domain.com/public/min/index.php?ipbv=51cf7eab5719ed27bdbde7ab25045b41&g=js:60:166 HTMLDocument._methodized [as fire]() #1 http://www.domain.com/public/min/index.php?ipbv=51cf7eab5719ed27bdbde7ab25045b41&g=js:572:575 HTMLDocument.fireContentLoadedEvent()&host=www.domain.com Возникает сразу после загрузки страницы и не дает изменить вид наказания внизу. Может кто сталкивался или подскажет, за что дернуть. Самое загадочное, что в локальной версии, которая является копией серверной, ничего этого нет и все работает нормально. Link to comment Share on other sites More sharing options...
siv1987 Posted September 15, 2014 Share Posted September 15, 2014 Я так понимаю у вас есть backtrace, продебажите какого элемента нету на странице к которому прикреплен указанный observe. Проверьте чтобы были элементы с id: mq_permrpa_permsuspend_perm 1 Link to comment Share on other sites More sharing options...
Alien2001 Posted September 16, 2014 Author Share Posted September 16, 2014 М-да... Спасибо за наводку. Посмотрел по элементам: не было suspend_perm. Дернул по цепочке выяснил, что сам накосячил с ограничением прав модераторов. Так обычно и бывает P.S. а back trace мне дает хромовское расширение (JavaScript Errors Notifier) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now