WordPress.org

Ready to get started?Download WordPress

Forums

User Submitted Posts
[resolved] Cannot send session cache limiter (3 posts)

  1. msdavinci
    Member
    Posted 1 year ago #

    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/

  2. Jeff Starr
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  3. msdavinci
    Member
    Posted 1 year ago #

    Thanks, Jeff.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.