I have the weirdest thing happening on my site. My PHP script is outputting different content depending upon whether there’s a query mark (?) present or not. It doesn’t matter if there is a query string present after the mark or not – the simple presence of the “?” changes the output. I didn’t code anything to even look for that query mark let alone do anything differently depending upon if it found it or not. It’s driving me nuts! Could there be an explanation for why this is happening?
Here are sample links: 1) …html, 2) …html? (The most significant changes occur in the month of March.)
EDIT: Sorry, I didn’t think the code would be very helpful, and there’s a ton of it. I don’t think you’ll be able to “recreate the issue” since this code depends on Magento to run, but here it is. (I had to strip out a lot of comments to get it under the size requirements.)
EDIT: Code removed since it wasn’t useful or pertinent to finding the answer.
Sounds like a caching problem. Try clearing it out…