Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Troubleshooting

  1. #11
    sposetti is offline Former Zimbran
    Join Date
    Nov 2009
    Posts
    105
    Rep Power
    5

    Default

    Run the web client with "?dev=1" on the request to run in "Development Mode". That way, the zimlets + zimbra web client JS code won't be obfuscated and you'll get more descriptive function/parameter info than "r=e[c]".

    ZCS 6.0:Zimlet Developers Guideeveloping Zimlets - Zimbra :: Wiki

  2. #12
    ericortego is offline Active Member
    Join Date
    Nov 2007
    Location
    Louisiana
    Posts
    38
    Rep Power
    7

    Default

    Well, undeploying and redeploying the zimlets did away with that error and brought about a new one. "ZaPosixGroup is not defined"

    Redeploying the posixaccount zimlet did away with that error and now I see no errors in firebug but still they do not display.

    I didn't get a chance to try ?dev=1 while the error was still present.

    And now the only "errors" I see in firebug are Aborted soap requests.

    It seems to me that there is a problem in how zimlets get installed.

    Why would undeploying then deploying result in errors occurring then vanishing?
    Nothing in the files has changed...


    Actually with ?dev=1
    IE still shows : Expected identifier, string or number {ref:ZaSambaGroupMapping.A_isSpecialNTGroup,
    type:_CHECKBOX_,
    msgName:zimbra_samba.MSG_SpecialWindowsGroup,
    label:zimbra_samba.LBL_SpecialWindowsGroup,
    trueValue:1, falseValue:0,
    onChange:ZaTabView.onFormFieldChanged,
    },
    Last edited by ericortego; 02-19-2010 at 11:10 AM.

  3. #13
    ericortego is offline Active Member
    Join Date
    Nov 2007
    Location
    Louisiana
    Posts
    38
    Rep Power
    7

    Default

    I was able to cause the same error by removing the zimlets, restarting mailboxd, redeploying the zimlets, first samba, second posix then restarting mailboxd again.

    with ?dev=1 the error now reads

    elements is undefined

    The function that elements is in follows:
    The relevant line is: comp = elements[cid];


    Code:
    function(components) {
    	for (var i = 0; i < components.length; i++) {
    		var cid = components[i];
    		// don't resize logo image (it will tile) or reposition it (centered via style)
    		if (cid == ZaAppViewMgr.C_BANNER) continue;
    		//DBG.println(AjxDebug.DBG3, "fitting to container: " + cid);
    		var cont = this._containers[cid];
    		if (cont) {
    			var contBds = Dwt.getBounds(cont);
    			var comp = this._components[cid];
    			if (
    				cid == ZaAppViewMgr.C_APP_CONTENT || 
    				cid == ZaAppViewMgr.C_TOOLBAR_TOP ||
    				cid == ZaAppViewMgr.C_TOOLBAR_BOTTOM ) {
    				// make sure we fit the component that's current
    				var elements = this._views[this._currentView];
    				comp = elements[cid];
    			}
    			if (comp && (comp.getZIndex() != Dwt.Z_HIDDEN)) {
                    var y =  contBds.y ;
                    var h =  contBds.height ;
                    if (AjxEnv.isIE && (!this._isAdvancedSearchBuilderDisplayed)) {
                        //bug  22173: IE hacking. Seems that the banner image size screw the height in IE. Maybe a small banner image on IE is the final solution?
                        //Also the advanced Search Builder expand/collapse will also affect the display behavior. WEIRD! 
                        if ( cid == ZaAppViewMgr.C_TREE )  {
                            y += 8 ;
                            h -= 5 ;
                        }else if ( cid == ZaAppViewMgr.C_CURRENT_APP ) {
                            y += 5 ;
                        }
                    }
    				try {
                    	comp.setBounds(contBds.x, y, contBds.width, h);
    				} catch (ex) {
    					ZaApp.getInstance().getCurrentController()._handleException(ex, "ZaAppViewMgr.prototype._stickToGrid", nul, false);
    				}
                    this._contBounds[cid] = contBds;
    
    				//call the components resizeListener to rearrange the component layout
    				if (comp._resizeListener) {
    					comp._resizeListener();
    				}
    			}
    		}
    	}
    	//this._debugShowMetrics(components);
    }

  4. #14
    ychaouche is offline Senior Member
    Join Date
    Jul 2012
    Location
    Algiers
    Posts
    55
    Rep Power
    3

    Default

    Here's a specific post about zimlets __deployement__ troubleshooting How to troubleshoot zimlet deployment ?

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 01-20-2010, 01:31 PM
  2. sms zimlet troubleshooting
    By switchnetworks in forum Zimlets
    Replies: 19
    Last Post: 09-09-2009, 04:37 AM
  3. [SOLVED] Troubleshooting 500 server errors
    By tgx in forum Developers
    Replies: 1
    Last Post: 02-19-2009, 03:31 PM
  4. Help troubleshooting Zimbra crashing
    By Eric in forum Administrators
    Replies: 2
    Last Post: 01-08-2008, 10:56 PM
  5. OSE on Debian - installation troubleshooting
    By William in forum Installation
    Replies: 4
    Last Post: 01-24-2007, 11:51 PM

Posting Permissions

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