Forums » SEPHP Help and Tips

Error log

    • 23 posts
    April 18, 2021 5:38 AM EDT

    Does anyone know what this is or how to fix it?

     

    [18-Apr-2021 07:09:42 UTC] PHP Warning:  ob_start(): output handler 'ob_gzhandler' conflicts with 'zlib output compression' in /home/roulettecalc/public_html/application/index.php on line 124
    [18-Apr-2021 07:09:42 UTC] PHP Notice:  ob_start(): failed to create buffer in /home/roulettecalc/public_html/application/index.php on line 124
    • 23 posts
    April 18, 2021 5:39 AM EDT

    Here is the segment of code it is referring to:

     

    // Get Gzipping Option
    if (file_exists(APPLICATION_PATH_SET . DS . 'cache.php')) {
    $cache_array = include APPLICATION_PATH_SET . DS . 'cache.php';
    if (isset($cache_array['frontend']['core']['gzip'])) {
    if ($cache_array['frontend']['core']['gzip'] == true) {
    if (!empty($_SERVER['HTTP_ACCEPT_ENCODING']) && substr_count($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip')) {
    ob_start("ob_gzhandler");
    } else {
    ob_start();
    }
    }
    }
    }

    This post was edited by Donna at April 19, 2021 4:54 AM EDT
    • Moderator
    • 5579 posts
    April 19, 2021 4:55 AM EDT

    Follow posting guidelines when posting code. I fixed yours rather than delete which is normal policy. The code tag button is to the right of the smiley button. It will create a popup to add your code.

    • Moderator
    • 5579 posts
    April 19, 2021 4:57 AM EDT

    I'm not sure about the error you show but please have the host check our requirements in case it is a conflict. https://www.socialengine.com/support/article/81788966/se-php-socialengine-requirements