I think this may be a bug, as I've seen it reported elsewhere in these forums (but none of those fixes worked for me).

Drupal 6.6, Views 6.x-2.1

Working fine for several weeks, until today when an editor was creating a view with block displays and nothing unusual, very basic filters. She got an Ajax error, but it didn't seem to be a problem so she then adjusted the block order on the page and suddenly none of our dynamic content on the site works. We can see the header and top horizontal nav menu (primary links) but nothing else. All our views, all our nodes, all our admin pages return "page not found" error.

I checked .htaccess, checked menu_router table, cleared our cache but nothing has worked.

We can restore backup, but we'll lose a ton of work and I am worried this will happen again. Views bug? Operator error? thanks for any help.

I did also post in the main forums, but I suspect it is related to Views so thought I should put it here in case anyone had a fix.

Comments

cgjohnson’s picture

Title: "Page Not Found" error after modifying a Views filter » "Page Not Found" error everywhere after modifying a Views filter
nmashruwala’s picture

subscribing

merlinofchaos’s picture

Status: Active » Closed (won't fix)

all our admin pages return "page not found" error.

Views cannot cause this, no matter how badly messed up things are. It indicates that something is really wrong in your installation and my guess is that the ajax error was merely a symptom of this problem. I have no idea how to help you, but I am sure this isn't really related to Views.

cgjohnson’s picture

Update: I went into the database and deleted the View that we were working in when the error occurred (which, tellingly, had a block associated with it) and our problems were resolved. So far, we have not had any other issues. Seems to me this is definitely associated with Views, even if it may be a deeper problem with our installation -- I'm worried it is in fact the latter.

Anyone else have this or a similar problem?

capellic’s picture

I am having a similar issue running Drupal 6.6 and Views 2.1. The only difference is that I am not getting "page not found" on every page on the site - only the view in question and a node -- see below.

I created a view called "galleries". I then created a Pane for the page and incrementally added features to it and kept on viewing it in the preview and then I added the filter, I started getting an AJAX error:

An error occurred at /admin/build/views/ajax/preview/galleries.

I believe that might be something linked to the header information a "page not found" page returns.

I also had created a new content type called "gallery" that is to be managed by this view. When I first created it, I could see the node just fine. But then at some point, I started to get "page not found" errors for it. I am inclined to think that it was after I created the view and triggered the "page not found" error with the view - but I can't recall for certain. But, I created a new node of type gallery and it works just fine even with the view receiving "page not found" errors.

I have also checked menu_router table and cleared the cache.

I tried to run update.php and I got some PHP errors which, as merlinofchaos puts it, "something is really wrong in your installation". Seeing as there is not solution to this, I am going to upgrade to Drupal 6.8 and Views 2.2 to see if that doesn't sort things out.

merlinofchaos’s picture

This sounds like it may be an issue with the cache table which is fixed in -dev.

capellic’s picture

Thanks! I was going to upgrade to DEV this weekend anyway to take advantage of the CCK RSS feed feature!