Javascript error after upgrade 2.0.1
Results 1 to 10 of 10

Thread: Javascript error after upgrade 2.0.1

  1. #1
    Active Member
    Join Date
    Mar 2013
    Posts
    17

    Javascript error after upgrade 2.0.1

    Hello,

    after upgrading our installation to 2.0.1 we have problems accessing the admin console. The following message occurs:

    Code:
    JavaScript-Fehler in method ZaController.prototype._setView
    The error occurs in different browsers.

    Any hint is appreciated.

    Thanks!

    Danny

  2. #2
    ZeXtras Community Manager ZeXtras Employee Cine's Avatar
    Join Date
    Apr 2011
    Posts
    2,352
    Hello Danny!

    Did you try clearing both the server's and browser's cache after the update?

    Have a nice day,
    Cine
    the ZeXtras Team
    IT Support Team Contact Form
    Sales Team Contact Form

    ZeXtras Website
    # ZeXtras Wiki # ZeXtras Store

    Have ZeXtras Suite or ZeXtras Migration Tool been helpful to you?
    Share your experience in the Zimbra Gallery!

    ZeXtras Suite on the Zimbra Gallery
    ZeXtras Migration Tool on the Zimbra Gallery

  3. #3
    Active Member
    Join Date
    Mar 2013
    Posts
    17
    I cleared both caches (browser and server). The server cache was cleared with

    zmprove fc zimlet
    Internet Explorer is a bit more communicative:
    description: Die Eigenschaft "reseller" eines undefinierten oder Nullverweises kann nicht abgerufen werden. number: -2146823281 stack: TypeError: Die Eigenschaft "reseller" eines undefinierten oder Nullverweises kann nicht abgerufen werden. at ZxLicense.prototype.isReseller (https://HOSTNAME:7071/service/zimlet...uage=de:8001:1) at ZxLicense.prototype.getWarningText (https://HOSTNAME:7071/service/zimlet...uage=de:8205:1) at Anonymous function (https://HOSTNAME:7071/service/zimlet...uage=de:9144:1) at Anonymous function (https://HOSTNAME:7071/zimbraAdmin/:1245:1) at Output_XFormItem.prototype.outputHTML (https://HOSTNAME:7071/zimbraAdmin/js...5154717:3545:1) at XForm.prototype.outputItemList (https://HOSTNAME:7071/zimbraAdmin/js...5154717:1868:1) at Group_XFormItem.prototype.outputHTML (https://HOSTNAME:7071/zimbraAdmin/js...5154717:4090:1) at XForm.prototype.outputItemList (https://HOSTNAME:7071/zimbraAdmin/js...5154717:1868:1) at XForm.prototype.outputForm (https://HOSTNAME:7071/zimbraAdmin/js...5154717:1761:1) at XForm.prototype.draw (https://HOSTNAME:7071/zimbraAdmin/js...5154717:1738:1)
    Any more hints?



    Danny

  4. #4
    ZeXtras Community Manager ZeXtras Employee Cine's Avatar
    Join Date
    Apr 2011
    Posts
    2,352
    Hello Danny!

    Could you please try with Chrome/Firefox accessing the console in Dev Mode (by adding "?dev=1" at the end of the url, e.g. https://mail.yourdomain.com:7071/?dev=1) and reporting the full error you can find in the browser's Dev Tools/Javascript Console?

    Have a nice day,
    Cine
    the ZeXtras Team
    IT Support Team Contact Form
    Sales Team Contact Form

    ZeXtras Website
    # ZeXtras Wiki # ZeXtras Store

    Have ZeXtras Suite or ZeXtras Migration Tool been helpful to you?
    Share your experience in the Zimbra Gallery!

    ZeXtras Suite on the Zimbra Gallery
    ZeXtras Migration Tool on the Zimbra Gallery

  5. #5
    Active Member
    Join Date
    Mar 2013
    Posts
    17
    Thanks for Your fast response. After adding ?dev=1 the loading of the admin console hangs on welcome screen. Output of Firefox console:
    Diese Website verwendet ein SHA-1-Zertifikat; es wird empfohlen, Zertifikate mit Signaturalgorithmen zu verwenden, die stärkere Hashfunktionen verwenden als SHA-1.[Weitere Informationen] zimbraAdmin
    Synchrone XMLHttpRequests am Haupt-Thread sollte nicht mehr verwendet werden, weil es nachteilige Effekte für das Erlebnis der Endbenutzer hat. Für weitere Hilfe siehe http://xhr.spec.whatwg.org/ AjxRpcRequest.js:128:0
    "updating element with value: over VALUE" DynSelect_XFormItem.js:455:12
    uncaught exception: ZmCsfeException <unbekannt>
    Danny

  6. #6
    ZeXtras Community Manager ZeXtras Employee Cine's Avatar
    Join Date
    Apr 2011
    Posts
    2,352
    Hello Danny!

    The warning you see is not related to the Admin Console, it's just Firefox notifying that it does not support SHA-1 certs anymore... Could you please try again with a recent version of Chrome or with IE10+?

    Have a nice day,
    Cine
    the ZeXtras Team
    IT Support Team Contact Form
    Sales Team Contact Form

    ZeXtras Website
    # ZeXtras Wiki # ZeXtras Store

    Have ZeXtras Suite or ZeXtras Migration Tool been helpful to you?
    Share your experience in the Zimbra Gallery!

    ZeXtras Suite on the Zimbra Gallery
    ZeXtras Migration Tool on the Zimbra Gallery

  7. #7
    Active Member
    Join Date
    Mar 2013
    Posts
    17
    Hello zextras,

    Chrome reports (hostname replaced by me):
    AjxRpcRequest.js?v=141215154717:128 Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.
    AjxInclude.js?v=141215154717:100 GET https://HOSTNAME:7071/service/zimlet...v=141215154717 loadNextScript @ AjxInclude.js?v=141215154717:100(anonymous function) @ AjxCallback.js?v=141215154717:170
    AjxInclude.js?v=141215154717:100 GET https://HOSTNAME:7071/service/zimlet...v=141215154717 503 (Service Unavailable)loadNextScript @ AjxInclude.js?v=141215154717:100(anonymous function) @ AjxCallback.js?v=141215154717:170
    AjxInclude.js?v=141215154717:100 GET https://HOSTNAME:7071/service/zimlet...v=141215154717 loadNextScript @ AjxInclude.js?v=141215154717:100(anonymous function) @ AjxCallback.js?v=141215154717:170
    AjxInclude.js?v=141215154717:100 GET https://HOSTNAME:7071/service/zimlet...v=141215154717 loadNextScript @ AjxInclude.js?v=141215154717:100(anonymous function) @ AjxCallback.js?v=141215154717:170

    .........

    AjxInclude.js?v=141215154717:100 GET https://HOSTNAME:7071/service/zimlet...v=141215154717 loadNextScript @ AjxInclude.js?v=141215154717:100(anonymous function) @ AjxCallback.js?v=141215154717:170
    AjxInclude.js?v=141215154717:100 GET https://HOSTNAME:7071/service/zimlet...v=141215154717 loadNextScript @ AjxInclude.js?v=141215154717:100(anonymous function) @ AjxCallback.js?v=141215154717:170
    AjxInclude.js?v=141215154717:100 GET https://HOSTNAME:7071/service/zimlet...v=141215154717 loadNextScript @ AjxInclude.js?v=141215154717:100(anonymous function) @ AjxCallback.js?v=141215154717:170
    AjxInclude.js?v=141215154717:100 GET https://HOSTNAME:7071/service/zimlet...v=141215154717 503 (Service Unavailable)loadNextScript @ AjxInclude.js?v=141215154717:100(anonymous function) @ AjxCallback.js?v=141215154717:170
    AjxRpcRequest.js?v=141215154717:155 POST https://HOSTNAME:7071/service/admin/...eRightsRequest 503 (Service Unavailable)AjxRpcRequest.invoke @ AjxRpcRequest.js?v=141215154717:155AjxRpc.invoke @ AjxRpc.js?v=141215154717:96ZmCsfeCommand.invoke @ ZmCsfeCommand.js?v=141215154717:300ZaRequestMgr.in voke @ ZaRequestMgr.js?v=141215154717:54ZaItem._getEffect iveRights @ ZaItem.js?v=141215154717:437ZaItem.loadEffectiveRi ghts @ ZaItem.js?v=141215154717:379ZaItem.load @ ZaItem.js?v=141215154717:492ZaSettings.initRights @ ZaSettings.js?v=141215154717:71ZaSettings.postInit @ ZaSettings.js?v=141215154717:49AjxCallback.run @ AjxCallback.js?v=141215154717:93loadNextScript @ AjxInclude.js?v=141215154717:106(anonymous function) @ AjxCallback.js?v=141215154717:170
    AjxRpcRequest.js?v=141215154717:155 POST https://HOSTNAME:7071/service/admin/...eRightsRequest 503 (Service Unavailable)AjxRpcRequest.invoke @ AjxRpcRequest.js?v=141215154717:155AjxRpc.invoke @ AjxRpc.js?v=141215154717:96ZmCsfeCommand.invoke @ ZmCsfeCommand.js?v=141215154717:300ZaRequestMgr.in voke @ ZaRequestMgr.js?v=141215154717:54ZaSettings.initRi ghts @ ZaSettings.js?v=141215154717:104ZaSettings.postIni t @ ZaSettings.js?v=141215154717:49AjxCallback.run @ AjxCallback.js?v=141215154717:93loadNextScript @ AjxInclude.js?v=141215154717:106(anonymous function) @ AjxCallback.js?v=141215154717:170
    AjxRpcRequest.js?v=141215154717:155 POST https://HOSTNAME:7071/service/admin/...eUICompRequest 503 (Service Unavailable)AjxRpcRequest.invoke @ AjxRpcRequest.js?v=141215154717:155AjxRpc.invoke @ AjxRpc.js?v=141215154717:96ZmCsfeCommand.invoke @ ZmCsfeCommand.js?v=141215154717:300ZaRequestMgr.in voke @ ZaRequestMgr.js?v=141215154717:54ZaSettings.getUIC omponents @ ZaSettings.js?v=141215154717:232ZaSettings.initRig hts @ ZaSettings.js?v=141215154717:110ZaSettings.postIni t @ ZaSettings.js?v=141215154717:49AjxCallback.run @ AjxCallback.js?v=141215154717:93loadNextScript @ AjxInclude.js?v=141215154717:106(anonymous function) @ AjxCallback.js?v=141215154717:170
    DynSelect_XFormItem.js?v=141215154717:455 updating element with value: over VALUE
    AjxRpcRequest.js?v=141215154717:155 POST https://HOSTNAME:7071/service/admin/...ServersRequest 503 (Service Unavailable)AjxRpcRequest.invoke @ AjxRpcRequest.js?v=141215154717:155AjxRpc.invoke @ AjxRpc.js?v=141215154717:96ZmCsfeCommand.invoke @ ZmCsfeCommand.js?v=141215154717:300ZaRequestMgr.in voke @ ZaRequestMgr.js?v=141215154717:54ZaMTA.getAll @ ZaMTA.js?v=141215154717:180ZaApp.getPostQList @ ZaApp.js?v=141215154717:619ZaOverviewPanelControll er._buildNewFolderTree @ ZaOverviewPanelController.js?v=141215154717:288ZaO verviewPanelController._setView @ ZaOverviewPanelController.js?v=141215154717:276ZaO verviewPanelController @ ZaOverviewPanelController.js?v=141215154717:32ZaZi mbraAdmin.getOverviewPanelController @ ZaZimbraAdmin.js?v=141215154717:306ZaZimbraAdmin._ lauchNewApp @ ZaZimbraAdmin.js?v=141215154717:1249ZaSettings.pos tInit @ ZaSettings.js?v=141215154717:57AjxCallback.run @ AjxCallback.js?v=141215154717:93loadNextScript @ AjxInclude.js?v=141215154717:106(anonymous function) @ AjxCallback.js?v=141215154717:170
    ZaRequestMgr.js?v=141215154717:74 Uncaught ZmCsfeExceptionZaRequestMgr.invoke @ ZaRequestMgr.js?v=141215154717:74ZaMTA.getAll @ ZaMTA.js?v=141215154717:180ZaApp.getPostQList @ ZaApp.js?v=141215154717:619ZaOverviewPanelControll er._buildNewFolderTree @ ZaOverviewPanelController.js?v=141215154717:288ZaO verviewPanelController._setView @ ZaOverviewPanelController.js?v=141215154717:276ZaO verviewPanelController @ ZaOverviewPanelController.js?v=141215154717:32ZaZi mbraAdmin.getOverviewPanelController @ ZaZimbraAdmin.js?v=141215154717:306ZaZimbraAdmin._ lauchNewApp @ ZaZimbraAdmin.js?v=141215154717:1249ZaSettings.pos tInit @ ZaSettings.js?v=141215154717:57AjxCallback.run @ AjxCallback.js?v=141215154717:93loadNextScript @ AjxInclude.js?v=141215154717:106(anonymous function) @ AjxCallback.js?v=141215154717:170
    I had to shorten the output.

    Perhaps a licence problem?

    Danny

  8. #8
    ZeXtras Community Manager ZeXtras Employee Cine's Avatar
    Join Date
    Apr 2011
    Posts
    2,352
    Hello Danny!

    The amount of "503 (Service Unavailable)" error makes me think about either a proxying error or the DoS Filter kicking in, can you find any lines containing the
    Code:
    DoSFilter:DOS ALERT
    string in the zmmailboxd.out file when accessing the Admin Console?

    Have a nice day,
    Cine
    the ZeXtras Team
    IT Support Team Contact Form
    Sales Team Contact Form

    ZeXtras Website
    # ZeXtras Wiki # ZeXtras Store

    Have ZeXtras Suite or ZeXtras Migration Tool been helpful to you?
    Share your experience in the Zimbra Gallery!

    ZeXtras Suite on the Zimbra Gallery
    ZeXtras Migration Tool on the Zimbra Gallery

  9. #9
    Active Member
    Join Date
    Mar 2013
    Posts
    17
    Hello zextras,

    you are right. It was the DoS filter.

    Everything is fine now.

    Thanks a lot and have a nice day!

    Danny!

  10. #10
    ZeXtras Community Manager ZeXtras Employee Cine's Avatar
    Join Date
    Apr 2011
    Posts
    2,352
    Hello Danny,

    glad this was sorted out!

    Have a nice day,
    Cine
    the ZeXtras Team
    IT Support Team Contact Form
    Sales Team Contact Form

    ZeXtras Website
    # ZeXtras Wiki # ZeXtras Store

    Have ZeXtras Suite or ZeXtras Migration Tool been helpful to you?
    Share your experience in the Zimbra Gallery!

    ZeXtras Suite on the Zimbra Gallery
    ZeXtras Migration Tool on the Zimbra Gallery

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
  •