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.

Parse error: syntax error, unexpected T_STRING.. when trying to activate plugin

  1. soramaki
    Member

    The whole error message is :

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /hermes/bosweb/web117/b1175/ipw.soramaki/public_html/financialnetworkanalysis/wp-content/plugins/gravityforms/gravityforms.php on line 46

    I am trying to activate the plugin after moving the files to the plugins folder. I have WordPress 2.8.4. with the following other plugins:

    AddThis Social Bookmarking Widget: Version 1.6.6

    Akismet: Version 2.3.0

    All in One SEO Pack: Version 1.6.12.1

    Google Analytics for WordPress: Version 4.0.4

    TweetMeme Retweet Button: Version 1.8.6

    Thanks you for your assistance.

    Posted 13 years ago on Friday July 16, 2010 | Permalink
  2. This is in the FAQ. You hosting is running an old verison of PHP. Gravity Forms requires PHP 5.

    http://www.gravityhelp.com/frequently-asked-questions/#faq_installation

    http://forum.gravityhelp.com/search.php?q=unexpected+T_STRING

    Many hosts allow you to change the PHP settings via your hosting control panel, but you may have to contact your host to get them to switch it for you.

    Posted 13 years ago on Friday July 16, 2010 | Permalink
  3. Sure enough, it was PHP setting. I switched from PHP 4 to PHP 5 and the install worked perfect.

    Posted 13 years ago on Sunday July 18, 2010 | Permalink

This topic has been resolved and has been closed to new replies.