WordPress.org

Ready to get started?Download WordPress

Forums

Recaptca Plugin not working afterm moving installation (1 post)

  1. aellis1
    Member
    Posted 2 years ago #

    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, http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory. 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/rachelandaustin.com/html/blog/wp-content/plugins/wp-conditional-captcha/wp-conditional-captcha.php 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' ))
    exit;

    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;

Topic Closed

This topic has been closed to new replies.

About this Topic