ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

php errors comment_expiration_date/ Cannot modify header information

November 07, 2011 6:49pm

Subscribe [3]
  • #1 / Nov 07, 2011 6:49pm

    stevo_s

    176 posts

    Hi - when I try to create a post as a member I get these 2 Php errors at the top of the post page.
    Using 2.3.1

    A PHP Error was encountered
    Severity: Notice
    Message: Undefined index: comment_expiration_date
    Filename: cp/content_publish.php
    Line Number: 1615
    A PHP Error was encountered
    Severity: Warning
    Message: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/website/system/codeigniter/system/core/Exceptions.php:170)
    Filename: core/Common.php
    Line Number: 409

     

     

     

  • #2 / Nov 08, 2011 7:53am

    stevo_s

    176 posts

    Any help on how to fix these errors?

  • #3 / Nov 08, 2011 7:49pm

    Sean C. Smith

    3818 posts

    Hi stevo_s,

    Are you seeing this error on every channel? Is this a fresh 2.3.1 install or an upgrade from an earlier version?

    Sean

  • #4 / Nov 09, 2011 6:17am

    stevo_s

    176 posts

    It’s a 2.3.1 upgrade. Members see them when creating a new entry in a channel that doesn’t allow comments.
    I turned comments on and it seems to have gone, but not sure if it will come back.

  • #5 / Nov 09, 2011 8:19am

    Sue Crocker

    26054 posts

    Hi, stevo_s.

    I’ve seen a few cases when this happened, but never with a brand new install. As you saw, turning on comments would have written the database value for you. Try turning them back off again.. you should be fine.

  • #6 / Nov 09, 2011 8:37am

    stevo_s

    176 posts

    Turned it off and it doesn’t seem to have come back. Will keep an eye on it. cheers.

  • #7 / Nov 09, 2011 8:54am

    Sue Crocker

    26054 posts

    As I said, you should be fine. Feel free to start a new thread if you have any more questions.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases