Moderate form will not submit
interface907 - January 2, 2009 - 00:54
| Project: | abuse |
| Version: | 6.x-1.x-dev |
| Component: | User interface |
| Category: | support request |
| Priority: | normal |
| Assigned: | BTMash |
| Status: | needs review |
Description
None of the buttons on the moderate form are clickable for me. I am trying to review my first abuse reports and when I click on Allow, Remove or any of the buttons, nothing happens. I have tried in Firefox, IE, and Safari. It is the same in all of them. I have disabled the FCKEditor for that screen. I am running Drupal 6.2 and have the latest version of the abuse module, dated 2008-Nov-05. Am I missing something obvious?

#1
I'm going to remove the jquery functionality to see what is going on. If that fixes it, then that might be the best solution for now...
#2
I have a similar problem. If I navigate off the form page I eventually get the 'Invalid user account - content cannot be allowed' error message. The content that was flagged was created by the Anonymous user (uid 0). I've traced my problem to this code block (lines 938-942 of abuse.module):
function _abuse_allow($type, $oid) {$object = _abuse_load($type, $oid);
$account = user_load(array('uid' => $object->uid, 'status' => 1));
if ($account->uid) {
// Re-Save the node so it can get indexed if not already done so and any other important functionality is carried out by being published
The test of
if ($account->uid)fails since $account->uid is zero. Changing line 941 to:
if ( ($account->uid) || ($account->uid === "0") ) {seems to fix the problem. I'll see about rolling a patch as soon as I get a chance.
#3
Patch attached
EDIT: don't use patch. Use patch in comment 4.
#4
Changed patch. Previous patch required status of anonymous user to be 1, which is not the expected value.
#5
I am still in problem ..I applied the patch manually by understanding the patch file ..Is it okay with patch ???
#6
I'm facing the same problem. Applied the patch as described but not working.
Any ideas ?
#7
If you're not getting the error message that I described in comment #2, the patch isn't going to solve your problem. There is some other problem that the patch doesn't address.
If you are getting that error message and you applied the patch (and it applied correctly), then I don't know what the problem is. Are you getting any messages?
#8
No error messages are displayed.
#9
same here no error are displayed ... if any one got the answer than please post it over here ... thank you in advance
#10
Hi, did anyone found a solution for this problem? I am new to Drupal and i tried to review to code of the module, but i did not find the solution till now ...
#11
Also need it in my project,
Did anyone found something ?
Thanks,
#12
I was having the same issue where the links would not work and the form would not submit. The strange thing was, the issue only came up on production and not on local.
Temporary Fix:
/abuse/abuse.js
Line: 20
Replace:
url: Drupal.base_url + 'admin/abuse/moderate/content/js',
with :
url: Drupal.base_url + '?q=admin/abuse/moderate/content/js',
Hope that works.