Forums

Contact Form ][ Installation Error (3 posts)

  1. cowbell
    Member
    Posted 6 years ago #

    Hopefully someone can help me out here. I installed the Contact Form ][ plug in, and followed the directions. However after activating the plugin in the control panel then clicking anything else, I got the following error message:

    Warning: main(buttonsnap.php): failed to open stream: No such file or directory in /usr/web/mslbaseball.com/html/wp-content/plugins/wp-contact-form/wp-contactform.php on line 28

    Warning: main(): Failed opening 'buttonsnap.php' for inclusion (include_path='') in /usr/web/mslbaseball.com/html/wp-content/plugins/wp-contact-form/wp-contactform.php on line 28

    Fatal error: Call to undefined function: buttonsnap_dirname() in /usr/web/mslbaseball.com/html/wp-content/plugins/wp-contact-form/wp-contactform.php on line 34

    Can anyone help out?

  2. hehan
    Member
    Posted 6 years ago #

    I had exactly the same problem - don't know why its happening - all works fine on a local server too.
    However, I've hacked it to work. May not be elegant but it works.

    At the top of the page (approx line 10)I added this line

    $bugfix=ABSPATH."wp-content/plugins/wp-contact-form/";

    so wordpress knows where to find the plugin

    and on line 27 changed
    include('buttonsnap.php');

    to
    include($bugfix.'buttonsnap.php');

    Seems to work fine now.

  3. gerbenboot
    Member
    Posted 6 years ago #


Topic Closed

This topic has been closed to new replies.

About this Topic

Tags