When I try to activate this plugin, I get:
"Parse error: syntax error, unexpected T_STRING, expecting '(' in /home/username/public_html/wp-content/plugins/proplayer/playlist-controller.php on line 2"
Even if I deactivate the plugins, I get this.
When I try to activate this plugin, I get:
"Parse error: syntax error, unexpected T_STRING, expecting '(' in /home/username/public_html/wp-content/plugins/proplayer/playlist-controller.php on line 2"
Even if I deactivate the plugins, I get this.
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.
Sorry folks, I forgot that semicolon there.. Fixed on new version..
It works now. Been messing with it this morning.
You must log in to post.