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

I meet these questions frequently. They describe syntax error (example) which does not happen and CAN'T happen on given code. ()

Should I answer that everything is allright and problem is in another snippet of the code?

share|improve this question
up vote 14 down vote accepted

No, I'd comment, along the lines of:

I couldn't reproduce your [syntax error]. Maybe you can post [a more complete example], your problem might be a different one.

Because, if there's nothing to fix in the current question (e.g. a code example given), how are you ever going to correctly answer this? Wait until you get to the real problem, and then solve it with a real answer.

share|improve this answer
I did this once already, and OP just said "it works now". But, thanks for response! – genesis Oct 9 '11 at 15:55
Well, then the OP found a Heisenbug :) – seriously though, if they said "it works now", without posting their own solution, and without any details about why it does, the question should be deleted, because it's not going to be useful for anybody. – slhck Oct 9 '11 at 15:57
I hate Heisenbug :p – genesis Oct 9 '11 at 16:05

In those cases, I just leave a comment saying it works.

If I am in a good mood, I'll also post a link to show the code works (eg: jsfiddle, ideone, codepad, viper7 for php)

No better way to tell the OP their code works than showing that it works.

share|improve this answer

Voting to close as 'not a real question' is appropriate if the context and tone of the question leaves you confident that either (a) they haven't, in fact, posted the code that they are getting the error on or (b) they have some bizarre and personal environment at fault. The latter might be 'too localized'.

share|improve this answer

You must log in to answer this question.

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