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
Comment #1
a.bond commentedToday 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
Comment #2
dawehnerWhich file was not found...
Comment #3
a.bond commentedIf 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.
Comment #4
a.bond commentedFYI, 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.
Comment #5
a.bond commentedTo 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.
Comment #6
InTheLyonsDen commentedSame issue... any updates?
Comment #7
a.bond commentedI 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.
Comment #8
ISchier770 commentedBS"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.
Comment #9
dawehnerupdate
Comment #10
ikarusweb commentedsubscribe
Comment #11
dawehnerSo this is fixed, see http://drupal.org/node/615122#comment-2374352 and http://drupal.org/node/615122#comment-2298704 to fix it.