Jump to content

Help with an unexpected error [SOLVED]


Recommended Posts

Posted

I recently created some hub pages which work fine. but since whenever i go gto log in i get this error.

Warning: Cannot modify header information - headers already sent by (output started at /home/atlasvi1/public_html/core/modules/eddf/eddf.php:2) in /home/atlasvi1/public_html/core/modules/Login/Login.php on line 154

if i go to log in again i get the " error you are already logged in" and can proceed as normal.

my eddf.php is very simple just shows

<?php
class eddf extends CodonModule
{

       public function index()
       {    
       Template::Show('eddf_hub.tpl');
       }
}

?>

the login.php line 154 is this

header('Location: '.url('/'.$this->post->redir));

any ideas?

  • Administrators
Posted

It is a white space error. Look at all your modified php core files and see if there is any white space before the opening php tag or after the closing tag. Make sure you try to clear any space after the closing tag, even if it looks like it is the last line.

The error showing on line 154 is just where it catches up with it, it is somewhere before that in that file or a file called prior to that.

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...