By Anonymous (not verified) on
So I woke up this morning to see that my the front page of my website just doesn't have the old content it used to last night. I have not done anything to the site, configuration wise, nor does watchdog show any suspicious activity in my logs. However, when I log into my account, the front page displays the content it used to by default (last night) without logging in.
Any ideas what is going on and how I can revert back to having a front page with content other than the "Welcome to your Drupal install... etc. message." It is a bit embarassing -- http://www.anthropology.net if you wanna take a look for yourself.
Comments
I had this problem
I had this problem when I forgot to add the mysql entries for the taxonomy_access module. The module set all the access options to off so only my admin account could see anything.
The default comes up when the visiting user does not have the permissions to view the content your main page is displaying.
Check to see if your "access content" box is checked in your /admin/access menu
Looking at your site, i see the same symptoms of my taxonomy_access problem. Do you have that module installed?
Hrmm... not quite
I do not have the taxonomy_access modue installed, and my "access content" box is checked for all roles, i.e. anonymous, registered/authenticated user, admin, etc. Any other ideas?
Check Settings & Content
This may be stating the obvious but, if you haven't already done this, check administer >> settings: default front page.
Also check administer >> content >> edit: options: promoted to front page.
Checked both settings and content
My default front page, as seen in the administer > settings: default front page section shows - "node" as the default front page -- which has been unchanged. Now, I wanted to see what is /node and so I went to http://www.anthropology.net/node and I see the very same page as http://www.anthropology.net implying that my /node page got wiped clean (?!?)
Secondly, I did do the administer > content edit: options etc... to the items that I had promoted to the front page; they still have that box checked but they do not show up on the front.
I'm so lost.
Reposting Test
If you can still access the posts via administer > content then I would suggest trying to repost the items.
Also, if you have full HTML enabled, make sure the tags are sound.
I have tried to repost items and make new items for front page
I have tried to repost old items and also make new items for the front page with no success. Nothing is going up on there. My HTML is clean and all tags that have an open have a corresponding close.
I am so absolutely lost as to how this just happened all of a sudden, I did not add any new modules or remove any for this to have happened overnight. I just added a new survey poll page, which at the time did not alter the front page but overnight it did.
A reinstall won't do no good, would it? Say it's my node modue? So lost.
One More Idea
I'm pretty much tapped out of ideas, but you could create a page with the content you want on the home page; then change the default front page in your settings. If that worked, at least you'd have something up while you try to work out what happened.
Thanks for the ideas..
So I created a new page to be the default front page and changed the settings in administration > settings to point to the new node -- node/30. Now I get a "Access denied - You are not authorized to access this page." error... my mind is fried over this issue. Thanks for the help though.
Maybe an Access Issue Then
If you get access denied then it sounds like it must be something in your roles or access control.
You could try typing in /node/30 just to be sure you don't have access. Then do a test by selecting each check box in access control one-by-one to see if you get permission.
Keep trying, it sounds sovleable!
No go on Access Control
Check out this link, it is a screenshot of what my access control page shows for the node control options: http://www.anthropology.net/confused.jpg
It shouldn't be doing this at all! I am now leaning to backing up my entire directory and database and reinstalling from new with only importing my user base and content base. If that does not work, then I will look for a new CMS because this is ridiculous.
very interesting
This is certainly very interesting!
Gautam
Administrative Role Access?
I'm assuming you all the permissions checked for your administrator(s). Do see the node when you login as administrator? And, still as administrator, if you type the path in your address bar are you still denied access?
If the content shows when you go to administer >> content then it's still there. It's just that you are being locked out for some unknown reason.
In order to narrow it down what's blocking you, you should go through the each of the permissions as it could be something other than access content.
I would also call up all your content that is "promoted" and "sticky" set only the item you are missing as promoted. There is a setting for how many items go on the front page as well which might be affecting what displays.
And have you tested in different browsers? Firefox works best for me.
I know this is a lot of work but it seems a shame to trash a whole project and start over when it sounds like a simple permission issue.
I'm new to Drupal as well -- it's been a learning curve and there's limited support for sure. But every bug I turn up helps me understand the system a little more.
I wish you luck!!
I do see the node when
I do see the node when logged in as a administrator, and when I type in the path I can see it.
I went thru each permission and role and double checked everything. It is just as I like it to be.
The content is blocked on all unregistered/anonymous visitors. Once logged in you can see all the content, regardless of any browser. I use Firefox too and test on IE.
I have already trashed the install, backed up my db, and deleted the old one. I am not entirely new to Drupal but this one properly is a definately curveball. I have had issues after upgrading to 4.6.3, and would prefer to just install cleanly and import each table of my database one by one just for my sanity.
Me too
This happened to me last night as well. If anyone comes up with a fix, I would appreciate it.