Results 1 to 8 of 8

Thread: [SOLVED] Please help - Knowledge Tree Zimlet

  1. #1
    Join Date
    Jan 2009
    Posts
    13
    Rep Power
    6

    Default [SOLVED] Please help - Knowledge Tree Zimlet

    Attached file is knowledge Tree zimlet which I wrote for my company.
    Really, most of the code are taken from Alfresco and other available zimlets and I just modified it to work with Knowledge Tree.

    It's just a simple zimlet that enables drag and drop approaches to let you easily save email from zimbra to knowledge Tree. I tested it on my dev server and it seems to work fine. But when I deployed it to the production I've received 2 different errors from two different web browsers like this

    on firefox
    TypeError: J.xml is null

    on IE
    [object error]

    Does anybody know what this mean?
    Any comment, idea or tester are really welcome.

    INSTALL :
    You need to
    1.In config_template.xml,
    configure allowedDomains and ServerAddress to your KT server address.
    2.Deploy it normally.
    3.On the zimlet panel, enter username and password through "perferences"

    Thank you
    Porntep
    Attached Files Attached Files

  2. #2
    Join Date
    Jan 2009
    Posts
    13
    Rep Power
    6

    Default

    I'm testing it on
    Ubuntu 8.04 and
    Zimbra 5.0.11_GA_2695 NETWORK edition

  3. #3
    Join Date
    Sep 2005
    Posts
    187
    Rep Power
    10

    Default

    Try opening Zimbra in Developer mode by appending ?dev=1 to the Zimbra url.
    Code:
    i.e. if your zimbra's url is http://www.server.com/zimbra .. open it with http://www.server.com/zimbra?dev=1
    This would give more explicit error instead of cryptic one and you will be able to debug it.
    Last edited by rrao; 09-11-2009 at 01:31 PM.
    Bugzilla - Wiki - Downloads - Before posting... Search!

  4. #4
    Join Date
    Jan 2009
    Posts
    13
    Rep Power
    6

    Default

    Thanks rrao,

    I've tried that but still can't get any more clue about what's going on.

    In the debug window, when dropping an email to the zimlet I will receive these two lines
    Code:
    reusing RPC ID __RpcCtxt_0
    --- freeing rpcCtxt __RpcCtxt_0
    (Do you know what this means?)

    And in the Dev mode, the previous error has changed to
    Code:
    TypeError: result.xml is null
    ("result" is the name of a variable)

    In firebug
    HTTP ERROR: 403 FORBIDDEN

    Anyway, a few sites suggested this could be a problem with servlet proxy but I have also tried
    Code:
    zmprov gc default |grep zimbraProxyAllowedDomains
    which gave me
    Code:
    zimbraProxyAllowedDomains: *.yahooapis.com
    zimbraProxyAllowedDomains: *.mycompany.net
    zimbraProxyAllowedDomains: *.csgnetwork.com
    zimbraProxyAllowedDomains: *.yahoo.com
    zimbraProxyAllowedDomains: *.maxmind.com
    zimbraProxyAllowedDomains: *.yimg.com
    have you got any idea about what else i can check to debug/fix it better?

    Thanks.

  5. #5
    Join Date
    Sep 2005
    Posts
    187
    Rep Power
    10

    Default

    Quote Originally Posted by xrickung View Post
    Thanks rrao,

    I've tried that but still can't get any more clue about what's going on.

    In the debug window, when dropping an email to the zimlet I will receive these two lines
    Code:
    reusing RPC ID __RpcCtxt_0
    --- freeing rpcCtxt __RpcCtxt_0
    (Do you know what this means?)

    And in the Dev mode, the previous error has changed to
    Code:
    TypeError: result.xml is null
    ("result" is the name of a variable)

    In firebug
    HTTP ERROR: 403 FORBIDDEN

    Anyway, a few sites suggested this could be a problem with servlet proxy but I have also tried
    Code:
    zmprov gc default |grep zimbraProxyAllowedDomains
    which gave me
    Code:
    zimbraProxyAllowedDomains: *.yahooapis.com
    zimbraProxyAllowedDomains: *.mycompany.net
    zimbraProxyAllowedDomains: *.csgnetwork.com
    zimbraProxyAllowedDomains: *.yahoo.com
    zimbraProxyAllowedDomains: *.maxmind.com
    zimbraProxyAllowedDomains: *.yimg.com
    have you got any idea about what else i can check to debug/fix it better?

    Thanks.
    403 means, Zimlet is trying to access a site which is not in zimbraProxyAllowedDomains or not explicitly allowed.

    If you already have it,
    1. Check for spelling mistakes

    2. if you are accessing: Test.com Web Based Testing and Certification Software v2.0 and Test.com Web Based Testing and Certification Software v2.0
    try adding both: test.com and *.test.com


    Also:
    1. Increment the "version" number of the <zimletname>.xml
    2. Deploy the Zimlet (undeploy and deploy the Zimlet)



    Finally, install Firebug for Firefox, it would help you a lot.
    Turn ON Firebug, and go to Console-tab in Firebug.
    Open Zimbra and see see when Zimlet tries to access this extenal site.
    Bugzilla - Wiki - Downloads - Before posting... Search!

  6. #6
    Join Date
    Jan 2009
    Posts
    13
    Rep Power
    6

    Default

    Hi rrao,
    I've tried all of that suggestions but still got stuck with the same error.
    in normal mode
    Code:
    TypeError: J.xml is null
    in dev mode
    Code:
    TypeError: result.xml is null
    I already got firebug installed on my firefox as well but it didn't give me anything other than
    HTTP ERROR: 403 FORBIDDEN

    I'm sure spelling of the alloweddomain is correct as it works fine on my dev machine.

    Any idea?

    Thank you

  7. #7
    Join Date
    Sep 2005
    Posts
    187
    Rep Power
    10

    Default

    Quote Originally Posted by xrickung View Post
    Hi rrao,
    I've tried all of that suggestions but still got stuck with the same error.
    in normal mode
    Code:
    TypeError: J.xml is null
    in dev mode
    Code:
    TypeError: result.xml is null
    I already got firebug installed on my firefox as well but it didn't give me anything other than
    HTTP ERROR: 403 FORBIDDEN

    I'm sure spelling of the alloweddomain is correct as it works fine on my dev machine.



    Any idea?

    Thank you
    Can you email me all the login and other details for your zimlet ?
    Bugzilla - Wiki - Downloads - Before posting... Search!

  8. #8
    Join Date
    Jan 2009
    Posts
    13
    Rep Power
    6

    Default

    Hey rrao,

    just got it fixed by my sys admin

    it seemed to be the same prob as in this thread
    http://www.zimbra.com/forums/zimlets...eddomains.html

    Thanks anyway for your help : )

Similar Threads

  1. Replies: 6
    Last Post: 03-05-2010, 12:13 AM
  2. Replies: 21
    Last Post: 02-04-2010, 09:06 AM
  3. Samba and POSIX undeploy problem
    By catnipper in forum Zimlets
    Replies: 0
    Last Post: 09-02-2009, 10:51 AM
  4. Replies: 5
    Last Post: 01-11-2008, 04:34 AM
  5. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 10:38 AM

Posting Permissions

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