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 7609263
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T01:07:55+00:00 2026-05-31T01:07:55+00:00

I have a very strange problem and i don’t know what to do about

  • 0

I have a very strange problem and i don’t know what to do about it. My site seems to work just fine all browsers other than internet explorer, so i’ve been trying to figure out why.

I’ve narrowed it down to the a file that I’m including in my site, this file is a php class that has a number of different functions like login getters and setters and so on.

I took all the php code out of my pages and it renders fine, so i added the php back in line by line and released that it stopped working when i used this:

 require_once 'classes/Membership2.php';

Does anyone know why some php code will be messing with the style of my website.

For more detail on the matter, i have a number of divs that are centered, they all have curved edges as well as shadows. So by taking away the php i can see that IE is loading the page properly, no incompatibilities or anything like that.

Has anyone had a problem like this before? While i’m waiting for an aswesome or two i’ll be removing functions and part of the code till i can narrow it down. (I would give code, but the file has a lot of lines of code.)

Thanks for the help.

Oh yeah and I’m testing on Internet Explorer 9 and every other browser is the latest version or close enough.

Okay so i’ve done some more digging into this, i’ve found that if i delete all the code in the class (All the functions) and leave just and empty class in the include file it still doesn’t work. Okay, so in my view that means the functions aren’t whats making this problem. So i deleted EVERYTHING, so now the include points to a blank php file. This worked and the page rendered as it should but obviously there is no functionality, i can’t login or anything like that. I decided to add a constructor instead of leaving it as default, this function does nothing but return true; and it made the site mess up again.

Does this info change anything? Also i’m reiterating the fact that i do not get this error or any other browser but Internet Explorer 9 (Haven’t tried any other IE version).

Thanks again for the help.

Okay, so i’ve solved the problem. At the start of my PHP class i have used

 <!-- blah blah blah -->

forgetting that there is only PHP in this document and no HTML. So when i include the file it just outputs that into my source code and and messes things up, should have used the PHP commenting style.

Still strange that EVERY browser other than IE just ignores this and goes about its business, even the site that @blankabout suggested didn’t give me any error (Although i assure thats because its part of the included PHP file and not the HTML itself).

  • 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-31T01:07:56+00:00Added an answer on May 31, 2026 at 1:07 am

    as @fajran says to you, save both outputs with “view source code” on the browser and compare them to find the diference. To compare outputs use winmerge or similar tool. Once you now which text it generating the trouble, modify it inside the include file.

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

Sidebar

Related Questions

The problem seems very strange. I have a AJAX helper function within a same
I have this very strange problem while compiling the project. MOC seems to be
I have a very strange problem , please don’t ask me why do I
We have very strange problem, one of our applications is continually querying server by
I have a very strange problem. Under some elusive circumstances I fail to apply
I have a very strange problem, when I try to var_dump (or print_r )
I have a very strange problem with the Delphi 2006 IDE. If the IDE
I use the memcache extension for python, and I have a very strange problem.
Im having a very strange problem, i have a complicated view that returns incorrect
We have encountered a very strange class not found problem in our web app

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.