Toggling the setting failed.

CommentFileSizeAuthor
#9 fasttoggle-292681-9.patch656 bytesrstaylor
#7 error.png13.44 KBsziggle

Comments

OneTwoTait’s picture

This also happenes on my site. Also with version 6.x-1.3. I have Drupal 6.6.

A popup box comes up and says "Toggling the setting failed."

kkaefer’s picture

Status: Active » Postponed (maintainer needs more info)

Unfortunately, this doesn't tell me anything. Please make sure that there are no JavaScript error. If there are, it's possible that another module or your theme interferes with the JavaScript. If there are any PHP error messages, please post them as well. Any further information helps.

OneTwoTait’s picture

There aren't any php errors. I don't know how to check for JavaScript errors but nothing else was displayed on the screen besides the popup.

coltrane’s picture

Status: Postponed (maintainer needs more info) » Active

Confirmed under Garland with no other contrib modules enabled. Firebug reports no Javascript errors.

coltrane’s picture

Category: support » bug

This isn't a problem with latest 6 branch code, must have been fixed since 1.3. User status toggle works fine on Admin users page and on individual user page.

darumaki’s picture

I can still confirm that the toggle isn't working in my Drupal 6, it's never worked, not sure how coltrane got to be so lucky.

It does work on nodes, just not in the user list

sziggle’s picture

StatusFileSize
new13.44 KB

i am seeing the same issue with the current version using garland on D 6.9. i have a slew of other modules active though and can't disable them all right now.

when i try to toggle a user being active or inactive, it tries to do it and a javascript alert (attached) appears saying the toggling of the setting failed.

Gabriel R.’s picture

Seeing this too.

rstaylor’s picture

Status: Active » Needs review
StatusFileSize
new656 bytes

looks like there's an extra 'admin' in the URL?

pkiff’s picture

Thank you RSTaylor. I installed this today on a fully-updated Drupal v.6.19 site with latest versions of Views/CCK, and experienced the "Toggling the setting failed" error when using the unblock user toggle on the user listing page. After applying your patch in #9, the toggle appeared to work as intended.

Phil.

loophole080’s picture

works ok in latest dev release without patch

nigelcunningham’s picture

Status: Needs review » Fixed

Just checked git, and it looks like this patch was applied without changing the issue status. Closing as fixed, therefore.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

tescometro’s picture

Status: Closed (fixed) » Active

I'm getting the error with 1.4

"Toggling the setting failed."

Strangely, it hasn't failed though, a page refresh shows that the action has taken place. Any ideas?

(hope reactivating this thread ok)

tescometro’s picture

Status: Active » Closed (fixed)

My issue with 1.4 resolved. Not a fault with Fasttoggle at all. Was using the trigger module to redirect users after saving content to a specific url. This was affecting fasttoggle, even in views, which isn't so surprising. Doh. Setting this issue back to "closed (fixed)"

nigelcunningham’s picture

Great; thanks.