Results 1 to 2 of 2

Thread: Warning: Cannot modify header information - headers already sent by

  1. #1
    Join Date
    Aug 2001
    Posts
    38

    Default Warning: Cannot modify header information - headers already sent by

    Hi

    This hasn't happened before, but when I try to login my admin on my indexu script, I get the following errors...

    Warning: Cannot modify header information - headers already sent by (output started at /home/mysite.com/public_html/files/themes/default/msg.php:1) in /home/mysite.com/public_html/files/lib/users.class.php on line 274

    Warning: Cannot modify header information - headers already sent by (output started at /home/mysite.com/public_html/files/themes/default/msg.php:1) in /home/mysite.com/public_html/files/lib/users.class.php on line 284

    Warning: Cannot modify header information - headers already sent by (output started at /home/mysite.com/public_html/files/themes/default/msg.php:1) in /home/mysite.com/public_html/files/lib/users.class.php on line 293

    Warning: Cannot modify header information - headers already sent by (output started at /home/mysite.com/public_html/files/themes/default/msg.php:1) in /home/mysite.com/public_html/files/login.php on line 70


    Any idea how to fix it? I'm running V3.0

    Thanks

  2. #2
    Join Date
    Sep 2002
    Posts
    60

    Default

    Hi Amanda,

    If memory serves me correctly what has happened her is that you have had this line of code entered into your msg.php file:

    <p>$nbsp;</p>

    Or something similar. You'll find it on line 1 of your msg.php file.

    I'm guessing that you opened up your msg.php file in a program such as frontpage, or dreamweaver. What happens here is when you save changes to the page, it adds a space to either the top or bottom of the page, you can find the line in the error message where is says "msg.php:1" etc.

    The best option is to either download a free php program, i use php coder pro, or open up the php file in something like notepad, delete the html code <p>$nbsp;</p> and then save the file again. FTP the new version and you should find that it works.

    Hope it helps

    Rob

Similar Threads

  1. headers already sent by....
    By affiliateguide in forum v5.x
    Replies: 0
    Last Post: 07-13-2004, 03:29 PM
  2. Seeking all the kickbutt programmers to
    By solmio in forum v5.x
    Replies: 5
    Last Post: 03-04-2004, 03:28 PM
  3. Moved indexU to a new server
    By SinisterX3 in forum v5.x
    Replies: 2
    Last Post: 02-01-2004, 08:41 AM
  4. Few errors.
    By G T in forum v5.x
    Replies: 7
    Last Post: 01-03-2004, 02:06 AM
  5. Getting lots of header errors
    By shalida in forum v5.x
    Replies: 3
    Last Post: 06-24-2003, 07: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
  •