Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

Please disallow any post whose title is

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource

Or whose body content contains this text for users of less than 500 rep.

There are a million, bazillion, gazillion duplicates of the same old "I didn't check the result of mysql_query" "question" and at times they're pouring through at a rate of one every couple of hours. It is no longer tractible to go through them all and mark as dups manually, so perhaps we can have some sort of script to do this for us, whilst we're at it?

share|improve this question
Loosely related to… – Lightness Races in Orbit Sep 16 '11 at 13:40
+1 for the spirit of the suggestion - although getting them blocked is probably unrealistic. Still, having a canonical version would be nice - I tried something to that end once in Reference: What is a perfect code sample using the mysql extension? – Pëkka Sep 16 '11 at 13:42
@phihag: Touché ;) – Lightness Races in Orbit Sep 16 '11 at 13:43
@Tomalak Geret'kal The prompt closure as a dup is karmic ;) – phihag Sep 16 '11 at 13:45
up vote 7 down vote accepted

No. Blocking them automagically can not be a solution.

But you could follow the approach you know from the . Yes, it is not practical if you have loads of questions and going through them, but banning a words/phrases can not be the solution to this. What if someone has a legit question about that error? Or wants to include it in the context of a bigger question?

Also new users have shown a very good resistance against helpful messages and sometimes very creative ways to get around them.

share|improve this answer
If you read this question again, you'll see that the problem here is one of sheer volume. I know how to close as duplicates, but this specific topic is like a torrent of urine that just won't stop torrenting. It's become intractible to stop it. – Lightness Races in Orbit Sep 16 '11 at 14:07
(And, FWIW, I have several questions and answers on the c++-faq tag myself.) – Lightness Races in Orbit Sep 16 '11 at 14:07
Well then, I'll stick to my opinion that banning them automatically will not fix it. – Time Traveling Bobby Sep 16 '11 at 14:13
How so? By definition, if the source of the problem is terminated, the problem will go away. – Lightness Races in Orbit Sep 16 '11 at 14:14
Because people have always been creative if it comes to outrun automatic bans. Also, to be honest, I'd like to keep them away from Meta (Why can't I post my question!!!1!1!!). There's also the slight possibility that somebody will have valid question containing that text/error message. – Time Traveling Bobby Sep 16 '11 at 14:17
If someone's determined enough to decide to ignore "your question has already been answered; cannot post question" and re-word their question to get around it, they were probably determined enough to do a search or just read the frickin' manual in the first place. Ideally. – Lightness Races in Orbit Sep 16 '11 at 14:20
I wish it would be that way. :( When the LMGTFY-Ban kicked in, people started to use URL-Shorteners to hide that stuff. Hell, some of them even came to Meta asking why they can't post it. And there are a lot of options, like a PasteBin, I receive error, please look here: pastebin. There are also still people coming here asking why they can't post questions, quoting the exact error message with the link to the FAQ in it. – Time Traveling Bobby Sep 16 '11 at 14:26
Still, something has to be done. – Lightness Races in Orbit Sep 16 '11 at 14:28
On that one I totally agree with you...but I don't believe that an automatic ban is that solution. And before you ask, no, I don't have a better idea right now, sorry. – Time Traveling Bobby Sep 16 '11 at 14:32
I wasn't going to say it :) – Lightness Races in Orbit Sep 16 '11 at 14:33

I don't think that it's necessary to disallow posts with particular titles like this. However, I would support—and have already requested—a feature to add title uniqueness to the heuristics for detecting low-quality questions. Your concern here seems to be a specialized case of my request.

I think that you are grossly overstating the number of questions with "supplied argument is not a valid MySQL result resource" in the title, however. I made a simple Data Explorer query to search for posts like this (flag away!) and it only found 55, not "a million, bazillion, gazillion duplicates" that are "pouring through at a rate of one every couple of hours."

share|improve this answer
@TomalakGeret'kal Thanks; added. (By the way, did we just get name auto-completion in comments?) – Chris Frederick Sep 16 '11 at 18:00
@Ch: I don't know; did we? [edit: no] – Lightness Races in Orbit Sep 16 '11 at 18:12
@Tomalak protip: conversations between the OP and 1 other person don't need @postowner mentions and the completer knows this – Jeff Atwood Sep 17 '11 at 8:43
@JeffAtwood: Ah, ok. Seemed to work for Chris, though? – Lightness Races in Orbit Sep 17 '11 at 19:38
@TomalakGeret'kal Yep, name autocompletion still works for me. Perhaps the post owner can use it even when the other person cannot? – Chris Frederick Sep 18 '11 at 0:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .