thomas2360 Posted March 18, 2011 Report Share Posted March 18, 2011 Hello everybody! I have a litle problem. Well, when I log myself on the website of my VA it tell me: " Warning: Cannot modify header information - headers already sent by (output started at /home/aerogalv/domains/worldskyairline.com/public_html/web/core/app.config.php:1) in /home/aerogalv/domains/worldskyairline.com/public_html/web/core/modules/Login/Login.php on line 154" and when I disconnect: "Warning: Cannot modify header information - headers already sent by (output started at /home/aerogalv/domains/worldskyairline.com/public_html/web/core/app.config.php:1) in /home/aerogalv/domains/worldskyairline.com/public_html/web/core/common/Auth.class.php on line 341 Warning: Cannot modify header information - headers already sent by (output started at /home/aerogalv/domains/worldskyairline.com/public_html/web/core/app.config.php:1) in /home/aerogalv/domains/worldskyairline.com/public_html/web/core/modules/Logout/Logout.php on line 26" Thank you for your help! Thomas Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted March 19, 2011 Administrators Report Share Posted March 19, 2011 You have white space in a core php file that you have edited, most likely right before the opening php tag. Very common error if you search for it. Quote Link to comment Share on other sites More sharing options...
thomas2360 Posted March 19, 2011 Author Report Share Posted March 19, 2011 You have white space in a core php file that you have edited, most likely right before the opening php tag. Very common error if you search for it. Sorry but I didn't find any solution! Quote Link to comment Share on other sites More sharing options...
Tomgis34 Posted March 22, 2011 Report Share Posted March 22, 2011 We have still some errors : At login : Warning: Cannot modify header information - headers already sent by (output started at /home/aerogalv/domains/worldskyairline.com/public_html/web/core/app.config.php:1) in /home/aerogalv/domains/worldskyairline.com/public_html/web/core/modules/Login/Login.php on line 143 Code : { $cookie = "{$session_id}|{$pilotid}|{$_SERVER['REMOTE_ADDR']}"; $res = setrawcookie(VMS_AUTH_COOKIE, $cookie, time() + Config::Get('SESSION_LOGIN_TIME'), '/'); } At Logout : Warning: Cannot modify header information - headers already sent by (output started at /home/aerogalv/domains/worldskyairline.com/public_html/web/core/app.config.php:1) in /home/aerogalv/domains/worldskyairline.com/public_html/web/core/common/Auth.class.php on line 301 Code : # Delete cookie $_COOKIE[VMS_AUTH_COOKIE] = ''; setcookie(VMS_AUTH_COOKIE, true); Have you got any solution ? Regards, Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted March 22, 2011 Administrators Report Share Posted March 22, 2011 You've got a blank space or something, either in a configuration file, or if you've got any addons Quote Link to comment Share on other sites More sharing options...
thomas2360 Posted April 8, 2011 Author Report Share Posted April 8, 2011 Hello, We have checked all our configuration files but we haven't found any errors. Can someone explain how to solve this problem? Thank you for your help! Thomas Quote Link to comment Share on other sites More sharing options...
Tomgis34 Posted April 16, 2011 Report Share Posted April 16, 2011 No solution ? Quote Link to comment Share on other sites More sharing options...
Connor1994 Posted April 16, 2011 Report Share Posted April 16, 2011 Perhaps trying to restore some of the default files in /core Just a guess, because if you have edited any of them you are suppose to put them into your skins folder, if you haven't then I suggest restoring /core Not sure, maybe someone else can enlighten Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted April 16, 2011 Moderators Report Share Posted April 16, 2011 Check you local.config.php you have a white space. Quote Link to comment Share on other sites More sharing options...
Nuclear Posted April 16, 2011 Report Share Posted April 16, 2011 Just as an additional note: I would suggest not using Notepad or Wordpad to edit PHP files. Over the years, I've found that they can do some strange things, like adding extra formatting characters which are not readily visible. I suggest using something specifically made for editing source code. I personally use Notepad++. Not only does it not jack up the formatting, it includes such things as syntax highlighting and auto-indent, which makes editing and writing code much easier . Quote Link to comment Share on other sites More sharing options...
Tomgis34 Posted April 16, 2011 Report Share Posted April 16, 2011 I have checked all config files with Notepad ++ and I found no white space and I have always problems Quote Link to comment Share on other sites More sharing options...
James142 Posted August 15, 2011 Report Share Posted August 15, 2011 What files should I check? Just the app.config and local.config? I am having the same problem and I cannot find the white space Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted August 15, 2011 Moderators Report Share Posted August 15, 2011 To edit files i use http://araneae.en.softonic.com/ Quote Link to comment Share on other sites More sharing options...
James142 Posted August 15, 2011 Report Share Posted August 15, 2011 To edit files i use http://araneae.en.softonic.com/ Would that point out the error? (blank space) Quote Link to comment Share on other sites More sharing options...
Strider Posted August 15, 2011 Report Share Posted August 15, 2011 James's error has been fixed, look out for  click on show hidden characters in the local.config file. 1 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.