Conditions:

I am defining a variant for the taxonomy/term/% coded panel.
Selection rules = content exists.
Contexts = none
Relationships: none defined other than the one in this issue.

I have a vocabulary to which I have added a term reference field to another vocabulary called "Display Call Type". When I attempt to add a relationship to the term, the pop-up window defining the settings for the relationship works, but when I select "Finish" an ajax error occurs.

Error message:

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /ctools/context/ajax/add/page_manager_context%3A%3Aterm_view/relationship/term_view_panel_context_2/entity_from_field%3Afield_display_call_type-taxonomy_term-taxonomy_term/form
StatusText: OK
ResponseText: Notice: Undefined index:  #parents in form_builder() (line 1754 of C:\Documents and Settings\Compaq_Administrator\My Documents\Construct_Resources\includes\form.inc). =>
*/

/* -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- */

ul.krumo-node {

margin: 0px;

padding: 0px;

}

ul.krumo-node ul {

margin-left: 20px;

}

* html ul.krumo-node ul {

margin-left: 24px;

}

div.krumo-root {

border: solid 1px black;

margin: 1em 0em;

}

ul.krumo-first {

font: normal 12px arial;

border: solid 2px white;

border-top-width:1px;

background: url(http://CR-Hub:8082/sites/all/modules/devel/krumo/skins/default/bg.gif);

}

/* -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- */

li.krumo-child {

display:block;

list-style: none;

padding: 0px;

margin: 0px;

overflow:hidden;

}

div.krumo-element {

cursor:default;

line-height: 24px;

display:block;

clear:both;

white-space:nowrap;

border-top: solid 1px white;

background: #E8E8E8;

padding-left: 10px;

}

* html div.krumo-element {

padding-bottom: 3px;

}

a.krumo-name {

color:#2C5858;

font: bold 13px Arial;

}

a.krumo-name big {

font: bold 20pt Georgia;

line-height: 14px;

position:relative;

top:2px;

left:-2px;

}

* html a.krumo-name big {

font: bold 19pt Georgia;

top: 5px;

left: 0px;

line-height: 9px;

height: 12px;

padding: 0px;

margin: 0px;

}

div.krumo-expand {

background: #CCCCCC;

cursor:pointer;

}

div.krumo-hover {

background: #B7DBDB;

}

/* -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- */

div.krumo-preview {

font: normal 13px courier new;

padding: 5px 5px 14px 5px;

background: white;

border-top: 0px;

overflow:auto;

}

* html div.krumo-preview {

padding-top: 2px;

}

/* -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- */

li.krumo-footnote {

background:white;

padding: 2px 5px;

list-style:none;

border-top: solid 1px #bebebe;

margin-top:2px;

cursor:default;

}

* html li.krumo-footnote {

line-height: 13px;

}

div.krumo-version {

float:right;

}

li.krumo-footnote h6 {

font: bold 11px verdana;

margin: 0px;

padding: 0px;

color:#366D6D;

display:inline;

}

* html li.krumo-footnote h6 {

margin-right: 3px;

}

li.krumo-footnote a {

font: bold 10px arial;

color: #434343;

text-decoration:none;

}

li.krumo-footnote a:hover {

color:black;

}

li.krumo-footnote span.krumo-call {

font:normal 11px verdana;

position: relative;

top: 1px;

}

li.krumo-footnote span.krumo-call code {

font-weight:bold;

}

/* -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- */

div.krumo-title {

font: normal 11px verdana ;

position:relative;

top:9px;

cursor:default;

line-height:2px;

}

/* -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- */

strong.krumo-array-length,

strong.krumo-string-length {

font-weight: normal;

}

/* -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- */

/**/-->
-1) {

el.className = el.className.replace(className, '');

}

}

// -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 

/**

* Toggle the nodes connected to an HTML element

*

* @param HtmlElement el 

* @return void

*/

