By Coop1979 on
I have a strange problem that I wasn't able to find a solution for after some googling. If I create a piece of content (doesn't matter what content type), and then later go in and edit it, the new edited version of the content is not available for Anonymous users to view. It is still the old, un-edited version of the content.
All Authenticated users can view the edited content just fine.
Any ideas?
Comments
Clear cache data
Clear cache data /admin/settings/performance
__________________________________
My Drupal 6 livin' here
Or disable caching in that
Or disable caching.
This is the whole point of caching. Anonymous visitors only see the changes after a while, so that fewer database queries run.
No, unfortunately it's not a
No, unfortunately it's not a cache problem. Even after the cache is flushed (I'm using Boost), the edited versions are still not available to anonymous users.
I did go through the steps of disabling cache to be sure, but it had no effect.
IMO it is clearly a cache
IMO it is clearly a cache problem. Where else could the old content be found?
The only question is "which cache?" Drupal's cache? Boost's cache? Server's cache? ISP's cache? Browser's cache?
I would agree that normally
I would agree that normally this would clearly look like a cache problem. But I have cleared Boost's cache, turned off caching completely, and have tried multiple browsers on multiple ISPs. I have a timestamp at the bottom of each page, so I can tell whenever the cache has been cleared for that page. It's been over a month on some pages that were edited/updated and they still aren't showing the edits for anonymous users.
I don't know much about the
I don't know much about the boost module besides that it saves stuff in files. Does clearing its cache mean that those files have been deleted?
I can't test it seriously because my host has a lame-ass "25,000 inodes" restriction and I am always near the limit. Oh, well.. they love their database hits.
======= Edited to add:
I forgot to ask if cron is running properly on that site and if it helps to run http://example.com/cron.php manually.
Are you by any chance using
Are you by any chance using revisions and if so is it possible that anonymous users do not have the permission to see them? Just a stab in the dark.
Hmm... you've got an idea
Hmm... you've got an idea here. Normally all user see the last revision, but maybe if Coop is using something like the http://drupal.org/project/revision_moderation which keeps the latest one unpublished, this kind of behavior could arise.
I actually am using
I actually am using Revisions, and have tried the permissions with Anonymous users being able to and then not being able to view Revisions. When I allow them to view Revisions, the node itself still appears the same, but with the added "Revisions" tab. If I go into the Revisions tab, I can view all of the past revisions just fine, but if I click on the current revision it just shows me the node as originally submitted.
So, you are not using the
So, you are not using the revision moderation module?
no :(
no :(
If a "Rebuild permissions"
If a "Rebuild permissions" button appears in the admin/content/node-settings page, try it.
Thank you for that
Thank you for that suggestion. I tried it, but it doesn't seem to have helped. I guess I'll try disabling modules one at a time and see if that helps.
Another random idea: Try
Another random idea: Try commenting out all the lines in the
<IfModule mod_expires.c>section of Drupal's .htaccess file.Blerg! I tried that and it
Blerg! I tried that and it also had no effect.
Thanks for continuing to offer ideas!
Just an update - I figured
Just an update - I figured this out today.
I had to truncate the cache_node table. Now everything's fine.
EDIT: I had to completely disable Advanced Cache. Not sure what the problem is right now, but I'm looking into it.
I was having a problem of
I was having a problem of anonymous users not being able to see any updates after I cleared cache and changed the minimum cache lifetime to one day. I changed it back to "none" and it fixed it immediately.