Fatal error for Anarchy Media Player
-
I kept getting a fatal error when trying to install AMP, and found the following solution online:
1. Open anarchy_media_player.php
2. Change this:
Code:
require_once str_replace($_SERVER[‘SCRIPT_NAME’], ”,
$_SERVER[‘SCRIPT_FILENAME’]) .’/wp-config.php’;To this:
Code:
require_once dirname(dirname(dirname(dirname(__FILE__)))).’/wp-config.php’;FYI.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Fatal error for Anarchy Media Player’ is closed to new replies.