vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Javascript problems (https://vborg.vbsupport.ru/showthread.php?t=163342)

scarex80 11-22-2007 06:18 AM

Javascript problems
 
I apologize if this isn't the correct area where posting my problem.

I was debugging my forum in order to find out and fix bug in my code. Using javascript debugger for IE, I found in my forumhome (index.php) 4 javascript error: the same error are present in the forumhome of vbulletin.org (I make a comparison as I use vBulletin 3.6.8, as Vbulletin.org does).

Are available some solution to fix this error? It is a very annoying situation that IE allert my users of some javascript errors in forum pages...

These are the errors reported by debugger.

vbulletin_global.js?v=368
Code:

if (!window.console || !console.firebug)
{
        window.console = {};
        var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml", "group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"];
        for (var i = 0; i < names.length; ++i) window.console[names[i]] = function() {};

No explanation

vbulletin_menu.js?v=368
Code:

vBulletin.add_event("vBmenuShow");
vBulletin is null or not an object



Home page forum
Code:

<script type="text/javascript" src="clientscript/vbulletin_read_marker.js?v=368"></script>
<script type="text/javascript">
<!--
vbphrase['doubleclick_forum_markread'] = "Double-click this icon to mark this forum and its contents as read";
init_forum_readmarker_system();
-->
</script>

vbphrase is null or not an object



vbulletin_global.js?v=368 (line 1826)
Code:


        // the new init system
        vBulletin.init();

vBulletin is null or not an object


All times are GMT. The time now is 12:32 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01113 seconds
  • Memory Usage 1,709KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete