Results 1 to 4 of 4

Thread: Javascript errors

  1. #1
    jfdube is offline Junior Member
    Join Date
    Oct 2006
    Posts
    2

    Unhappy Javascript errors

    After reinstalling several times SugarSuite-Full-4.5.0e, i'm still stuck with javascript pop-up errors on login form. Same thing when i create a user. Did i miss something in the installation procedure?

    tried on:

    Operating system type and version --> windows server 2003
    Sugar Suite version --> 4.5.0e and 4.5.0
    Webserver type and version --> IIS 6
    PHP version --> 5.1.6
    MySQL server version --> 5.0.22

    Operating system type and version --> windows xp pro
    Sugar Suite version --> 4.5.0e and 4.50
    Webserver type and version --> Apache/2.2.3 (Win32)
    PHP version --> 5.1.6 and 4.4.4
    MySQL server version --> 5.0.22

  2. #2
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Javascript errors

    Please elaborate on the error messages you are seeing.

    What's the exact text of the message?

    Does it happen after you click the button to login? Or before? When?

    A bit more info will us better assist you.
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  3. #3
    jfdube is offline Junior Member
    Join Date
    Oct 2006
    Posts
    2

    Cool Re: Javascript errors

    It seems that the javascript function:

    function toggleDisplay(id){

    if(this.document.getElementById(id).style.display= ='none'){
    this.document.getElementById(id).style.display='in line'
    if(this.document.getElementById(id+"link") != undefined){
    this.document.getElementById(id+"link").style.disp lay='none';
    }
    //document['options'].src = '<?php echo $theme_path ?>images/basic_search.gif';
    }else{
    this.document.getElementById(id).style.display='no ne'
    if(this.document.getElementById(id+"link") != undefined){
    this.document.getElementById(id+"link").style.disp lay='inline';
    }
    //document['options'].src = '<?php echo $theme_path ?>images/advanced_search.gif';
    }
    }

    on the login.php file in modules\Users\ is not good. The error pop-up comes when you click on options just beside the login button. It says that document['options'] is null or is not a object.

    Thank's

  4. #4
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Javascript errors

    Quote Originally Posted by jfdube
    It seems that the javascript function:

    //document['options'].src = '<?php echo $theme_path ?>images/basic_search.gif';
    //document['options'].src = '<?php echo $theme_path ?>images/advanced_search.gif';
    Well, this seems a bit strange. Although I am using 4.5b, when I take a look at my install, both of these lines are uncommented.

    What happens if you uncomment these lines?
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •