thomas2360 Posted March 18, 2011 Report 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
Administrators simpilot Posted March 19, 2011 Administrators Report 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
thomas2360 Posted March 19, 2011 Author Report 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
Tomgis34 Posted March 22, 2011 Report 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
Administrators Nabeel Posted March 22, 2011 Administrators Report 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
thomas2360 Posted April 8, 2011 Author Report 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
Connor1994 Posted April 16, 2011 Report 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
Moderators mark1million Posted April 16, 2011 Moderators Report Posted April 16, 2011 Check you local.config.php you have a white space. Quote
Nuclear Posted April 16, 2011 Report 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
Tomgis34 Posted April 16, 2011 Report Posted April 16, 2011 I have checked all config files with Notepad ++ and I found no white space and I have always problems Quote
James142 Posted August 15, 2011 Report 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
Moderators mark1million Posted August 15, 2011 Moderators Report Posted August 15, 2011 To edit files i use http://araneae.en.softonic.com/ Quote
James142 Posted August 15, 2011 Report Posted August 15, 2011 To edit files i use http://araneae.en.softonic.com/ Would that point out the error? (blank space) Quote
Strider Posted August 15, 2011 Report 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
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.