Jump to content

Some weird include problem?


Twister1004

Recommended Posts

Hey guys!

 

Well this is actually kind of a weird problem I have been having, and not too sure why I'm getting this problem. I've tried a lot of stuff, and it doesnt seem like I've been able to find a solution. I've been trying for about a month.

 

Anyways, I have a website created with some OOP. Well, once I write an include statement to include a file, which then includes all my classes, it messes up my font, moves my website content down, and well.. it just does weird stuff.

 

However, once I comment the include out, the website looks normal again.

 

so basically, I can comment out the file itself and everything is just fine. But it only happens when I include my class files.

 

Any ideas or suggestions would be amazing! Thank you!

 

 

 

Link to comment
Share on other sites

There's some kind of output in one of those files that shouldn't be there.

 

Do a View Source on a bad page and see what's wrong. Odds are it's an error message but it could be something as innocent as whitespace in a bad place.

 

I have looked at the source code with and without, and there is no difference. There is not an error, or any difference in code within the output.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.