Occasionally when a page on the site loads, and 100% of the time when I try to log in. Could anyone help me with these problems?

By the way, these issues are only present in internet explorer. The site works flawlessly in firefox and chrome.

Thanks
Ian

tangoforce

10-22-2012, 03:17 PM

Headers are sent before html output. Therefore once they are sent, thats it, they're sent. You can't change them. I have a link about this in my signature.

Also your error message shows you are making use of the eval() function a lot of times. eval is very useful but it does make debugging a little more complex if you don't know what you're doing and even those of us that do can't help you if you have no code to show.

If you're seeing differing things each time you load the page then you need to start by seperating your html and php because this suggests you have them mixed and are suffering logic flow / output issues because of it.

ichl13

10-23-2012, 09:42 AM

Thanks for the reply. I've tried temporarily removing all the html code from the php files but still get the same problem.

Why is it that the problem only occurs in internet explorer? Also, any chance you can take a look at the site's code for me if I give you access? I'm really stuck for ideas.

JohnRomanPHP

10-23-2012, 10:36 AM

Good day, Maybe you have issues on your coding. I do have an experience in creating websites. Sometimes, this error message shows up when your PHP code should be executed first before the header tag like accessing the database records.

Review your codes to ensure that you will not experience this error again.

Also, I advice that you work not only in internet explorer for there are new browser now being used by people. Don't get stuck with IE try to explore new things.

Good luck. =)

tangoforce

10-23-2012, 01:22 PM

Thanks for the reply. I've tried temporarily removing all the html code from the php files but still get the same problem.

Why is it that the problem only occurs in internet explorer? Also, any chance you can take a look at the site's code for me if I give you access? I'm really stuck for ideas.

I'm not logging into your site I'm afraid. To you, I'm a complete stranger and that opens the way for accusations of hacking, file damage, etc. Sorry I don't want that! Addionally, you could be a hacker with stolen login details wanting to get a 3rd party to login to a site to test it / get their IP logged. That technique is called social engineering because you're convincing someone else to do something for you without them being aware of the consequences.

You can however post your code here by replying to this thread. Please be sure to put your code inside
tags for php / mixed html and php OR
tags for plain html.

Sometimes, this error message shows up when your PHP code should be executed first before the header tag like accessing the database records.

Review your codes to ensure that you will not experience this error again.

Also, I advice that you work not only in internet explorer for there are new browser now being used by people. Don't get stuck with IE try to explore new things.

Thats not really helping is it. Also the op is clearly working with multiple browsers because they have said this error only happens in IE (meaning it doesn't happen in others that they've tested it in). How does reviewing code mean that the error will not happen again? :confused: You need to find and fix the bug :thumbsup: