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

Please consider registering

Log In

Lost password?
Advanced Search

— Forum Scope —


— Match —


— Forum Options —


Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Help with error backtracked to Line 170 of custom_anti_spam.php
December 11, 2008
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!

December 12, 2008
4:28 pm
Forum Posts: 841

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.

December 16, 2008
6:24 pm

Peter, thanks, I reinstalled the plugin and am not seeing this error any more ... Your guess is as good as mine! :)