Some error messages when I log in

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

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.

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!

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,

You’ve got a blank space or something, either in a configuration file, or if you’ve got any addons

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

No solution ?

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

Check you local.config.php you have a white space.

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 .

I have checked all config files with Notepad ++ and I found no white space and I have always problems

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

To edit files i use http://araneae.en.softonic.com/

To edit files i use http://araneae.en.softonic.com/

Would that point out the error? (blank space)

James’s error has been fixed, look out for



click on show hidden characters in the local.config file.

1 Like