The One Where Monica and Richard Are Just Friends - S3-E13
Factual error: Joey refers to several of his favorite parts of The Shining in 'code', including "all blank and no blank makes blank a blank blank, " which obviously refers to the "all work and no play makes Jack a dull boy" scene from the movie. However, that scene (and the one where Danny sees the two "blanks" in the hallway) is not found in the book; only in the movie. (00:13:55)
Suggested correction: I know they're talking about the book, but doesn't it actually make sense for Joey to be referencing the movie, even though the conversation is about the book? Considering the character, I don't think that's off at all. He's read the book, but he's obviously seen the movie, too.
Later in that scene, Ross references The Shining as a book Joey loves that stars Jack Nicholson. Therefore, it's safe to assume that Joey has seen the movie and the audience could infer that he may confuse the two often enough for Ross to reference it that way. This might just be another Joey mistake (which he has many) vs a factual error of the show.