I am attempting to create my first view and it seems I keep getting the same error:

An error occurred at http://mydomain.com/admin/build/views/ajax/add-item/newsblock/default/field.
Error Description: 0:

Any ideas?

Comments

merlinofchaos’s picture

Are you using secure pages module or some method of converting the admin UI to https?

eswiderski’s picture

No, it's a very basic Drupal installation. I don't have any additional security settings initiated. Hmm?

markosaurus’s picture

I get the same thing when trying to do somewhat more advanced views operations. I just tried adding a field to a view to output the description of a CCK field that I added for a downloadable file and I got the same error.

I'm going to investigate now as I need this field exposed in my view.

Will report back with any findings.

markosaurus’s picture

I was able to replicate the error by selecting views > fields > add and then trying to add a new field to the view before the fields list was fully loaded. The answer for me was either to wait until the fields list has completely loaded (sounds obvious enough), or if in this case it just keeps giving the error, sign out of drupal completey, flush browser cache, cookies, logins etc and then login again.

This seems to have reset things for me and allowed me to eventually add the field I needed. HTH.

lagerassassin’s picture

http://drupal.org/node/750308#comment-2756564

this worked for me ^^^^

sounds like OP's problem if its a fresh install

just adjust base url in settings.php

itserich’s picture

subscribing

dawehner’s picture

Status: Active » Fixed

See #5

Status: Fixed » Closed (fixed)

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

501cGeek’s picture

Thanks for the assistance, everyone. I was having the same problem, turns out it was because I set the site's Base URL to an http:// address, but was using an Apache rewrite rule to send all requests to /admin to an https:// address. I changed the rewrite rule to only redirect /user to https, and not /admin, and that fixed the Views error 0 message.

asymptotixweb’s picture

I got this when I tried to SAVE a view BEFORE the preview was totally loaded (2,000 records incl thumbnails).

For as long as it says "Waiting for..." at the bottom left corner, just wait until it say "Done". Then you can save without problem.

mcfilms’s picture

If someone else sees this and IS using Secure pages, what worked for me was to simply add:
admin/build/views/*
to the standard list (second box) and visit the Views edit page via http not https.

tree2009’s picture