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.

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.