By TsO2009 on
Hello,
We have a website that is running Drupal 6.10. I noticed that we are in need of a security update, but I wanted to resolve some issues we're having first.
When going to a news article and changing anything it is shown as updated. However, when looking at the article it does not reflect the updates made.
Visitors to the site are also shown the "Edit" option on an article, despite the permissions for anonymous users being ONLY "access content"
Any help would be most appreciated.
Thanks!
Comments
A few preliminary things to
A few preliminary things to try...
In Admin > Site configuration > Performance, do you have caching turned on? That might be a factor. You could also try refreshing the page and clearing your browser cache, just to make sure.
What theme are you using? When visitors to your site see the "Edit" option, can they actually click on it and edit, or do they just see the link and then get a permission denied message? Perhaps your theme is set to always display the link, regardless of whether people can actually use it, rather than wrapping the link in PHP code that only displays it if the person in fact has permission to edit.
Hmmmm
Caching is turned off. I also cleared my browsers cache. Anyone can access post edit and make changes.
However, much as when logged in changes will say Updated but not reflect on the post. Going back into the edit shows the post before changes are submitted. Again even logged in I cannot actually change a post content (even though it says updated).
I've also unchecked permissions for anon users, so they should not be even seeing the edit page let alone being able to submit changes (even though they don't show up).
The theme is a modified version of Amity Island. We've only edited the appearance, and not major elements.
Sorry if I'm being repetitive. I've been searching for a good bit now to find the solution and seem to be swinging and missing.
Have you made any changes to
Have you made any changes to your installation recently, like moving the databases or files, or upgrading? It could be a permissions thing that is not visible from "inside" Drupal's admin screens, like a problem writing to the database that would prevent you from editing content or having settings saved properly.
I've delayed upgrading from
I've delayed upgrading from 6.10 to 6.12 in fear of this actually. There have been no modifications to the database outside of populating fields with new content through drupal.
My main concern is not being able to edit posts.
Input Access - Doesn't seem to be the issue
Most of my research on this issue points to the problem being Input Access. I've set the permissions, cleared the cache, checked the input filter access and added a work-around in the node.module file to create a watchdog entry when it rejects an update based on filter_access() returning FALSE. (Read more about creating a watchdog entry here: http://exodusdev.com/drupal-user-loses-edit-access-to-own-content)
Still whenever I edit a node (news article) logged in or not it acts as if it's doing it right, only to not reflect the submitted changes.
Any assistance is most appreciated. I hope developments on this are helpful to others as well.
Node was locked, but nodes still not updating
I took a look in phpMyAdmin today thanks to the suggestion of a friend across the water. Under node-input I saw that "news" (our news article nodes) was set to 1, or locked. This needs to be changed this to 0 to unlock.
Edit is no longer viewable for anon users. However, I'm still unable to update posts as an authenticated user.
Anon Users Now Able to Edit
While I was trying to fix the node update problems, I've somehow enabled anon users to view the edit option on posts again.
My problem again is:
- Anon users can view the edit option on a news article
- Anon and Authenticated users are unable to update a node despite the system saying 'Updated' when submitting
I'll be searching and updating this thread as I'm able. Any ideas would be most appreciated.
Thanks!