krumo.toggle = function(el) {

var ul = el.parentNode.getElementsByTagName('ul');

for (var i=0; i
...
(Array, 4 elements)
3: form_builder
(Array, 4 elements)
file
(String,
131 characters )
C:\Documents and Settings\Compaq_Administrator\...
C:\Documents and Settings\Compaq_Administrator\My Documents\Construct_Resources\sites\all\modules\ctools\includes\context-admin.inc
line
(Integer)
436
function
(String,
12 characters )
form_builder
|
(Callback)
form_builder();
args
(Array, 3 elements)
0
(String,
19 characters )
ctools_context_form
1
(Array, 8 elements)
#post
(Array, 0 elements)
#programmed
(Boolean)
FALSE
#tree
(Boolean)
FALSE
relationship
(Array, 2 elements)
#tree
(Boolean)
TRUE
3
(Array, 4 elements)
#tree
(Boolean)
TRUE
title
(Array, 1 element)
#markup
(String,
72 characters )
Taxonomy term from Taxonomy term (on Taxonomy t...
Taxonomy term from Taxonomy term (on Taxonomy term: Display Call Type) 3
remove
(Array, 1 element)
#markup
(String,
270 characters )
<a href="/ctools/context/ajax/delete/page_manag...
<a href="/ctools/context/ajax/delete/page_manager_context%3A%3Aterm_view/relationship/term_view_panel_context_2/3" class="use-ajax " title="Remove this item."><img typeof="foaf:Image" src="http://CR-Hub:8082/sites/all/modules/ctools/images/icon-delete.png" alt="" /></a>
settings
(Array, 1 element)
#markup
(String,
300 characters )
<a href="/ctools/context/ajax/configure/page_ma...
<a href="/ctools/context/ajax/configure/page_manager_context%3A%3Aterm_view/relationship/term_view_panel_context_2/3" class="ctools-use-modal " title="Configure settings for this item."><img typeof="foaf:Image" src="http://CR-Hub:8082/sites/all/modules/ctools/images/icon-configure.png" alt="" /></a>
#processed
(Boolean)
FALSE
#required
(Boolean)
FALSE
#attributes
(Array, 0 elements)
#title_display
(String,
6 characters )
before
2
(Array, 1 element)
values
(Array, 0 elements)
2: ctools_context_ajax_item_add
(Array, 2 elements)
function
(String,
28 characters )
ctools_context_ajax_item_add
|
(Callback)
ctools_context_ajax_item_add();
args
(Array, 5 elements)
0
(String,
31 characters )
page_manager_context::term_view
1
(String,
12 characters )
relationship
2
(String,
25 characters )
term_view_panel_context_2
3
(String,
69 characters )
entity_from_field:field_display_call_type-taxon...
entity_from_field:field_display_call_type-taxonomy_term-taxonomy_term
4
(String,
4 characters )
form
1: call_user_func_array
(Array, 4 elements)
file
(String,
97 characters )
C:\Documents and Settings\Compaq_Administrator\...
C:\Documents and Settings\Compaq_Administrator\My Documents\Construct_Resources\includes\menu.inc
line
(Integer)
503
function
(String,
20 characters )
call_user_func_array
|
(Callback)
call_user_func_array();
args
(Array, 2 elements)
0
(String,
28 characters )
ctools_context_ajax_item_add
|
(Callback)
ctools_context_ajax_item_add();
1
(Array, 5 elements)
0
(String,
31 characters )
page_manager_context::term_view
1
(String,
12 characters )
relationship
2
(String,
25 characters )
term_view_panel_context_2
3
(String,
69 characters )
entity_from_field:field_display_call_type-taxon...
entity_from_field:field_display_call_type-taxonomy_term-taxonomy_term
4
(String,
4 characters )
form
0: menu_execute_active_handler
(Array, 4 elements)
file
(String,
89 characters )
C:\Documents and Settings\Compaq_Administrator\...
C:\Documents and Settings\Compaq_Administrator\My Documents\Construct_Resources\index.php
line
(Integer)
21
function
(String,
27 characters )
menu_execute_active_handler
|
(Callback)
menu_execute_active_handler();
args
(Array, 0 elements)
Krumo version 0.2.1a | http://krumo.sourceforge.net
Called from C:\Documents and Settings\Compaq_Administrator\My Documents\Construct_Resources\includes\form.inc,
line 1754
 
Warning: implode() [<a href='function.implode'>function.implode</a>]: Invalid arguments passed in implode() (line 1754 of C:\Documents and Settings\Compaq_Administrator\My Documents\Construct_Resources\includes\form.inc). =>
...
(Array, 5 elements)
4: implode
(Array, 4 elements)
file
(String,
97 characters )
C:\Documents and Settings\Compaq_Administrator\...
C:\Documents and Settings\Compaq_Administrator\My Documents\Construct_Resources\includes\form.inc
line
(Integer)
1754
function
(String,
7 characters )
implode
|
(Callback)
implode();
args
(Array, 2 elements)
0
(String,
1 characters )
-
1
(NULL)
3: form_builder
(Array, 4 elements)
file
(String,
131 characters )
C:\Documents and Settings\Compaq_Administrator\...
C:\Documents and Settings\Compaq_Administrator\My Documents\Construct_Resources\sites\all\modules\ctools\includes\context-admin.inc
line
(Integer)
436
function
(String,
12 characters )
form_builder
|
(Callback)
form_builder();
args
(Array, 3 elements)
0
(String,
19 characters )
ctools_context_form
1
(Array, 8 elements)
#post
(Array, 0 elements)
#programmed
(Boolean)
FALSE
#tree
(Boolean)
FALSE
relationship
(Array, 2 elements)
#tree
(Boolean)
TRUE
3
(Array, 4 elements)
#tree
(Boolean)
TRUE
title
(Array, 1 element)
#markup
(String,
72 characters )
Taxonomy term from Taxonomy term (on Taxonomy t...
Taxonomy term from Taxonomy term (on Taxonomy term: Display Call Type) 3
remove
(Array, 1 element)
#markup
(String,
270 characters )
<a href="/ctools/context/ajax/delete/page_manag...
<a href="/ctools/context/ajax/delete/page_manager_context%3A%3Aterm_view/relationship/term_view_panel_context_2/3" class="use-ajax " title="Remove this item."><img typeof="foaf:Image" src="http://CR-Hub:8082/sites/all/modules/ctools/images/icon-delete.png" alt="" /></a>
settings
(Array, 1 element)
#markup
(String,
300 characters )
<a href="/ctools/context/ajax/configure/page_ma...
<a href="/ctools/context/ajax/configure/page_manager_context%3A%3Aterm_view/relationship/term_view_panel_context_2/3" class="ctools-use-modal " title="Configure settings for this item."><img typeof="foaf:Image" src="http://CR-Hub:8082/sites/all/modules/ctools/images/icon-configure.png" alt="" /></a>
#processed
(Boolean)
FALSE
#required
(Boolean)
FALSE
#attributes
(Array, 0 elements)
#title_display
(String,
6 characters )
before
2
(Array, 

Comments

Ashlar’s picture

I have another error coming up when attempting to add a context to a panel variant as follows:

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: http://CR-Hub:8082/ctools/context/ajax/add/page_manager_context%3A%3Anode_view/context/node_view_panel_context_2/entity:comment
StatusText: OK
ResponseText: Notice: Undefined index:  entity_id in ctools_context_entity_settings_form() (line 139 of C:\Documents and Settings\Compaq_Administrator\My Documents\Construct_Resources\sites\all\modules\ctools\plugins\contexts\entity.inc). =>

The rest is similar to the output above (looks like a render array).

egarias’s picture

I have also

An AJAX HTTP error occurred.
HTTP Result Code: 200

When trying to edit panel node template, and adding a selection criteria "node type"

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: http://empresas.peoplenews.me/ctools/context/ajax/access/add/page_manage...
StatusText: parsererror
ResponseText: [{"command":"settings","settings":{"basePath":"\/","pathPrefix":"","ajaxPageState":{"theme":"seven","theme_token":"fxp4uDMoUv1C4UVqpv3yQG3cYd-zdZMYR53gVsY5hMk","css":{"misc\/ui\/jquery.ui.core.css":1,"misc\/ui\/jquery.ui.theme.css":1,"modules\/overlay\/overlay-parent.css":1},"js":{"sites\/all\/modules\/jquery_update\/replace\/ui\/ui\/minified\/jquery.ui.core.min.js":1,"misc\/jquery.ba-bbq.js":1,"modules\/overlay\/overlay-parent.js":1}},"lazyloadad":".orca_ad","overlay":{"paths":{"admin":"node\/*\/edit\nnode\/*\/delete\nnode\/*\/revisions\nnode\/*\/revisions\/*\/revert\nnode\/*\/revisions\/*\/delete\nnode\/add\nnode\/add\/*\noverlay\/dismiss-message\nuser\/*\/shortcuts\nadmin\nadmin\/*\nbatch\ntaxonomy\/term\/*\/edit\nuser\/*\/cancel\nuser\/*\/edit\nuser\/*\/edit\/*\ndevel\/*\nnode\/*\/devel\nnode\/*\/devel\/*\ncomment\/*\/devel\ncomment\/*\/devel\/*\nuser\/*\/devel\nuser\/*\/devel\/*\ntaxonomy\/term\/*\/devel\ntaxonomy\/term\/*\/devel\/*","non_admin":"admin\/structure\/block\/demo\/*\nadmin\/reports\/status\/php"},"ajaxCallback":"overlay-ajax"}},"merge":true},{"command":"insert","method":"prepend","selector":"head","data":"\u003cstyle type=\"text\/css\" media=\"all\"\u003e@import url(\"http:\/\/empresas.peoplenews.me\/sites\/all\/modules\/jquery_update\/replace\/ui\/themes\/base\/minified\/jquery.ui.core.min.css?lybjn5\");\n@import url(\"http:\/\/empresas.peoplenews.me\/themes\/seven\/jquery.ui.theme.css?lybjn5\");\n@import url(\"http:\/\/empresas.peoplenews.me\/modules\/overlay\/overlay-parent.css?lybjn5\");\u003c\/style\u003e\n","settings":null},{"command":"insert","method":"prepend","selector":"head","data":"\u003cscript type=\"text\/javascript\" src=\"http:\/\/empresas.peoplenews.me\/sites\/all\/modules\/jquery_update\/replace\/ui\/ui\/minified\/jquery.ui.core.min.js?v=1.8.11\"\u003e\u003c\/script\u003e\n\u003cscript type=\"text\/javascript\" src=\"http:\/\/empresas.peoplenews.me\/misc\/jquery.ba-bbq.js?v=1.2.1\"\u003e\u003c\/script\u003e\n\u003cscript type=\"text\/javascript\" src=\"http:\/\/empresas.peoplenews.me\/modules\/overlay\/overlay-parent.js?v=1.0\"\u003e\u003c\/script\u003e\n","settings":null},{"command":"modal_display","title":"Add criteria","output":"\u003cform action=\"\/ctools\/context\/ajax\/access\/add\/page_manager_task_handler-node_view%2A\/node_type\" method=\"post\" id=\"ctools-access-ajax-edit-item\" accept-charset=\"UTF-8\"\u003e\u003cdiv\u003e\u003cdiv class=\"form-item form-type-select form-item-context\"\u003e\n \u003clabel for=\"edit-context\"\u003eNode \u003c\/label\u003e\n \u003cselect id=\"edit-context\" name=\"context\" class=\"form-select\"\u003e\u003coption value=\"argument_entity_id:node_1\"\u003eNode being viewed\u003c\/option\u003e\u003c\/select\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"form-item form-type-checkboxes form-item-settings-type\"\u003e\n \u003clabel for=\"edit-settings-type\"\u003eNode type \u003c\/label\u003e\n \u003cdiv id=\"edit-settings-type\" class=\"form-checkboxes\"\u003e\u003cdiv class=\"form-item form-type-checkbox form-item-settings-type-panel\"\u003e\n \u003cinput type=\"checkbox\" id=\"edit-settings-type-panel\" name=...

egarias’s picture

In my case after deactivating memcache module It works.
Now, i don't know whether to keep the issue, open it on memcache,...

rwilson0429’s picture

dave reid’s picture

Status: Active » Closed (duplicate)