Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Zimlets

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-30-2008, 08:19 PM
Junior Member
 
Posts: 7
Default Debugging a zimlet

I'm stumped.

I have 2 servers, the test server and the production server. Test server is running 5.09 and the production server is running (now) 5.0.11. On friday, the production was upgraded from 4.5 to 5.0.11. Now, none of the user zimlets work, but they work on the test machine running 5.0.9.

The standard (amazon, flight status,maps, for example) zimlets work, but simple non-javascript zimlets don't work. It's something incredibly simple, I know it. I simply can't see the problem.

When I say "don't work", I mean that when you click on the zimlet nothing happens. No errors, just no browser action. Here's the differences:

Working Environment(test) Failing Environment(production)

Domain is familyfoundations.us Domain is familyfoundations.com
Zimbra version is 5.0.9 Zimbra version is 5.0.11


Working zimlet:
Code:
<zimlet name="com_phpministry_ffilink" version="1.0" description="URL">
<includeCSS>ffilink.css</includeCSS>
<resource>ffilink.gif</resource>
  <zimletPanelItem label="www.familyfoundations.us" icon="ffilink-panelIcon">
    <toolTipText>Right-click to go to the Family Foundations web site</toolTipText>
    <contextMenu>
      <menuItem label="familyfoundations.us" id="ffilink" icon="ffilink-panelIcon">
        <canvas type="window" title="Support Form" />
        <actionUrl target="http://www.familyfoundations.us">
        </actionUrl>
      </menuItem>
    </contextMenu>
  </zimletPanelItem>
</zimlet>
Failing Zimlet:

Code:
<zimlet name="com_phpministry_ffilink" version="1.0" description="URL">
<includeCSS>ffilink.css</includeCSS>
<resource>ffilink.gif</resource>
  <zimletPanelItem label="www.familyfoundations.com" icon="ffilink-panelIcon">
    <toolTipText>Right-click to go to the Family Foundations web site</toolTipText>
    <contextMenu>
      <menuItem label="familyfoundations.com" id="ffilink" icon="ffilink-panelIcon">
        <canvas type="window" title="Support Form" />
        <actionUrl target="http://www.familyfoundations.com">
        </actionUrl>
      </menuItem>
    </contextMenu>
  </zimletPanelItem>
</zimlet>
Questions:

When I deploy on the box that fails, it says:

2008-11-30 13:10:16,129 INFO [btpool0-11] [ip=10.0.0.60;ua=Jakarta Commons-HttpClient/3.0;] mailbox - FileUploadServlet received Upload: { accountId=e0fafd89-1360-11d9-8661-000a95d98ef2, time=Sun Nov 30 13:10:16 MST 2008, uploadId=17675b9e-7f73-432c-bd8a-de2de939645a:2fb0315a-6881-4f2d-88d4-d073b22b0cfc, com_phpministry_ffilink.zip}
2008-11-30 13:10:16,134 INFO [btpool0-11] [name=zimbra;ip=10.0.0.60;] soap - DeployZimletRequest
2008-11-30 13:10:16,182 INFO [Thread-16092] [] zimlet - Installing Zimlet com_phpministry_ffilink on this host.


Again, there are no error messages, merely a lack of anything happening. Where can I go to get error messages, so as to get a clue?

Thanks,

Dave
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.