You are here

Can't create scripts

The spam filters need to be lightened up.

The last two scripts I have tried to upload (in as many weeks) are getting this:

* warning: Invalid argument supplied for foreach() in /var/www/modules/node/node.module on line 561.
* warning: implode() [function.implode]: Bad arguments. in /var/www/modules/node/node.module on line 565.
* user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 query: SELECT n.nid, n.vid, n.type, n.status, n.created, n.changed, n.comment, n.promote, n.sticky, r.timestamp AS revision_timestamp, r.title, r.body, r.teaser, r.log, r.format, u.uid,, u.picture, FROM node n INNER JOIN users u ON u.uid = n.uid INNER JOIN node_revisions r ON r.vid = n.vid WHERE in /var/www/includes/ on line 174.
* Your submission has triggered the installed spam filter and will not be accepted.

I'd hate to start hosting scripts elsewhere, but this is starting to get silly!

-Rob A>

Because of the other errors that are displayed there, I wouldn't be too sure that this is really the spam filters.

I've just tried to upload a sample script,  did work without problems.

You could try to submit the description of the script as a forum entry, this should tell you if it is really the spam filters triggering on the content.

And no improvement, I can't even edit an existing script... Even with no errors, I get: Your submission has triggered the installed spam filter and will not be accepted. -Rob A>

A script to create a new gradient by sampling along a path drawn in an image. Example and usage are here: This was tested under 2.6 but should work under 2.4 Please note the script registers under the Gradient Menu (from the gradient dialog). It will error out if called on an image that has no paths defined. EDIT: Script updated to allow sampling and applying transparency to the gradient. -Rob A>

So posting the content worked in the forum. I just can't edit my scripts or create new ones without the spam filter triggering (not even a captcha). I also deleted all cookies and cache, logout out, restarted the browser, and that didn't help :( -Rob A>

I didn't have any problems uploading the updated script, taken directly from your site. Seems like the spam filter does target you specifically.

I tried again, from a linux box, using the copy downloaded from my site. same result (spam...) So.... could it be something to do with my account here? -Rob A>

Hi Rob, Mollom, the spam filter module we use, is not user-specific. It does take into account the IP address you're coming from, but thats about it. The thing is, none of this should have be as bad as you're seeing because if you solve the captcha you should be able to post anyway. Thats the way Mollom works. If that is not the case, something else is going wrong here. I'll be looking into this. Ingo

Just to clarify - Mollom does also not exempt me from the spam detection, either? Or do editors get a special treatment?

According to the Mollom site, Because CAPTCHA rarely challenges legitimate content (currently only approximately 2% of human users are challenged with a CAPTCHA), it makes your site a lot more accessible while still greatly improving its overall quality. But I must say I always get a captcha challenge. -Rob A>

when I create or edit a message containing attachments. But if I answer the Captcha correctly, it does update the messages. I note that the Captcha is a lot harder to read than Captchas used to be (presumably in response to computer programs getting better at breaking them). I prefer Turing tests, as the audio Captchas aren't necessarily easy to understand either.

I tried to add an acknowledgment for RobA's assistance in which I linked to his user entry at I got a notification that my update was being blocked as spam and would not be allowed. I didn't even get offered a Captcha. Rob, please know your assistance has been appreciated, even if the registry won't let me show it in the plug-in entry. On the other hand, this comment does trigger a Captcha.

Charles - No problem, glad it helped. (btw I have switched to the ffaat use now as doing anything here with RobA was impossible due to the spam checker...) -Rob A>

According to Mollom:

Centralized reputation management

The decision if content is spam or not is not solely based on the Language Analysis and Machine Learning based content analysis. Mollom internally builds a reputation of all users submitting content to any of the sites protected by Mollom. This cross-site reputation allows for a highly effective discrimination between spam and non-spam. Because the reputation is build over all the sites protected by Mollom we can very quickly detect spammers, and
completely block them from posting any spam content on the protected sites.

Note that content is only considered “spam” (and thus blocked without further checks) if both the reputation system and the content analysis agree that the user and the content can be considered spam. This way, it become practically impossible that Mollom wrongly blocks real users trying to submit content, even if they truly are having a conversation about e.g. Viagra.

And I guess that a script (or maybe the fact that you are adding an attachment) is more likely to trigger the content spam filter than a forum post or comment.

I travel a lot so I am usually logging in from different IP's. I also use TOR when on open wireless access points, so my IP's will continually be changing... The frustrating thing is that sometimes I get the captcha prompt, then after entering it end up getting the "you are spam" declaration... I would have thought once I was at the captcha stage, it would have been OK. Not sure what else to do about it from my end. -Rob A>

First of all, I noticed that a moderator has listed my script, and I thank him for that.

Any time I make a post or update a script, one of two things happen. Either (a) I get prompted with a captcha, or (b) I get the following message: "Your submission has triggered the installed spam filter and will not be accepted."

In the latter case, I am not prompted with a captcha and I have no way to make the post go through. This should never happen.

Also, the fact that every single post I make is challenged or rejected by the spam filter is more evidence that it is not working properly.

Now I give up. I tried up update a script. I was able to delete the old attachment, after filling in the captcha. When I tried to upload the new one it compains about triggering the span filter and says it won't be accepted. I didn't even change the body text. I switched to internet explorer to see if that would fix it, but no better. Oh yeah, the now USELESS script entry (with no attachment) is here: -Rob A>

Works for me. Without any problems.

I have a similar problem.

I wrote a script, which can be found here. If I click edit, then preview, I will get a captcha to fill in. However, if I either check the box to list my script or add "http://" in front of the URL, then my submission will be outright rejected.

Edit: It seems a moderator has listed my script. Thank-you, but I am unable to make any edits until the underlying problem is fixed.

From the very beginning, the spam filter has always attacked absolutely everything I do, even this comment. However, other people seem to have no problem. I can only conclude that the spam filter is bias against either my username or my IP address. Is there any reason the spam filter might think that all IPs from The University of Maine are spammers?

Since I am having so many problems with this site and the spam checker (possibly because the name I used here "RobA" is flagged as a spammer in their service), should I just create a new account with a new name and manually migrate my existing scripts to that account? -Rob A>

I'm no longer getting my submissions rejected. Has the filter been fixed?

I didn't do anything, but maybe Ingo changed something.

There isn't much to adjust on our side of the filter, though - basically just what objects are searched for spam, and what to do if the Mollom servers can't be reached.

Could be that Mollom is no longer marking your originatiing IP range as a spam haven, if that had been the reason previously.

Given the way that the filter seemed to target me, I would agree that it was because of my IP. Whatever the reason, I'm sure glad I can use this site freely now!

Since I created this new account as ffaat, I have not had any problems uploading scripts or replying to message threads... [edit: posting this,I did not get any captcha challenge...] -Rob A>

Using the RobA account, and I get the spam filter message an will have to fill out a captcha to post. So it may be a combination of user name and ip? -Rob A>

Rob, using your RobA account, try posting a message with a link to google, like this: That's <a href=""></a> Before that post would be rejected (no captcha). Now it's accepted (for me), without even a captcha.
Subscribe to Comments for "Can&#039;t create scripts"