PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Activation error

  1. When i activated the plugin I get the following.

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homepages/40/d212653608/htdocs/TERRANOVO/wp-content/plugins/gravityforms/gravityforms.php on line 41

    I'm running WP 2.8.4

    Posted 15 years ago on Friday October 9, 2009 | Permalink
  2. Hello Mark,

    This error typically happens because of a PHP version conflict.

    Gravity Forms requires PHP5+ and judging from this error you are probably trying to activate the plugin on a site running PHP4.

    Can you verify which version of PHP is running on your web host?

    Posted 15 years ago on Friday October 9, 2009 | Permalink
  3. Thanks for the clue.

    need to create a file called .htaccess in my root directory.

    added the following.

    AddType x-mapp-php5 .php
    AddHandler x-mapp-php5 .php

    1and1 account.

    Posted 15 years ago on Friday October 9, 2009 | Permalink
  4. Mark,

    Thanks for posting the fix for other users. We appreciate it.

    Posted 15 years ago on Friday October 9, 2009 | Permalink