Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7542141
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T08:05:11+00:00 2026-05-30T08:05:11+00:00

I have the weirdest thing happening on my site. My PHP script is outputting

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T08:05:13+00:00Added an answer on May 30, 2026 at 8:05 am

    Sounds like a caching problem. Try clearing it out…

    http://kb.siteground.com/article/How_to_clear_the_cache_in_Magento.html

    Magento keeps its cache in /var/cache located inside the Magento installation directory. So, for example, if your Magento is installed in your main public_html folder, the cache will be in public_html/var/cache.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The weirdest thing is happening to me... I have a form I'm sending via
Ok this is the weirdest thing I have seen in a while... I am
Internet Explorer 8 is doing the weirdest thing: I have a div with text,
I have a weirdest thing, in this peace of code a browser adds tags
This is the weirdest thing I have come across. I am including jQuery as
I have placed the facebook like button on a website, and the weirdest thing
this is the weirdest thing. My code is below: function menuSwipe(init){ dojo.query('div.fill div.container div.menu
Hey this is the weirdest problem i've ever encoutered, I have 2 projects that's
I know this one is the weirdest of all weird questions I have asked
This is the weirdest bug! It is probably something silly, but I have no

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.