Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.5
Component:
User interface
Priority:
Minor
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Apr 2009 at 15:22 UTC
Updated:
10 Mar 2010 at 11:50 UTC
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
Comment #1
dawehnerthis 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
Comment #2
bsnodgrass commentedI 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
Comment #3
bsnodgrass commentedComment #4
kappaluppa commentedSame 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.
Comment #5
specialagent commentedI'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.
Comment #6
kappaluppa commentedI 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
Comment #7
specialagent commentedI 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.
Comment #8
dawehneri think its bad to add the jquery js two times.
only use
drupal_add_js(drupal_get_path('theme', 'whitejazz') .'/js/widget.js', 'theme');
Comment #9
specialagent commentedcheck - total nube manuver - > thanks <
Comment #11
robin1988 commentedI 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
Comment #12
tosak commentedI 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.