I am intermittently getting the following error when adding fields or more typically selecting preview when working in the Views UI An error occurred [domain-name]/admin/build/views/ajax/add-item/user_permissions/default/field

Is there a known issue or module incompatibility that could be causing this? Or should I post this issue elsewhere?

Thanks

Comments

dawehner’s picture

this could be could by several stuff, for example a php error in the code etc.

can you export the view etc. thx!

its incredible hard to help here with such a general post

bsnodgrass’s picture

I understand.... Tried to duplicate and could not, since then I have updated dev version of views quite a few times. I think that has taken care of the problem.

Thanks

bsnodgrass’s picture

Status: Active » Closed (fixed)
kappaluppa’s picture

Priority: Normal » Critical
Status: Closed (fixed) » Active

Same problem here. Just upgraded to 6.x-2.5
This just happens with views when I try to update default configurations on anything that requires "Update" to be clicked.
The change is made, but the error stops everything.
But because of the error, I cannot make settings changes.

specialagent’s picture

Version: 6.x-2.x-dev » 6.x-2.5
Category: support » bug

I'm getting the error as well - click update of any of the sections (fields, sort, etc) on a view and I get a white screen with a this text in a single line (this is just the beginning snippet of a very long string of text)...

{ "replace": { "#views-tab-default": "\x3cdiv class=\"clear-block views-display views-display-default\"\x3e\n \x3cdiv class=\"top\"\x3e\n \x3cdiv class=\"inside\"\x3e\n \x3ca href=\"/help/views/display-default?popup=1\" class=\"advanced-help-link\" onclick=\"var w=window.open(this.href, \x26#039;advanced_help_window\x26#039;, \x26#039;width=500,height=500,scrollbars,resizable\x26#039;); w.focus(); return false;\" title=\"Default display\"\x3e\x3cspan\x3eHelp\x3c/span\x3e\x3c/a\x3e \x3cspan class=\"display-title\"\x3e\n Tweets \x3c/span\x3e\n \x3cspan class=\"display-description\"\x3e\n

Also, all of the different display types are stacked and visible (i.e. - first default -then under it is the page, then under that is the block, etc)

Thanks

update -

Found the work around here

... http://drupal.org/node/420392

Turning off Javascript in Tools did the trick.

btw- 6.10 and only the most widely used modules.

kappaluppa’s picture

Version: 6.x-2.5 » 6.x-2.x-dev
Category: bug » support

I am wondering if this is a server problem. I had this site working on my dev server with no problem. I have switched to the client's final resting place and all of a sudden i get this ajax problem. I know that the server rejects connections ALOT - I can't refresh pages without getting a 500 error. This is a shared server.

What is the hosting environment of anyone else having this problem?

thx
k

specialagent’s picture

Version: 6.x-2.x-dev » 6.x-2.5
Status: Active » Fixed

I found my problem - I found that the problem was not on two other sites I am running on the same VDS -

So, on the problem site I switched to Garland and problem went away -

Turns out if I comment out the jquery I added in the template.php of the problem theme it fixed it -

/*
drupal_add_js(drupal_get_path('theme', 'whitejazz') .'/js/jquery-1.2.6.min.js', 'theme');
drupal_add_js(drupal_get_path('theme', 'whitejazz') .'/js/widget.js', 'theme');
*/

Now I just have to figure out how to make the eye candy work without hurting my teeth.

dawehner’s picture

i think its bad to add the jquery js two times.

only use

drupal_add_js(drupal_get_path('theme', 'whitejazz') .'/js/widget.js', 'theme');

specialagent’s picture

Priority: Critical » Minor

check - total nube manuver - > thanks <

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

robin1988’s picture

I have the same problem with my drupal site
I can't get views working, every time i click on the gear of filter, fields, sort anything and select from the drop down i get the error:-

"An error occurred at http://clickonbook.com/admin/build/views/ajax/add-item/tutorials/default...."

I have 2 more drupal sites working on this same domain and they all use views quite nicely
I even changed the theme to garland but still i keep getting the error messages

Please guys help me i can't solve this problem al by myself since views is the most complex module till date
Thnx in advance

tosak’s picture

I had the same problem. New to Drupal and rolled my own theme, where I was loading jquery in my template.php

I removed the load call and cleared the pages cache. That fixed it.