WiltshireAirlines Posted August 22, 2014 Report Share Posted August 22, 2014 I know this question has been asked before but it didn't solve my problem. So, basically, whenever I login or log out it says that it can't modify header information: Warning: Cannot modify header information - headers already sent by (output started at /home/u800717564/public_html/core/modules/Mission/Mission.php:1) in /home/u800717564/public_html/core/modules/Login/Login.php on line 143 Warning: Cannot modify header information - headers already sent by (output started at /home/u800717564/public_html/core/modules/Mission/Mission.php:1) in /home/u800717564/public_html/core/modules/Login/Login.php on line 154 Now please note that Mission.php is a file that I created manually, and this morning I had problems with encoding with and without BOM - which is likely the problem. However, I've tried changing the encoding for all the files (login.php, mission.php and local.config.php) that are important for this error and nothing has worked. I had this problem last time, but last time it was whitespace - this time it's not whitespace, it's encoding. I use Notepad++ and I've tried changing the encoding multiple times, nothing works. Quote Link to comment Share on other sites More sharing options...
freshJet Posted August 22, 2014 Report Share Posted August 22, 2014 What's your first line in Mission.php? Quote Link to comment Share on other sites More sharing options...
WiltshireAirlines Posted August 22, 2014 Author Report Share Posted August 22, 2014 <?php But again remember that I think there's something hiding there due to the encoding. Quote Link to comment Share on other sites More sharing options...
WiltshireAirlines Posted August 22, 2014 Author Report Share Posted August 22, 2014 Fixed the problem simply by deleted mission.tpl, mysterious. Quote Link to comment Share on other sites More sharing options...
freshJet Posted August 22, 2014 Report Share Posted August 22, 2014 I wouldn't have thought it was an encoding issue. Leaving spaces before the PHP tag at the top can cause issues. What is the second line? My original quesiton should have been what is the first line after the PHP tag... Quote Link to comment Share on other sites More sharing options...
WiltshireAirlines Posted August 22, 2014 Author Report Share Posted August 22, 2014 I forget. What's so mysterious is that I copied and pasted the code that's in Mission.php to every other PHP module file, but only Mission.php had a problem. That's what I'm confused about. Quote Link to comment Share on other sites More sharing options...
freshJet Posted August 22, 2014 Report Share Posted August 22, 2014 So...do you not need the file anymore? Quote Link to comment Share on other sites More sharing options...
WiltshireAirlines Posted August 23, 2014 Author Report Share Posted August 23, 2014 I can do without it for now, I'll add it back later (probably recode it entirely, there was barely and code in it anyway) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.