WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Cannot send session cache limiter

[Resolved] Cannot send session cache limiter

  • What does this mean? Form works okay, but I don’t want this message on the screen.

    [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home/pbbetrai/public_html/boat/wp-content/themes/sunspot/home.php:10) in /home/pbbetrai/public_html/boat/wp-content/plugins/user-submitted-posts/views/submission-form-classic.php on line 5

    http://wordpress.org/extend/plugins/user-submitted-posts/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jeff Starr

    @specialk

    In the file, “/views/submission-form-classic.php” find the following lines:

    session_start();
    $title      = $_SESSION['title'];
    $content    = $_SESSION['content'];
    $authorName = $_SESSION['authorName'];
    $authorUrl  = $_SESSION['authorUrl'];
    $tags       = $_SESSION['tags'];
    $captcha    = $_SESSION['captcha'];
    $category   = $_SESSION['category'];

    And either remove them or comment them out. That will prevent the Warning, but will also prevent the form from “remembering” field values that were input by the user. I plan on removing these lines in the next update.

    Thanks, Jeff.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Cannot send session cache limiter’ is closed to new replies.