Hi Folks,
I'm running Drupal 5.12 on an install running PHP 5 and MySQL 5. I don't have any node access modules installed.
Problem: When I'm at example.com/admin/user/access and I make changes (checking or unchecking permissions), upon submit --- nothing happens. Permissions remain as they were before. The Drupal-set-message for this page, "Your changes have been saved" -- does *not* appear. Drupal doesn't report any errors.
Note that other operations at the install such as adding/editing/deleting nodes as well as changing configuration stettings for other modules -- are all working (or I should say, I haven't found others that are having problems affecting the db.
What I've done so far:
* clear all caches * rebuild node permissions * "repair" and "optimize" all tables in the DB * restart MySQL on the server
None of those did anything.
I'm stumped, any ideas?
In the meantime, I've figured out how to change permissions directly in the db by editing the "perm" field in the "permission" table. There is 1 row for each role. You just add (or remove) the name of the permission separated by a comma. Is there anything I need to worry about setting permissions this way?
Thanks,
Shai
Quoting Shai Gluskin shai@content2zero.com:
I'm stumped, any ideas?
Check the apache logs, especially the mod_security ones.
Earnie http://r-feed.com Make a Drupal difference and review core patches.
Earnie,
Thanks...
Logs aren't spewing anything...
Any more diagnostic ideas?
Shai
On Mon, Nov 10, 2008 at 8:18 AM, Earnie Boyd earnie@users.sourceforge.netwrote:
Quoting Shai Gluskin shai@content2zero.com:
I'm stumped, any ideas?
Check the apache logs, especially the mod_security ones.
Earnie http://r-feed.com Make a Drupal difference and review core patches.
-- http://for-my-kids.com/ -- http://give-me-an-offer.com/
-- [ Drupal support list | http://lists.drupal.org/ ]
Quoting Shai Gluskin shai@content2zero.com:
Earnie,
Thanks...
Logs aren't spewing anything...
Any more diagnostic ideas?
admin/logs/watchdog
Does the watchdog log so any errors? Try a temporary setting in .htaccess of ``php_value display_errors 1''. Beyond that I'm out of ideas.
Earnie http://r-feed.com Make a Drupal difference and review core patches.
The function user_admin_perm_submit() in user.module does not seem too complex (at least in v5.10). Maybe you could add a few calls to drupal_set_message() to debug 1) if the function is even being called and 2) what lines are actually executed and 3) that each step results/returns in what you would expect it to?
________________________________
From: support-bounces@drupal.org on behalf of Shai Gluskin Sent: Sun 09/11/2008 21:31 To: support@drupal.org Subject: [support] Changes Not Saved When Updating /admin/user/access
Hi Folks,
I'm running Drupal 5.12 on an install running PHP 5 and MySQL 5. I don't have any node access modules installed.
Problem: When I'm at example.com/admin/user/access and I make changes (checking or unchecking permissions), upon submit --- nothing happens. Permissions remain as they were before. The Drupal-set-message for this page, "Your changes have been saved" -- does not appear. Drupal doesn't report any errors.
Note that other operations at the install such as adding/editing/deleting nodes as well as changing configuration stettings for other modules -- are all working (or I should say, I haven't found others that are having problems affecting the db.
What I've done so far:
* clear all caches * rebuild node permissions * "repair" and "optimize" all tables in the DB * restart MySQL on the server
None of those did anything.
I'm stumped, any ideas?
In the meantime, I've figured out how to change permissions directly in the db by editing the "perm" field in the "permission" table. There is 1 row for each role. You just add (or remove) the name of the permission separated by a comma. Is there anything I need to worry about setting permissions this way?
Thanks,
Shai
****************************************************************************************************************************************************************
The content of this email (and any attachment) is confidential. It may also be legally privileged or otherwise protected from disclosure.
This email should not be used by anyone who is not an original intended recipient, nor may it be copied or disclosed to anyone who is not an original intended recipient.
If you have received this email by mistake please notify us by emailing the sender, and then delete the email and any copies from your system.
Liability cannot be accepted for statements made which are clearly the senders own and not made on behalf of Network Rail.
Network Rail Infrastructure Limited registered in England and Wales No. 2904587, registered office Kings Place, 90 York Way London N1 9AG
****************************************************************************************************************************************************************