WordPress.org

Support

Support » How-To and Troubleshooting » Comment reply and i get this page?

Comment reply and i get this page?

  • whenever i reply on my blog, i receive a page saying on top of a column asking to type the Captcha.

    Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home/freakzte/domains/freakzter.com/public_html/el/wp-content/plugins/SK2/sk2_second_chance.php:2) in /home/freakzte/domains/freakzter.com/public_html/el/wp-content/plugins/wordpress-automatic-upgrade/wordpress-automatic-upgrade.php on line 83

    what does that mean? the page work perfectly, but i dont like to see the error lines on the page.

Viewing 1 replies (of 1 total)
  • The sk2_second_chance.php includes wp-config.php after an output is already done. This causes “cannot modify header information” errors if other plugins need to send a header (for example to set a cookie) via the init- or plugins_loaded- hook of WordPress.

    Simple fix: In sk2_second_chance.php the config has to be loaded first. Insert a new line with the wp-config.php inclusion code at the very top of sk2_second_chance.php:
    <?php require_once('../../../wp-config.php'); ?>
    Than remove the old wp-config.php inclusion line (old line 3, now line 4):
    require_once('../../../wp-config.php');

    Regards,
    René

    http://www.rene-ade.de

Viewing 1 replies (of 1 total)
  • The topic ‘Comment reply and i get this page?’ is closed to new replies.