By vigneshiva on
When i try adding an Argument on the Edit view page with default Blocks, i get a popup error message
An error occurred at /admin/build/views/ajax/add-item/
Please help.
When i try adding an Argument on the Edit view page with default Blocks, i get a popup error message
An error occurred at /admin/build/views/ajax/add-item/
Please help.
Comments
I ham using XAMPP 1.7.2 ,
I ham using XAMPP 1.7.2 , Drupal 6.14 and Views 6.x-2.x-dev
I get this sometimes on views
I get this sometimes on views with 10+ displays, but I press OK and things proceed onwards as normal. Your best bet is to submit this to the views queue
Thanks for your post. I am
Thanks for your post.
I am newbee to drupal and started creating some groups and added page, story under it. I just wanted to format the Group home page through views. After adding a view, the next screen which i get is the edit view, when i click on the add symbol near the Argument it throws a popup error message 'An error occured on /admin/build/views/ajax/add-item/'. When i press OK it remains the same.
Did i miss any modules to install?
Experiencing same problem
I am having the same problem. Using the same versions of Drupal, XAMPP and Views.
Clicking any of the fields to change settings gives me a popup error, and the little spinning icon just continues to spin. Clicking additional items gives similar results and lots of spinning icons.
For example Page Name on a new node view named List:
An error occurred at /admin/build/views/ajax/display/list/page_1/display_title/
Clearing the popup and clicking List to go back to the main Views page gives this error:
* warning: Parameter 3 to views_ui_ajax_form() expected to be a reference, value given in V:\xampp\htdocs\includes\menu.inc on line 348.
* warning: Parameter 3 to views_ui_ajax_form() expected to be a reference, value given in V:\xampp\htdocs\includes\menu.inc on line 348.
V: of course is where XAMPP is installed.
I get similair "Expected to be a reference errors with some other modules, but they don't give popups and still work. With the exception of Taxonomy Manager. It will not work at all once a vocabulary is selected. It gives this error:
warning: Parameter 1 to theme_taxonomy_manager_tree() expected to be a reference, value given in V:\xampp\htdocs\includes\theme.inc on line 617.
Taxonomy Manager will show the Toolbar, but nothing else.
same problem here
I'm having exactly the same problem.
I'm using XAMPP Lite 1.7.2 (Windows), Drupal 6.14, Garland theme.
No other modules installed except Views 6.x-2.6.
same problem here
I have the same exact problem with spinning circle
and not being able to edit views
Solved - it seems like
So after searching for a while, I decided to see if I could fix the issue.
I find a bunch of warnings and errors relating to "reference expected value passed" kind
of php related issues. It seems like it is because of the syntax change from PHP 4 to 5.3
Anyways I took a gamble and changed the &$ to $ in the sites/all/modules/views/includes/admin.inc
and there is one place where it has the &$ combination to $.
Seems to work now. Keep fingers crossed
halofx..did you find a
halofx..did you find a solution to the taxonomy manager issue ... I cant seem to get it working as well ...same issue as you have mentioned
I abandoned XAMPP I moved to
I abandoned XAMPP I moved to running a Turnkey Linux LAMP appliance on a virtual server. I am much happier with this over XAMPP.
Same problem here
But the differences: I use XAMPP 1.7.1 and Views 6.x-2.6 with Drupal 6.14, and I tried to add a new field. Please help!
Devel module was installed here last time, Devel and Theme Developer modules was on, when the problem came. I uninstalled them, but the problem still remains...
And my Firefox updated today (before this) to 3.5.4. I don't know if it's important.
I believe the problem is similar to this:
Ran into the same problem about 1/2 hr ago.
Found this:
http://drupal.org/node/452384
Looks like the same issue. Here is the solution:
---------
views/includes/admin.inc
on line 1559, change this:
function views_ui_ajax_form($js, $key, &$view, $display_id) {
to:
function views_ui_ajax_form($js, $key, $view, $display_id) {
---------
I tried this an it works for me.
Worked on XAMPP 1.7.2, Drupal
Worked on XAMPP 1.7.2, Drupal 6.14 and Views 6.x-2.6
Thanks!
Worked like a charm
Worked as well for me on (the same as the guy above me):
Much thanks!
Thank you for your decision.
Thank you for your decision. Everything works!
Or, you could downgrade your XAMPP version
XAMPP 1.7.x uses PHP 5.3.x, whereas XAMPP 1.6.8 uses PHP 5.2.x.
From what I understand, Drupal is not fully compatible with PHP 5.3.x yet.
Php Version Issue with XAMPP
Just wanted to say I was having the same problem as above with the error message in Views and Ajax not working, and the suggestion to modify views/includes/admin.inc solved the issue. Thank you!
My variant of this bug
Just wanted to share : I realized that having devel themer module was triggering this bug. Worked again after disabling it.
Devel and Views
I had a similar issue, an error used to popup on doing anything with the Views like changing field settings, adding fields. In my custom module, I was using some dpm() and kpr() statements, that was causing this ajax error to popup. As soon as I removed all such statements from my module code, that error was gone. I tried it many times, whenever I used to add any such devel statements, popup error used to come back. On removing all such statements, Views started working normally. Hopefully it helps someone, experiencing the same issue.
thanks socratesone , it works
thanks socratesone , it works for me thanks a lot