I've built and maintain dozens of Drupal sites and have never encountered a problem like this before. It has me stumped, so I'm turning here for help.
D6 Site has been running just fine for about 2 years.
On Site Information, we've set the front page to a node (node/1308) that is just an ordinary page.
For no apparent reason - no upgrades or new modules - anonymous users cannot access the front page.
No 404 or 403 error. Nothing in the error log.
If you give the url to the node (mysite.com/node/1308) that is set to it displays fine.
When you go to mysite.com , you get the logo, the blocks that are set to display on every page, but that is all. Blocks that are set to display to do not display.
When logged in, everything looks great.
We've tried updating Drupal and all modules. Nothing changed.
Looked at permissions, and don't see anything weird.
Please, someone suggest some things for me to look at.
Thanks,
Vonn
Comments
Permissions?
Sorry to ask something obvious, but just to check, you've made sure that there are no permissions issues?
Not sure if this will help: http://drupal.org/node/350789
Some questions (may be basic;
Some questions (may be basic; just meant to gather more details):
Have you cleared all caches?
Are you using Panels?
Are you using Content Access for anything?
Have you double checked all anon user permissions (I'm guessing yes, but still asking)?
Are you using Context?
I don't mind basic questions.
I don't mind basic questions. Usually when a problem is this baffling, the answer is totally obvious and staring me in the face.
Yes, have cleared all caches.
Yes, to Panels. Don't have one enabled for or for content type Page. The panels that are enabled elsewhere were working properly for anonymous.
Yes, using Content Permissions - have checked this very carefully.
Yes, have double-quadrupal checked permissions. Curious that I can access page with the URL but not as .
No to Context.
Does this suggest anything else to check?
What is the URL of the site?
What is the URL of the site?
omfglights.com
omfglights.com
what does your hosting
what does your hosting company say? Maybe they can see something?
Antoinette Arsic
If you've got a dev site to
If you've got a dev site to test on where you can reproduce this, I would disable content access, see if it works. If not, re-enable and try disabling Panels. Those are two possible culprits, so it'd be a useful and easy 1st test. Check to see if you have a Panels variant checked to be the front page, too.
Still Baffled
Thanks, everyone for all your suggestions. The mystery remains unsolved.
Here's what I have done. After each step, I cleared cache and tested.
1. Fixed an incorrect version of admin_menu that the owner had installed. (no change)
2. Disabled and uninstalled panels. (no change)
3. Disabled content permissions. (no change)
4. Updated Drupal from 6.27 to 6.28 and updated Fusion core them so core and all modules and themes are up to date. (no change)
To reiterate: Everything looks fine as long as I'm logged in.
Anonymous users can't access the page that is on front.
However, can access all other pages fine.
I made a new page, and could access it just fine.
I went to Site Configuration | Site Information and entered the node to be the front page. After that, cannot access it anymore and cannot see it on front, however, the title of the page does display on the browser tab.
Once a page is no longer front, anonymous can see it again.
htaccess
Is there an htaccess file in your Drupal root?
I'm not sure if files were moved or copied, or what have you, but sometimes a missing .htaccess file will ruin your day!
:)
workaround found
I still have not figured out what is going on with this site, but I have figured out a workaround using the Front Page module drupal.org/project/front
I made a page just like the one on front, and then using Front Page, enabled the Front Page Override and then set the Front Page for anonymous users to redirect to the new page. That's working, but I still don't like that I don't know why this site started doing this weird thing.