Cannot Modify header information?

Discussion in 'PHP' started by theblurr5495, Dec 13, 2009.

  1. #1
    After saving a plugin in wordpress, I got this error:

    Warning: Cannot modify header information - headers already sent by (output started at /home3/thecomq3/public_html/webjourney/wp-content/themes/thesis_16/custom/custom_functions.php:2) in /home3/thecomq3/public_html/webjourney/wp-includes/pluggable.php on line 865

    I deleted the plugin, but the error remains. Any ideas on how to fix this?

    Thanks!
     
    theblurr5495, Dec 13, 2009 IP
  2. vinpkl

    vinpkl Active Member

    Messages:
    899
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    58
    #2
    header already sent message appears
    when you echo something before calling header().

    vineet
     
    vinpkl, Dec 13, 2009 IP
  3. theblurr5495

    theblurr5495 Active Member

    Messages:
    436
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #3
    What do I do to fix it? I have no knowledge of php.
     
    theblurr5495, Dec 13, 2009 IP
  4. kp_mastermind

    kp_mastermind Active Member

    Messages:
    885
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    58
    #4
    if you have got cpanel , go to custom_functions.php , select code edit and remove spaces special characters from the top of the file.

    if you dont have cpanel use a good text editor and remove those chars.

    If you don't get it then mail me the file. PM me for my mail id, i will do it
     
    kp_mastermind, Dec 13, 2009 IP
    theblurr5495 likes this.
  5. theblurr5495

    theblurr5495 Active Member

    Messages:
    436
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #5
    Thanks a lot; fixed.
     
    theblurr5495, Dec 13, 2009 IP
  6. kp_mastermind

    kp_mastermind Active Member

    Messages:
    885
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    58
    #6
    you're welcome:cool:
     
    kp_mastermind, Dec 13, 2009 IP