Results 1 to 3 of 3

Thread: Warning: Cannot modify header information - headers already sent by (output started a

  1. #1
    nerede is offline Registered User
    Join Date
    Aug 2005
    Posts
    6

    Default Warning: Cannot modify header information - headers already sent by (output started a

    I am getting the error message: Warning: Cannot modify header information - headers already sent by (output started at /home/public_html/upload/themes/default/msg.php:1)

    when I try to login as admin.

    I changed something today: I had made a custom front page, and I wanted to monitor who came on via the IndexU admin, so I copied the code to my custom front page:

    <?
    include("upload/application.php");
    include("upload/lib/nusoap/nusoap.php");

    session_start();

    if(isset($COOKIE_USERNAME))
    $_SESSION['indexu_session_username'] = $COOKIE_USERNAME;

    $_SESSION['indexu_session_location'] = "Home Page";
    $_SESSION['indexu_session_ip'] = $_SERVER["REMOTE_ADDR"];
    ?>


    Could this be why I'm no able to login to the admin?

    Thanks

  2. #2
    tstaut is offline Registered User
    Join Date
    Feb 2005
    Posts
    8

    Default

    Try here, sounds like same problem:

    help

  3. #3
    dody is offline Administrator
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,731

    Default

    Open your ftp client, download /themes/default/msg.php
    Edit this file using notepad/texteditor.
    Make sure there's no space before <? and after ?>
    Then re-upload again.
    www.nicecoder.com
    www.dodyrw.com

Similar Threads

  1. Problem With Install.php
    By hysteriaweb in forum v5.x
    Replies: 32
    Last Post: 09-21-2005, 03:28 AM
  2. Replies: 4
    Last Post: 08-14-2005, 06:57 PM
  3. headers already sent by....
    By affiliateguide in forum v5.x
    Replies: 0
    Last Post: 07-13-2004, 04:29 PM
  4. Replies: 1
    Last Post: 08-10-2003, 08:02 AM
  5. Getting lots of header errors
    By shalida in forum v5.x
    Replies: 3
    Last Post: 06-24-2003, 08:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •