Jump to content

Some error messages when I log in


thomas2360

Recommended Posts

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

Link to comment
Share on other sites

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,

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 weeks later...

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 .

Link to comment
Share on other sites

  • 3 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...