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.

fatal error when activating 1.5 beta

  1. Hi.

    I´m getting a fatal error when activating 1.5. beta on WP 3.0.1.

    Warning: require_once( {path}/wp-content/plugins/gravityforms/widget.php) [function.require-once]: failed to open stream: No such file or directory in {path}/wp-content/plugins/gravityforms/gravityforms.php on line 72

    Fatal error: require_once() [function.require]: Failed opening required '{path}/wp-content/plugins/gravityforms/widget.php' (include_path='.:/usr/local/share/pear') in {path}/wp-content/plugins/gravityforms/gravityforms.php on line 72

    any idea why? thanks

    Posted 14 years ago on Monday November 15, 2010 | Permalink
  2. Try uninstalling Gravity Forms completely, re-upload it, deactivate all your other plugins and then activate Gravity Forms. If it actives, then activate each of your other plugins.

    Posted 14 years ago on Monday November 15, 2010 | Permalink
  3. aaand ...it works. Thanks, Carl! Much appreciated.

    Posted 14 years ago on Tuesday November 16, 2010 | Permalink
  4. WildWestRealty
    Member

    It did not work for me...already tried suggestion as stated above... using wordpress 3.0.1

    ------------

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homepages/12/d347801563/htdocs/wsb6100743101/wp-content/plugins/gravityforms/gravityforms.php on line 75

    Posted 14 years ago on Thursday November 18, 2010 | Permalink
  5. If you read the FAQ or search, you'll see this is a common problem.

    This error happens because of a PHP version conflict.

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

    Gravity Forms requires PHP5+ and judging from this error you are probably trying to activate the plugin on a site running PHP4. Check with your web host and make sure you have PHP5 enabled.

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

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

    Posted 14 years ago on Thursday November 18, 2010 | Permalink
  6. WildWestRealty
    Member

    My host is using MySQL5.0 , but looking into it more..

    SOLVED..... THANKS

    Posted 14 years ago on Thursday November 18, 2010 | Permalink
  7. Michael
    Member

    Getting a similar problem and both suggestions are not helping. I've got the following error: Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/mlscorg/public_html/wp-content/plugins/gravityforms/gravityforms.php on line 46

    Host is using PHP 5.3.1

    Posted 14 years ago on Tuesday November 23, 2010 | Permalink
  8. @chowe1440 See Kevin's response above. That error is a PHP version error. I can guarantee you if you are seeing that error than you are not running PHP 5.3.1 despite what your hosting control panel may be saying.

    If you made the changing in your hosting control panel, depending on your host it may take sometime for that change to be reflected. GoDaddy is a host that this applies to. When you make a change it may be reflected in the control panel but the change may take sometime to actually go into effect.

    But if you are receiving this error:

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/mlscorg/public_html/wp-content/plugins/gravityforms/gravityforms.php on line 46

    Then it is indeed a PHP version problem. So you may need to double check that your host is indeed running PHP5+ because if you are receiving that error, they are not.

    Posted 14 years ago on Tuesday November 23, 2010 | Permalink
  9. create a 'test.php' page and put this in it:

    <?php echo phpinfo(); ?>

    Save it, upload it to your webhost and then go to the page. "http://www.yourwebsite.com/test.php

    This displays your server php information. a sample output would be:

    http://wiki.gandi.net/_media/en/hosting/using-linux/tutorials/phpinfo.jpg?w=&h=&cache=cache

    No offense intended to the developers of GF, but one common mistake programmers make is to assume everyone else knows what they are talking about or referring to. With support being given for all levels of programming knowledge determining when to use 'layman' explainations vs 'vcr manual' ones can be tough.

    Safe bet: Assume your users know little to nothing, and respond accordingly. Should they show more knowledge, get your 'How To Engineer Quantum Mechanics' translation book and explain away to them.

    Posted 14 years ago on Tuesday November 23, 2010 | Permalink