When I click update when updating the menu on a Page View a white screen with this output is shown.
[{"command":"settings","settings":{"basePath":"\/larsolesen_dk_build\/","ajaxPageState":{"theme":"seven","themeToken":"2_e7b7UHW2MHDqrJZaXsh7pv-E10pUFbZMn61kkBRM4","css":[]},"states":{"#edit-menu-title":{"visible":{":radio:menu[type]":{"value":["normal","tab","default tab"]}}},"#edit-menu-description":{"visible":{":radio:menu[type]":{"value":["normal","tab","default tab"]}}},"#edit-menu-name":{"visible":{":radio:menu[type]":{"value":["normal"]}}},"#edit-menu-weight":{"visible":{":radio:menu[type]":{"value":["normal","tab","default tab"]}}}}},"merge":true},{"command":"viewsSetForm","output":"\u003cform action=\"\/larsolesen_dk_build\/admin\/structure\/views\/ajax\/display\/article_teasers\/news_teaser_page\/menu\" method=\"post\" id=\"views-ui-edit-display-form\" accept-charset=\"UTF-8\"\u003e\u003cdiv\u003e\u003cdiv class=\"clearfix\"\u003e\u003cdiv class=\"views-left-30\"\u003e\u003cdiv class=\"form-item form-type-radios form-item-menu-type\"\u003e\n \u003clabel for=\"edit-menu-type\"\u003eType \u003c\/label\u003e\n \u003cdiv id=\"edit-menu-type\" class=\"form-radios\"\u003e\u003cdiv class=\"form-item form-type-radio form-item-menu-type\"\u003e\n \u003cinput type=\"radio\" id=\"edit-menu-type-none\" name=\"menu[type]\" value=\"none\" class=\"form-radio\" \/\u003e \u003clabel class=\"option\" for=\"edit-menu-type-none\"\u003eNo menu entry \u003c\/label\u003e\n\n\u003c\/div\u003e\n\u003cdiv class=\"form-item form-type-radio form-item-menu-type\"\u003e\n \u003cinput type=\"radio\" id=\"edit-menu-type-normal\" name=\"menu[type]\" value=\"normal\" checked=\"checked\" class=\"form-radio\" \/\u003e \u003clabel class=\"option\" for=\"edit-menu-type-normal\"\u003eNormal menu entry \u003c\/label\u003e\n\n\u003c\/div\u003e\n\u003cdiv class=\"form-item form-type-radio form-item-menu-type\"\u003e\n \u003cinput type=\"radio\" id=\"edit-menu-type-tab\" name=\"menu[type]\" value=\"tab\" class=\"form-radio\" \/\u003e \u003clabel class=\"option\" for=\"edit-menu-type-tab\"\u003eMenu tab \u003c\/label\u003e\n\n\u003c\/div\u003e\n\u003cdiv class=\"form-item form-type-radio form-item-menu-type\"\u003e\n \u003cinput type=\"radio\" id=\"edit-menu-type-default-tab\" name=\"menu[type]\" value=\"default tab\" class=\"form-radio\" \/\u003e \u003clabel class=\"option\" for=\"edit-menu-type-default-tab\"\u003eDefault menu tab \u003c\/label\u003e\n\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\u003cdiv class=\"views-left-50\"\u003e\u003cdiv class=\"form-item form-type-textfield form-item-menu-title\"\u003e\n \u003clabel for=\"edit-menu-title\"\u003eTitle \u003c\/label\u003e\n \u003cinput type=\"text\" id=\"edit-menu-title\" name=\"menu[title]\" value=\"Nyheder\" size=\"60\" maxlength=\"128\" class=\"form-text\" \/\u003e\n\u003cdiv class=\"description\"\u003eIf set to normal or tab, enter the text to use for the menu item.\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"form-item form-type-textfield form-item-menu-description\"\u003e\n \u003clabel for=\"edit-menu-description\"\u003eDescription \u003c\/label\u003e\n \u003cinput type=\"text\" id=\"edit-menu-description\" name=\"menu[description]\" value=\"\" size=\"60\" maxlength=\"128\" class=\"form-text\" \/\u003e\n\u003cdiv class=\"description\"\u003eIf set to normal or tab, enter the text to use for the menu item's description.\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"form-item form-type-select form-item-menu-name\"\u003e\n \u003clabel for=\"edit-menu-name\"\u003eMenu \u003c\/label\u003e\n \u003cselect id=\"edit-menu-name\" name=\"menu[name]\" class=\"form-select\"\u003e\u003coption value=\"main-menu\" selected=\"selected\"\u003eMain menu\u003c\/option\u003e\u003coption value=\"management\"\u003eManagement\u003c\/option\u003e\u003coption value=\"navigation\"\u003eNavigation\u003c\/option\u003e\u003coption value=\"user-menu\"\u003eUser menu\u003c\/option\u003e\u003c\/select\u003e\n\u003cdiv class=\"description\"\u003eInsert item into an available menu.\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"form-item form-type-textfield form-item-menu-weight\"\u003e\n \u003clabel for=\"edit-menu-weight\"\u003eWeight \u003c\/label\u003e\n \u003cinput type=\"text\" id=\"edit-menu-weight\" name=\"menu[weight]\" value=\"0\" size=\"60\" maxlength=\"128\" class=\"form-text\" \/\u003e\n\u003cdiv class=\"description\"\u003eThe lower the weight the higher\/further left it will appear.\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\u003c\/div\u003e\u003cdiv class=\"clearfix\"\u003e\u003cdiv class=\"form-buttons\"\u003e\u003cinput type=\"submit\" id=\"edit-submit\" name=\"op\" value=\"Update\" class=\"form-submit\" \/\u003e\u003cinput type=\"submit\" id=\"edit-cancel\" name=\"op\" value=\"Cancel\" class=\"form-submit\" \/\u003e\u003c\/div\u003e\u003c\/div\u003e\u003cinput type=\"hidden\" name=\"form_build_id\" value=\"form-3xC-PLnhOcLwRM_DidozK_UnMgFfw7th0TQzg-irOqU\" \/\u003e\n\u003cinput type=\"hidden\" name=\"form_token\" value=\"PX1HtX-ZTFuFqW-Wn24zAXuGGIaFn6x5Tu8hUACNYCg\" \/\u003e\n\u003cinput type=\"hidden\" name=\"form_id\" value=\"views_ui_edit_display_form\" \/\u003e\n\u003c\/div\u003e\u003c\/form\u003e","title":"Page: Menu item entry","url":"http:\/\/workspace\/larsolesen_dk_build\/admin\/structure\/views\/ajax\/display\/article_teasers\/news_teaser_page\/menu"},{"command":"viewsHilite","selector":".news-teaser-page-menu"},{"command":"viewsDisableButtons"},{"command":"settings","settings":[{"basePath":"\/larsolesen_dk_build\/"},{"ajaxPageState":{"theme":"seven","themeToken":"2_e7b7UHW2MHDqrJZaXsh7pv-E10pUFbZMn61kkBRM4"}},{"states":{"#edit-menu-title":{"visible":{":radio:menu[type]":{"value":["normal","tab","default tab"]}}}}},{"states":{"#edit-menu-description":{"visible":{":radio:menu[type]":{"value":["normal","tab","default tab"]}}}}},{"states":{"#edit-menu-name":{"visible":{":radio:menu[type]":{"value":["normal"]}}}}},{"states":{"#edit-menu-weight":{"visible":{":radio:menu[type]":{"value":["normal","tab","default tab"]}}}}}],"merge":false}]
Comments
Comment #1
dawehnerPlease first read the views submission guidelines: http://drupal.org/node/571990
Without your help it's impossible to help you :)
Comment #2
levelos CreditAttribution: levelos commentedI read through the guidelines link you posted, not sure off hand what you think this issue is missing. Anyways, for what it's worth, I can recreate and confirm the bug. To recreate:
* Add a page display to a view.
* Click menu under page settings.
* Select normal menu entry
* Click update.
You get a white screen with something similar to the code posted above, although after backing up and refreshing the view, the menu entry is actually saved.
Comment #3
dawehnerokay i read it out for you :)
Especially point 1.
Comment #4
levelos CreditAttribution: levelos commentedMuch more helpful, thanks ;)
* php error enabled, none reported when the problem occurs.
* jquery_ui / update not installed / enabled
* secure_pages not installed
Some additional insight: The resulting mime type after submitting the form is javascript. Maybe we're missing a js callback?
Comment #5
dawehnerOkay i will have a look at it.
Comment #6
dawehnerSeems to be a duplicate of #950694: Page Settings > Menu not rendered as ajax form
Comment #7
balagan CreditAttribution: balagan commentedI am having the same problem. I have disabled all views related moduls, updated views to 7.x-3.7, and the problem still occurs.
Now I have updated drupal core to 7.22, updated ctools to 1.3, still the same. No error messages.
All the spit out text is in between
<pre style="word-wrap: break-word; white-space: pre-wrap;"></pre>
tags.Comment #8
rj.seward CreditAttribution: rj.seward commentedI had the same problem (running Views 7.x-3.7), and I found that disabling jquery_update module (7.x-2.3) fixed it for me.
BTW, I do not think that this is a duplicate of http://drupal.org/node/950694 but has to do with some incompatibility between Views & jquery_update.
Comment #9
symphonia CreditAttribution: symphonia commentedDisable jquery_update module worked for me too!
Thanks!!
Comment #10
Rix-1 CreditAttribution: Rix-1 commentedI can confirm that changing the jquery_update module from version 1.8 to an 1.7 (in the configuration menu under jquery) worked for me, first time.
Comment #11
wismbuh CreditAttribution: wismbuh commentedUnCheck "Auto Preview", worked form me!
Comment #12
sujomuc CreditAttribution: sujomuc commentedDisable jquery_update module worked for me too!
Thanks!!