Results 1 to 10 of 10

Thread: Sugar Dashlet Problem

  1. #1
    Chee Juan is offline Junior Member
    Join Date
    Sep 2010
    Posts
    3

    Default Sugar Dashlet Problem

    Hi there,

    I would be most obliged for your assistance on the problem I ve encountered.

    I clicked "Add Dashlets" in the sugar homepage, the word "loading ..." appeared in red, but the add dashlet menu doesn't show.

    The problem started when i was using Sugar 5.5, but the problem still persist when i ve upgraded to 6.0.1
    I m using xampp 1.7.1 and i ve changed the php memory limit to 128M

    Thank you
    PHANG

  2. #2
    davidboris is offline Sugar Community Member
    Join Date
    May 2010
    Posts
    1,113

    Default Re: Sugar Dashlet Problem

    Hello,

    I would suggest, install plug-in firebug in firefox and check if you have any javascript error?
    Thumbs up.

    Skype ID - david__boris

    SugarForge Projects:

    WYSIWYG now in studio!(Version 1.1 is out now!)

    Sugar Feeds on your personalized home pages like iGoogle, My Yahoo!, etc.

    Fab Tools! > Dashlet Not Followed Opportunities for past six Months

  3. #3
    Chee Juan is offline Junior Member
    Join Date
    Sep 2010
    Posts
    3

    Default Re: Sugar Dashlet Problem

    Thanks for the suggestion,

    I ve installed Firebug and got this out from the script when i clicked on "Dashlet"
    The first line is from the console, and subsequent lines was extracted from the script section.
    The first line mentioned something about daslet being null, what do i do next??

    X document.getElementById("dashletsDialog_c") is null
    ajaxStatus.showStatus(SUGAR.language.get('app_stri ngs','LBL_LOADING'));var success=function(data){eval(data.responseText);das hletsListDiv=document.getElementById('dashletsList ');dashletsListDiv.innerHTML=response['html'];document.getElementById('dashletsDialog_c').style .display='';SUGAR.mySugar.dashletsDialog.show();ev al(response['script']);ajaxStatus.hideStatus();}

    Your assistance is most appreciated

    Thank you
    PHANG

  4. #4
    davidboris is offline Sugar Community Member
    Join Date
    May 2010
    Posts
    1,113

    Default Re: Sugar Dashlet Problem

    Hello,

    I couldn't regenerate same issue. But found a reported bug. # 38244.

    Suggestion: Take backup of your database and try removing dashlets and add them again, if doesnt help, restore database backup.
    Thumbs up.

    Skype ID - david__boris

    SugarForge Projects:

    WYSIWYG now in studio!(Version 1.1 is out now!)

    Sugar Feeds on your personalized home pages like iGoogle, My Yahoo!, etc.

    Fab Tools! > Dashlet Not Followed Opportunities for past six Months

  5. #5
    slawekg is offline Sugar Community Member
    Join Date
    Apr 2007
    Posts
    11

    Default Re: Sugar Dashlet Problem


  6. #6
    Chee Juan is offline Junior Member
    Join Date
    Sep 2010
    Posts
    3

    Default Re: Sugar Dashlet Problem

    I was able to solve the problem, by reinstalling sugarcrm

    I ve exported the database from mysql and deleted the sugarcrm folder from htdoc
    However after reinstalling sugar 6.0.1, I was unable to import the data that I ve exported. Keep saying things regarding email settings....
    So I ve delete the sugarcrm folder in mysql\data\ and just replace it with the old database folder that I ve backed up prior.

    Anyway, thanks alot for the support given. Really appreciated it.

  7. #7
    angelababy is offline Banned
    Join Date
    Jul 2010
    Posts
    60

    Default Re: Sugar Dashlet Problem

    Hi! Thanks for all of your very useful informations.

  8. #8
    Join Date
    Jan 2011
    Posts
    19

    Default Re: Sugar Dashlet Problem

    Re-install for a jS bug ? seriously ? ...........

    has anyone actually found the real work around what is broken here to be able to load up the Dashlets dialogue.

    All it is - is MySugar.js trying to find something that isn't there i.e. dashletsDialog_c in the ajax return for the Dashlets HTML.

  9. #9
    jmiller2979 is offline Member
    Join Date
    Jan 2009
    Posts
    6

    Default Re: Sugar Dashlet Problem

    So after much investigation I am up to here. I was receiving a similar error add dashlets wouldn't load.

    What i found:

    the error reported back by firebug was:
    Error: invalid label
    Source File: http://crm.millerdesignstudios.net/i...MySugar.js?c=1
    Line: 71, Column: 14
    Source Code:
    <b>Warning</b>: array_push() [<a href='function.array-push'>function.array-push</a>]: First argument should be an array occured in <b>/home/yearold1/public_html/millerdesignstudios.net/crm/include/MySugar/DashletsDialog/DashletsDialog.php</b> on line 173

    which traceback showed:
    the issue was in .../include/MySugar/DashletsDialog/DashletsDialog.php on line 173

    offending code:
    array_push($dashletsList[$dashletMeta[$files['class']]['category']], $cell);

    When I comment this line out the dashlet dialog pops, but with no content...I have no idea what the problem is, nor where to start looking.
    Last edited by jmiller2979; 2011-03-30 at 09:44 PM.

  10. #10
    talus46 is offline Junior Member
    Join Date
    Jan 2011
    Posts
    1

    Default Re: Sugar Dashlet Problem

    Hello , I had the same problem and I it was about file permissions when generating the js files cache

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Dashlet loading problem
    By othmanelmoulat in forum Developer Help
    Replies: 10
    Last Post: 2010-12-06, 11:43 PM
  2. Dashlet problem
    By pjaway in forum Help
    Replies: 1
    Last Post: 2009-11-18, 04:31 PM
  3. customize dashlet problem
    By chinwoei in forum Help
    Replies: 0
    Last Post: 2008-04-22, 11:41 AM
  4. Dashlet Problem
    By kanchan in forum Developer Help
    Replies: 21
    Last Post: 2008-02-07, 03:35 PM

Tags for this Thread

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
  •