WordPress.org

Support

Support » Plugins and Hacks » [Plugin: ProPlayer] Can't activate. Get parsing error.

[Plugin: ProPlayer] Can't activate. Get parsing error.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Me too, please correct this ASAP…
    My blog needs this plugin.

    overide line 2 – 6 in playlist-controller.php with this code

    if (file_exists(dirname(dirname(dirname(dirname(__FILE__))))) . "/wp-config.php") {
          require_once dirname(dirname(dirname(dirname(__FILE__)))) . "/wp-config.php";
       } else {
          require_once dirname(dirname(dirname(dirname(dirname(__FILE__))))) . "/wp-config.php";
       }

    the programmer have many bugs in this file

    SOLVED:
    Edit the playlist-controller.php and change this
    `if file_exists(dirname(dirname(dirname(dirname(__FILE__))))) . “/wp-config.php”) {
    require_once dirname(dirname(dirname(dirname(__FILE__)))) . “/wp-config.php”;
    } else {
    require_once dirname(dirname(dirname(dirname(dirname(__FILE__))))) . “/wp-config.php”
    }`

    by this
    `if <strong>(</strong>file_exists(dirname(dirname(dirname(dirname(__FILE__))))) . “/wp-config.php”) {
    require_once dirname(dirname(dirname(dirname(__FILE__)))) . “/wp-config.php”;
    } else {
    require_once dirname(dirname(dirname(dirname(dirname(__FILE__))))) . “/wp-config.php”<strong>;</strong>
    }
    `

    Thanks angraf we solve the problem at same time.. but your post look better than mine.

    Plugin Author isa.goksu

    @isagoksu

    Sorry folks, I forgot that semicolon there.. Fixed on new version..

    It works now. Been messing with it this morning.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: ProPlayer] Can't activate. Get parsing error.’ is closed to new replies.