Views has worked properly for quite a while now, but lately I've been unable to create or modify any views. When I try to add or remove a field of either a new or existing view, I get an alertbox reading "An error occurred at admin/build/views/ajax/add-item/*NAME OF VIEW*/default/field" and I get an error report in my Recent Log Entries report. If I'm trying to build a new View, the report is a "file not found" error. If I'm trying to modify an existing View, the report is an "access denied" error. In either case, the error report is from my IP, but the user is listed as anonymous even though I'm logged into my site.

For reference, I'm using Views 6.x-2.6, Views Bulk Operations 6.x-1.x-dev, Views Calc 6.x-1.3, and Views Bonus Pack 6.x-1.0-beta4, but the problem persists even if I disable all of the add-on modules.

Comments

a.bond’s picture

Priority: Normal » Critical

Today I tried to clone an existing view, and I couldn't even change the view style. It gave me another file not found error, on admin/build/views/ajax/display/*NAME OF VIEW*/page_1/style_plugin

dawehner’s picture

Status: Active » Postponed (maintainer needs more info)

Which file was not found...

a.bond’s picture

If I'm trying to change the style of a new view, it gives me a "file not found" on
admin/build/views/ajax/display/*NAME OF VIEW*/page_1/style_plugin

If I'm trying to change a field on a new view, it gives me a "file not found" on
admin/build/views/ajax/add-item/*NAME OF VIEW*/default/field

Again, if I'm editing an existing view, it gives me a "permission denied" on the same paths.

a.bond’s picture

FYI, this error was generated in Google Chrome. It had been working in the past, but it's not now.

In IE8, when I attempted to save a change, it attempted to download a style_plugin (with a different random number-letter sequence each time). No error in watchdog was created. Leaving the page and returning to it shows that it did save the changes.

a.bond’s picture

To update, in IE8 leaving and returning to the page shows that changes were made on the view, but they never get saved. There is still no ability to modify views.

Last week we changed our domain name. I don't see how that could affect the module, but that was around the time it stopped working.

InTheLyonsDen’s picture

Same issue... any updates?

a.bond’s picture

I discovered that when I changed the domain name, I hadn't changed the domain name in sites/default/settings.php. Once I updated that, the problem resolved itself.

ISchier770’s picture

BS"D

Thanks for this! Had the same problem and in my case it was caused by requiring the www. prefix in .htaccess and not changing the base URL in Settings.php.

dawehner’s picture

Status: Postponed (maintainer needs more info) » Active

update

ikarusweb’s picture

subscribe

dawehner’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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