Yep… it’s the first part of the “Response Text”…… and…. I’ve made a similar mistake before.

 

Dave

 


From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of tony maciejowski
Sent: Monday, October 10, 2011 2:22 PM
To: support@drupal.org
Subject: Re: [support] Ajax error on view

 

YES.

Accidentally put these in the front of a module
<p>&nbsp;</p>
<p>&nbsp;</p>
(Perils of using DW.)
. before the <?php statement. How did you fathom that? From the error msg?

On Mon, Oct 10, 2011 at 1:57 PM, Metzler, David <metzlerd@evergreen.edu> wrote:

I’m guessing that you have a module that has got some kind of a print statement in it that’s causing this.  It looks like there’s an &nbsp; at the beginning of each page load.   Have you enabled or upgraded any new modules lately?   Try disabling them.

 

The &nbsp;  is causing the Ajax calls to be unable to parse the response.

 

It is probably the result of your admin_menu problem as well.

 


From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of tony maciejowski
Sent: Monday, October 10, 2011 1:21 PM
To: support@drupal.org
Subject: [support] Ajax error on view

 

Dear All,
When trying to modify some settings on a view I get the following. I am not explicitly using any ajax code:
"An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /drupal/admin/structure/views/ajax/display/waldo/page/style_plugin
StatusText: parsererror
ResponseText: &nbsp;

&nbsp;

[{"command":"settings","settings":{"basePath":"\/drupal\/","pathPrefix":"","ajaxPageState":{"theme":"seven","theme_token":"Qn1NNC-aZIv7e4Y0lwxL03LE9QB3owHMQoaEkgFtVTI","css":[]},"admin_menu":{"destination":"destination=admin\/structure\/views\/ajax\/display\/waldo\/page\/style_plugin","hash":"60d9cf9f973f691878675f685139165b","basePath":"\/drupal\/admin_menu","replacements":{".admin-menu-users a":"0 \/ 2"},"margin_top":1,"toolbar":{"activeTrail":"\/drupal\/admin\/structure"}}},"merge":true},{"command":"viewsSetForm","output":"\u003cform action=\"\/drupal\/admin\/structure\/views\/ajax\/display\/waldo\/page\/style_plugin\" method=\"post\" id=\"views-ui-edit-display-form\" accept-charset=\"UTF-8\"\u003e\u003cdiv\u003e\u003cdiv class=\"views-override clearfix container-inline\"\u003e\u003cdiv class=\"form-item form-type-select form-item-override-dropdown\"\u003e\n  \u003clabel for=\"edit-override-dropdown\"\u003eFor \u003c\/label\u003e\n \u003cselect id=\"edit-override-dropdown\" name=\"override[dropdown]\" class=\"form-select\"\u003e\u003coption value=\"default\"\u003eAll displays\u003c\/option\u003e\u003coption value=\"page\" selected=\"selected\"\u003eThis page (override)\u003c\/option\u003e\u003c\/select\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\u003cdiv class=\"scroll form-wrapper\" id=\"edit-options\"\u003e\u003cdiv class=\"form-item form-type-radios form-item-style-plugin\"\u003e\n \u003cdiv id=\"edit-style-plugin\" class=\"form-radios\"\u003e\u003cdiv class=\"form-item form-type-radio form-item-style-plugin\"\u003e\n \u003cinput type=\"radio\" id=\"edit-style-plugin-grid\" name=\"style_plugin\" value=\"grid\" checked=\"checked\" class=\"form-radio\" \/\u003e  \u003clabel class=\"option\" for=\"edit-style-plugin-grid\"\u003eGrid \u003c\/label\u003e\n\n\u003c\/div\u003e\n\u003cdiv class........

???

--

tony maciejowski | analyst/programmer  | websites | www.tony-mac.com

Twitter: anntosh | Cell: 323.899.6206 | Linked-In: Anthony Maciejowski 

 

 


--
[ Drupal support list | http://lists.drupal.org/ ]




--

tony maciejowski | analyst/programmer  | websites | www.tony-mac.com

Twitter: anntosh | Cell: 323.899.6206 | Linked-In: Anthony Maciejowski