WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: WPMU Super CAPTCHA] Cannot send session cache limiter - headers already sent (7 posts)

  1. CatalysTim
    Member
    Posted 4 years ago #

    I'm having problems getting this to work on my WPMU setup. After successfully installing and activating this plugin, my login page no longer works and I have users having problems signing up for new accounts due to the above mentioned errpr. The full error is as the following:

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /public_html/wp-content/themes/azul/header.php:7) in /public_html/wp-content/plugins/super-capcha/super-captcha.php on line 1153

    My site is at http://www.mejournals.com/. Thanks!

    http://wordpress.org/extend/plugins/super-capcha/

  2. CatalysTim
    Member
    Posted 4 years ago #

    Help? Anyone?

  3. WebTrooper
    Member
    Posted 4 years ago #

    Exact same problem here. Hoping to bump this topic and get some help, anybody? :)

    I'll post back if I find anything

  4. joshmac
    Member
    Posted 4 years ago #

    Make sure there are no blank lines at the end of the super-captcha.php file.

  5. WebTrooper
    Member
    Posted 4 years ago #

    Thanks for the fast reply, parkstreet. My super-captcha.php stops at the final ?> line with no spaces or line breaks after that. The line at 1163 is session_start(); in the following..

    function Securimage()
      {
        if ( session_id() == '') { // no session has been started yet, which is needed for validation
          session_start();
        }
      }

    thanks

  6. joshmac
    Member
    Posted 4 years ago #

    Oh, sorry. I missed that. So, I am guessing you are using the same theme or has the same "output started" pointed at the theme's header. If there is a session start in your theme header, delete it. I've never known a WordPress theme to have "session_start()" in it nor the purpose of it.

  7. WebTrooper
    Member
    Posted 4 years ago #

    Lines 12 - 15 in super-captcha.php

    if ( session_id() == '')
    { // no session has been started yet, which is needed for validation
          // session_start();
    }

    uncomment session_start();

    if ( session_id() == '')
    { // no session has been started yet, which is needed for validation
          session_start();
    }

    It's probably the same solution for CatalysTim.

    You may not have nailed the problem, parkstreet, but you kept me searching and that made all the difference. Thanks big time! =)

Topic Closed

This topic has been closed to new replies.

About this Topic