Help with error backtracked to Line 170 of custom_anti_spam.php | Peter's Custom Anti-Spam for WordPress | Forum
Back to the custom anti-spam plugin page
11:15 pm
Peter, I am running the version 3.1.3 of Peters Custom Antispam in WPMU version 2.6.5. I am running it in the “plugins” folder, not the “mu-plugins” folder, as you recommend.
I am getting the following error message:
“Failed opening …/httpdocs/wp-content/plugins/peters-custom-anti-spam-image/translate/cas_translations.php’ for inclusion (include_path=’.:’) in …/httpdocs/wp-content/plugins/peters-custom-anti-spam-image/custom_anti_spam.php on line 170,”
Each attempt to comment is generating 4 of these errors.
Can you help? Thanks!
I'm not sure what's going on here. Assuming that you aren't missing any files from the plugin package, the error message says that it cannot include the translation file from where it should be. So it seems as though the path is correct. Do you get a similar error message for other files or is it just the translation file? Have you checked the permissions on that file? Did you modify that file at all? Do you know if there are any restrictions on file includes for the plugins folder and lower?
You could also try hard-coding the $cas_pluginpath variable (the path to the custom anti-spam folder) directly after line 56.