I have within the last month started getting random 404 errors when accessing pages both on the frontend and the admin site. I'm running the latest version of Drupal as well as CiviCRM. I've deleted all aliases and rebuilt all those. I've cleared caches.

It's weird I have the Admin and Admin Tools module installed and I've noticed that sometimes menus just disappear from it. If I manually type in siteurl.org/admin the menu options will be gone from there as well. The only way I can get things back is to run update.php. Things will run fine for a bit and then start acting weird again.

It's weird that the link on the Clear all Cache link on the Admin Tools menu is
http://siteurl.org/admin/flush-cache/all?destination=internal_error.html

I can't figure this out and it's the first time Drupal has ever given me any trouble. Any idea what's going on?

Now I'm getting Access denied errors and can't get to any Admin items even if I type in the URL manually.

What is going on?

[Heine - Please don't shout. _Do_ use information-rich titles.]

Comments

dsuguy’s picture

I got the access denied errors to go away but my site is still acting REALLY weird. I've not made any changes recently. What is going on?

sepeck’s picture

do you have a good backup? have tested your the backup on your local test server and seen the same issue?
are there any MySQL errors?
has your host changed or upgraded anything recently?

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide

dsuguy’s picture

I've done a export of the DB from phpmyadmin just in case. and backed up the custom stuff that I have.

As far as I know there are no changes, no MySQL errors, etc. It started a while back getting page not found errors and the page was a rather ugly page so I created a custom 404 page in Drupal. seems after that it got worse (of course I could be imagining that) and then for the last week or so almost every other page load is a page not found error. I thought maybe the custom 404 page was having issues so I removed that but nope still doing the same thing. Then the access denied errors started. I couldn't access anything in the Admin side of things, even by typing in the manual URL. I finally was able to get update.php to run and that cleared things up. I cleared caches and ran update.php again.

digitalclover’s picture

I'm currently running into the same issue where every 10-15 page clicks, it will return a 404 for about 30 seconds before the page loads properly. If I try to access the homepage during one of these "blackouts", I receive an "Access denied" error instead. I don't recall a specific event that occurred before this issue came about (i.e. new module, updates, server side changes).

I'm really hoping any direction in troubleshooting since this website is about to launch.

I'm not experiencing any issues with menus, be it front end or admin.

Drupal: 6.19

PHP: 5.2.13
SQL: 5.0.89
WebServer: Apache/2.2.14 (Unix) FrontPage/5.0.2.2635

growltiger’s picture

anyone figure this out?
having random 404 errors that clear themselves upon reloading the page.

bluemuse’s picture

I have a hunch, unproven yet, that it's related to CiviCRM. I am running a multi-site installation and the other sites, which don't use CiviCRM for user registration and events, run smoothly.

Update: Just discovered that the internal_error.html page is something that DreamHost serves up when PHP fails. http://drupal.org/node/83255