<< Back
Message for this thread
Posted by Messages text
Chalhoub Ali

Noavatar
Total post : 33
> Profile
Attachment : file
Object : When admin logs in to the core error is generated

When I log in to the admin page, I get the following error , http://www.chalhoublive.com/docebo_bug.jpg ,

I am using the following:

1. Internet Explorer 7 release & Firefox.

2. Docebo version 3.0.4

3. The error is at line 31 which is Error: 'null' is null or not an object

 

 
Erba Claudio

Avatar
Total post : 2688
> Profile
Written on : 28/10/2006 09:16 ( more than one month )
Object : Re: When admin logs in to the core error is generated
Probably is a javascript error that is shown because you have enabled your browser as debug mode
Claudio
Docebo CEO and Founder
www.docebo.com
 
Fabio Pirovano

Avatar
Total post : 538
> Profile
Written on : 28/10/2006 20:53 ( more than one month )
Object : Re: When admin logs in to the core error is generated
IS a javascript error in the switchToDrowpdown javascript function in doceboCore/lib/lib.menu_over.js
Now i have some trouble with the bugtracker, so if you want this is the correct function, asap i will update the bugtraker


function switchToDrowpdown(id_menu, id_menu_2, css_menu_dropdown_class) {
   
    var prev_fun = window.onload;
    if(prev_fun != undefined) {
       
        window.onload = function() {
            prev_fun();
            var obj_menu = document.getElementById(id_menu);
            if(obj_menu != null) obj_menu.className = css_menu_dropdown_class;
           
            obj_menu = document.getElementById(id_menu_2);
            if(obj_menu != null) obj_menu.className = css_menu_dropdown_class;
        }
    } else {
       
        window.onload = function () {
       
            var obj_menu = document.getElementById(id_menu);
            if(obj_menu != null) obj_menu.className = css_menu_dropdown_class;
           
            obj_menu = document.getElementById(id_menu_2);
            if(obj_menu != null) obj_menu.className = css_menu_dropdown_class;
        }
    }       
}

ciao
    Fabio
Docebo Staff

 - Docebo 4 released! -
 
Chalhoub Ali

Noavatar
Total post : 33
> Profile
Written on : 29/10/2006 05:38 ( more than one month )
Object : Re: When admin logs in to the core error is generated

Thank you guys for your response. I always have the debug enable in the Javascript to fix any problems during development so it does not get missed.It is important for the developer to have Javascript debug enable in order to fix all Javascript issues.

I will update the code.

 
Chalhoub Ali

Noavatar
Total post : 33
> Profile
Written on : 29/10/2006 05:53 ( more than one month )
Object : Re: When admin logs in to the core error is generated

This bug now has been fixed with this modification to the lib.menu_over.js.

Note: The welcome page does not show when you login to the admin page unless you click ont the welcome page from the menu.

Note: Please make sure you guys you have the debug enable when you develop it that way you guys do not miss any javascript error.

 
Erba Claudio

Avatar
Total post : 2688
> Profile
Written on : 29/10/2006 08:29 ( more than one month )
Object : Re: When admin logs in to the core error is generated

This bug now has been fixed with this modification to the lib.menu_over.js.

Note: The welcome page does not show when you login to the admin page unless you click ont the welcome page from the menu.

This is a know issue, and happen when you go in the admin area from the LMS or CMS area right? this should not be happen if you login from doceboCore


Note: Please make sure you guys you have the debug enable when you develop it that way you guys do not miss any javascript error.



The Firefox Javascript contol didn't notice
Ciao
Claudio
Docebo CEO and Founder
www.docebo.com
 
Chalhoub Ali

Noavatar
Total post : 33
> Profile
Written on : 29/10/2006 08:55 ( more than one month )
Object : Re: When admin logs in to the core error is generated

Claudio

I really appreciate answering my questions. You guys are amazing.

Keep up the good work....

 
Chalhoub Ali

Noavatar
Total post : 33
> Profile
Written on : 29/10/2006 09:04 ( more than one month )
Object : Re: When admin logs in to the core error is generated

Claudio

You are correct. If you come from the LMS the welcome does not come. It does work fine if you login directly.

thx man

 
<< Back