PHP Error activating Plugin (require_once failed)
-
Hi,
Using WP 3.6.1 (stable Debian package), I got an error activating the plugin. The path for the files is incorrect.
To correct the issue, I have modified contact-form-maker.php the following way:
The first two lines of code are now:
define('WD_FMC_DIR', /* WP_PLUGIN_DIR .*/ "/" . plugin_basename(dirname(__FILE__))); define('WD_FMC_URL', plugins_url(basename(plugin_basename(dirname(__FILE__)))));
and it works great.
Please tell me if it’s a version mismatch error or my installation having a problem.
Thanks in advance.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘PHP Error activating Plugin (require_once failed)’ is closed to new replies.