Menu

#11 starttime undefined in script for DEBUG output

open
nobody
None
5
2006-02-09
2006-02-09
adamsjs
No

I'm using the latest CVS version of bbps.

The

if (DEBUG == TRUE)

test in _header.tpl is nested inside the code for the

if($GLOBALS['CONF_ENABLE_AUTOCOMPLETE'])

statement. If $CONF_ENABLE_AUTOCOMPLETE is set to
false, this will prevent the test of the DEBUG
constant. Without this, the debug output (in the
status bar of the browser window) from _footer.tpl
fails because the starttime variable is undefined.

If using IE, the following error is generated when
displaying bookmarks in bbps:

Line: 240
Char: 3
Error: 'starttime' is undefined
Code: 0
URL: http://server/bbps/

I have attached a copy of _header.tpl that resolves
the issue for me.

Discussion

  • adamsjs

    adamsjs - 2006-02-09

    Fixed copy of _header.tpl that resolves starttime undefined error

     
  • Christian Ordig

    Christian Ordig - 2006-02-09

    Logged In: YES
    user_id=11664

    thanks.

    furthermore the if($GLOBALS['CONF_ENABLE_AUTOCOMPLETE']) was quite
    sense less around static <script> tags.

    it's fixed in CVS.

     

Log in to post a comment.

MongoDB Logo MongoDB