Support » Plugin: mb.miniAudioPlayer - an HTML5 audio player for your mp3 files » Header error and no downloads with new update

  • Resolved newdharma12

    (@newdharma12)


    I recently updated the player and now I have a header error at the bottom of my website and the downloads don’t always work. I get this error on the bottom of the page:

    “Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at /home/satshree/public_html/wp-content/themes/Divi/header.php:3) in /home/satshree/public_html/wp-content/plugins/wp-miniaudioplayer/miniAudioPlayer.php on line 266”

    And this error when clicking the download link:

    “Something goes wrong, you don’t have permission to use this page, sorry.”

    SITE: satshree.org

    https://wordpress.org/plugins/wp-miniaudioplayer/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter newdharma12

    (@newdharma12)

    Two errors actually appear:

    Warning: session_start(): Cannot send session cookie – headers already sent by (output started at /home/satshree/public_html/wp-content/themes/Divi/header.php:3) in /home/satshree/public_html/wp-content/plugins/wp-miniaudioplayer/miniAudioPlayer.php on line 266

    Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at /home/satshree/public_html/wp-content/themes/Divi/header.php:3) in /home/satshree/public_html/wp-content/plugins/wp-miniaudioplayer/miniAudioPlayer.php on line 266

    Plugin Author pupunzi

    (@pupunzi)

    Hi,
    I just update the plugin to v. 1.7.8 with a fix that should solve your issue.
    Let me know if it does.

    Bye,
    Matteo

    Thread Starter newdharma12

    (@newdharma12)

    Thank you. Sorry, I get this error now:

    Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at /home/satshree/public_html/wp-content/themes/Divi/header.php:3) in /home/satshree/public_html/wp-content/plugins/wp-miniaudioplayer/miniAudioPlayer.php on line 267

    And downloads still get this error:

    “Something goes wrong, you don’t have permission to use this page, sorry.”

    Plugin Author pupunzi

    (@pupunzi)

    Hi, give a try to the latest 1.7.9 release, just made a change to fix this issue.
    Let me know.

    I am getting this error message on my website with your plug in.
    “Something goes wrong, you don’t have permission to use this page, sorry.”

    http://www.highlandcrestbaptist.com/wp-admin/options-general.php?page=wp-miniaudioplayer%2FminiAudioPlayer-admin.php

    http://www.highlandcrestbaptist.com/resources/sermons/

    Please advise how I can fix this.

    Plugin Author pupunzi

    (@pupunzi)

    @ginghawk:
    try replacing this two lines (12 and 13) in map_download.php:

    if(!isset($_COOKIE["mapdownload"]) || $_COOKIE["mapdownload"] !== "true" || !isset($_SESSION['host']) || $_SESSION['host'] != $_SERVER['HTTP_HOST'])
      die ('<b>Something goes wrong, you don\'t have permission to use this page, sorry.</b>') ;

    with:

    if(!isset($_SESSION['host']) || $_SESSION['host'] != $_SERVER['HTTP_HOST'])
      die ('<b>Something goes wrong, you don\'t have permission to use this page, sorry.</b>') ;

    Thank you for your quick response. I replaced the line you suggested, but I still get the same error. Any other ideas?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Header error and no downloads with new update’ is closed to new replies.