Results 1 to 3 of 3

Thread: Can't log in now, headers already sent?!

  1. #1
    jcary is offline Registered User
    Join Date
    Jul 2002
    Location
    New York, NY
    Posts
    20

    Default Can't log in now, headers already sent?!

    Hi,

    I was trying to add a custom field recently and apparently did the wrong thing cause now I can't log in! I added a php field using the 'alter' method in the control panel. Now I receive this error when trying to log in to the CP:

    Code:
    Warning: Cannot add header information - headers already sent by (output started at /act/public_html/shop/themes/default/msg.php:1) in /act/public_html/shop/lib/users.class.php on line 274
    
    Warning: Cannot add header information - headers already sent by (output started at /act/public_html/shop/themes/default/msg.php:1) in /act/public_html/shop/lib/users.class.php on line 284
    
    Warning: Cannot add header information - headers already sent by (output started at /act/public_html/shop/themes/default/msg.php:1) in /act/public_html/shop/lib/users.class.php on line 293
    
    Warning: Cannot add header information - headers already sent by (output started at /act/public_html/shop/themes/default/msg.php:1) in /act/public_html/shop/login.php on line 83
    Little help please so I can restore the defaults and/or log in.

    Thanks!

    JC

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

    Default

    Check again /themes/default/msg.php. Make sure there's no space in 1st line. It should be <?
    www.nicecoder.com
    www.dodyrw.com

  3. #3
    jcary is offline Registered User
    Join Date
    Jul 2002
    Location
    New York, NY
    Posts
    20

    Default

    Thank you Dody,

    Works like a charm now!!

    JC

Similar Threads

  1. Headers Already Sent (Can't fix)
    By andmunn in forum v5.x
    Replies: 6
    Last Post: 03-23-2005, 10:24 PM
  2. PHP Integration - Php Headers
    By brickholius in forum Pre-Sales Questions
    Replies: 2
    Last Post: 10-19-2004, 04:00 PM
  3. headers already sent by....
    By affiliateguide in forum v5.x
    Replies: 0
    Last Post: 07-13-2004, 04:29 PM
  4. Duplicate Headers?
    By Hart_House in forum v5.x
    Replies: 1
    Last Post: 09-25-2003, 06:49 AM
  5. Replies: 1
    Last Post: 08-10-2003, 08:02 AM

Posting Permissions

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