[Plugin: wp-stattraq] missing ABSPATH definition
-
Attention: in order to get this plug-in to work in 2.7+, you have to make a small adjustments in ‘stattraq-install.php’.
You can fix the problem of the missing ABSPATH declaration (actually it’s defined in wp-config.php ^_~) by replacing ‘ABSPATH.’ with a normal variable containing the path to your blog installation.
$path = 'https://your.wordpress.url'; require_once($path.'/wp-config.php');
Please remember, if your blog is placed in a sub-folder you have to consider this in the ‘$path’ variable, e.g.:
$path = 'https://your.domain.url/wpfolder';
This is only one possible solution – maybe not the nicest one but a fast, quick and dirty trick to make the installation work ^-^
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘[Plugin: wp-stattraq] missing ABSPATH definition’ is closed to new replies.