Menu

#69 Errors on the login page with 2.0

open
nobody
Interface (33)
5
2006-12-10
2006-12-10
mrdyg
No

1) The language flags will not show on the login page (error 404). This is because in lucid_phplib/translator.php in the function get_languageFlags at line 83, the directory is included in the file path, but then it is unecessarily included again at line 85 when the html link is built.

2) Javascript error occurs when getElementById() is called with an invalid object (lucid_themes/bandicoot/lucid.js, line 2). There is no menu on the login page.

Discussion

  • mrdyg

    mrdyg - 2006-12-10
    • summary: Errors on the login page --> Errors on the login page with 2.0
     
  • mrdyg

    mrdyg - 2006-12-18

    Logged In: YES
    user_id=1298276
    Originator: YES

    I described the problem with the flag images incorrectly. The problem is actually because the DIR_LANG variable describes the full file system path to the flags folder, when it should actually describe the webserver path to the flags folder.

     
  • mrdyg

    mrdyg - 2006-12-18

    Logged In: YES
    user_id=1298276
    Originator: YES

    For the second problem, add a provision in lucid_themes/bandicoot/lucid.js at the start of the function definition. If document.getElementById("menu") returns false, there is no need for the javascript hover effect.

     

Log in to post a comment.