Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Admin Not Navigating


Go to End


4 Posts   1761 Views

Avatar
Parker1090

Community Member, 46 Posts

22 May 2015 at 6:28am

I'm having a slight issue with the admin side of things. It works fine, but randomly stops navigating.

Looking at the error console in Chrome, I see the following:
"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/"

I'm using SS 3.1.12

Avatar
Pyromanik

Community Member, 419 Posts

22 May 2015 at 10:32pm

That's not an issue. Well at least, not the cause of this issue.
It's just a warning, not an error.

When this happens it's usually indicative of an javascript error before attempting to browse again.
Check on page load (press F5) that there are no more substantial errors.

You should find that the 'randomness' of the navigation failure isn't quite as random as you first think (such as it always occurs after you try to edit a specific page type, etc).

Avatar
Parker1090

Community Member, 46 Posts

23 May 2015 at 3:05am

Just tried bouncing between pages, and it's done it on the files tab - one I haven't modified. However, the log is a bit more detailed now:

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/.
lib.js:1630 Uncaught exception TypeError: Cannot read property 'length' of undefined in onmatch on <form id=​"Form_EditForm" action=​"admin/​assets/​EditForm" method=​"post" enctype=​"application/​x-www-form-urlencoded" class=​"cms-edit-form cms-panel-padded center AssetAdmin LeftAndMain" data-pjax-fragment=​"CurrentForm" autocomplete=​"off" style=​"left:​ 41px;​ top:​ 0px;​ width:​ 1132px;​ height:​ 571px;​ position:​ absolute;​">​…​</form>​<p id=​"Form_EditForm_error" class=​"message " style=​"display:​ none">​</p>​<fieldset>​…​</fieldset>​<div class=​"Actions">​…​</div>​</form>​
lib.js:1630 Stack Trace:
TypeError: Cannot read property 'length' of undefined
    at set_preview_google_search_result (eval at <anonymous> (http://xxxxxxxxx.com/assets/_combinedfiles/lib.js?m=1432302375:37:139), <anonymous>:37:34)
    at jQuerySub.$.entwine.onmatch (eval at <anonymous> (http://xxxxxxxxxx.com/assets/_combinedfiles/lib.js?m=1432302375:37:139), <anonymous>:16:6)
    at Array.proxy [as onmatchproxy] (http://xxxxxxxxxxxx.com/assets/_combinedfiles/lib.js?m=1432302375:1677:216)
    at HTMLDocument.<anonymous> (http://xxxxxxxxxxx.com/assets/_combinedfiles/lib.js?m=1432302375:1692:131)
    at HTMLDocument.jQuery.event.dispatch (http://xxxxxxxxxxxx.com/assets/_combinedfiles/lib.js?m=1432302375:207:482)
    at HTMLDocument.elemData.handle.eventHandle (http://xxxxxxxxxxxx.com/assets/_combinedfiles/lib.js?m=1432302375:174:199)
    at Object.jQuery.event.trigger (http://xxxxxxxxxxxxxxxxx.com/assets/_combinedfiles/lib.js?m=1432302375:198:209)
    at jQuery.fn.extend.triggerHandler (http://xxxxxx.com/assets/_combinedfiles/lib.js?m=1432302375:246:759)
    at Base.extend.triggerEvent (http://xxxxxxxxxxxx.com/assets/_combinedfiles/lib.js?m=1432302375:1657:261)
    at http://xxxxxxxxxxxxxxxxx.com/assets/_combinedfiles/lib.js?m=1432302375:1657:424
lib.js:1630 Uncaught exception TypeError: Cannot read property 'length' of undefined in onmatch on <form id=​"Form_EditForm" action=​"admin/​assets/​EditForm" method=​"post" enctype=​"application/​x-www-form-urlencoded" class=​"cms-edit-form cms-panel-padded center AssetAdmin LeftAndMain" data-pjax-fragment=​"CurrentForm" autocomplete=​"off" style=​"left:​ 41px;​ top:​ 0px;​ width:​ 1132px;​ height:​ 349px;​ position:​ absolute;​">​…​</form>​
lib.js:1630 Stack Trace:
TypeError: Cannot read property 'length' of undefined
    at set_preview_google_search_result (eval at <anonymous> (http://xxxxxxxxxxxx.com/assets/_combinedfiles/lib.js?m=1432302375:37:139), <anonymous>:37:34)
    at jQuerySub.$.entwine.onmatch (eval at <anonymous> (http://xxxxxxxxx.com/assets/_combinedfiles/lib.js?m=1432302375:37:139), <anonymous>:16:6)
    at Array.proxy [as onmatchproxy] (http://xxxxxxxxxxxx.com/assets/_combinedfiles/lib.js?m=1432302375:1677:216)
    at HTMLDocument.<anonymous> (http://xxxxxxxxxx.com/assets/_combinedfiles/lib.js?m=1432302375:1692:131)
    at HTMLDocument.jQuery.event.dispatch (http://xxxxxxxxxx.com/assets/_combinedfiles/lib.js?m=1432302375:207:482)
    at HTMLDocument.elemData.handle.eventHandle (http://xxxxxxxxxx.com/assets/_combinedfiles/lib.js?m=1432302375:174:199)
    at Object.jQuery.event.trigger (http://xxxxxxxxxxxxx.com/assets/_combinedfiles/lib.js?m=1432302375:198:209)
    at jQuery.fn.extend.triggerHandler (http://xxxxxxxxxx.com/assets/_combinedfiles/lib.js?m=1432302375:246:759)
    at Base.extend.triggerEvent (http://xxxxxxxxxx.com/assets/_combinedfiles/lib.js?m=1432302375:1657:261)
    at http://xxxxxxxxxxxxx.com/assets/_combinedfiles/lib.js?m=1432302375:1657:424

Not sure if this is just a coincidence, or if it's related?

Avatar
Pyromanik

Community Member, 419 Posts

23 May 2015 at 7:46am

Edited: 23/05/2015 7:46am

Sorry I don't know.
If it's a fresh install, try another fresh install (ie, install another copy again - I assume this is in a development environment) and see if you can replicate the issue.
If you can, you should log an issue at https://github.com/silverstripe/silverstripe-cms/issues