Support » Plugins » Hacks » Recaptca Plugin not working afterm moving installation

  • I had wordpress installed in a folder (/blog) and I had an index.php file with an “enter” link. I got rid of that file and followed these directions to have the root level url without moving the entire site, It worked great except that now I get an error message similar to this one “Parse error: syntax error, unexpected T_STRING,” Better WordPress Recaptcha gave me a similar error to that and the entire site wouldn’t load. When I deleted that plugin, it worked fine. SO I tried reinstalling the plugin with the same results. Then I tried a different plugin, “Conditional CAPTCHA for WordPress” and now I get the error message

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /nfs/c02/h06/mnt/22533/domains/ on line 17

    Line 17 doesn’t really have any code that looks like it’s worth mentioning. Here’s what’s around it anyway:

    if( !defined( ‘ABSPATH’ ))

    class Conditional_Captcha {
    private $ready = false; <– THIS IS LINE 17
    private $options, $cssfile, $antispam;
    const dom = ‘wp-conditional-captcha’; // i18n domain
    const db_version = 3;

  • The topic ‘Recaptca Plugin not working afterm moving installation’ is closed to new replies.