Forums

[Plugin: MM Forms Community] Fatal error on fresh install (7 posts)

  1. digigirl
    Member
    Posted 1 year ago #

    I installed this on a fresh install of WP 2.9.2, never had any contact form of any kind on it previously, so no conflicts with prior versions. Seemed to install okay but then when I tried to go to Settings>>MM Forms, I got this error:

    Warning: require_once(/home/digigirl/public_html/prettyscrumptious.com/wp-content/plugins/mm-forms/includes/class_actions.php) [function.require-once]: failed to open stream: No such file or directory in /home/digigirl/public_html/prettyscrumptious.com/wp-content/plugins/mm-forms-community/mm-forms.php on line 1479

    http://wordpress.org/extend/plugins/mm-forms-community/

  2. aidilfbk
    Member
    Posted 1 year ago #

    Seems like they forgot to update some code. Open up the mm-forms.php file in /wp-content/plugins/mm-forms-community/ and replace line 28 with $includes = ABSPATH . PLUGINDIR . '/mm-forms-community/includes/';
    That should fix the problem. I've notified the developer of the problem. Hopefully it'll be fixed in the next version.

  3. aidilfbk
    Member
    Posted 1 year ago #

    Okay, after still getting error messages, it seems like the developers have to edit each file to replace the old "/mm-forms/" directory to "/mm-forms-community/". I guess you'd have to wait until they fix this error before you can use the plugin.

  4. worschtebrot
    Member
    Posted 1 year ago #

    same for me:
    Warning: require_once(...wp-content/plugins/mm-forms/includes/class_actions.php): failed to open stream

    someone should have tested it before committing... very bad ;-(

  5. tbelmans
    Member
    Posted 1 year ago #

    Fixed the install error in version 1.0.1 of MM Forms Community.

  6. justsomewebchick
    Member
    Posted 1 year ago #

    Hi tbelmans--That was a good idea to add the CONTACTFORM path constant. Still some issues in mm-forms.php in most places where the new constant was added because it's missing a trailing '/' on paths that are prepended to the CONTACTFORM path on several lines:
    2118, 2119, 2124, 2125, 2127, 2417, 2419, 2428, 2542, 2556, 2794, 2795, 2798, 2799, 2889.

    These path problems caused CAPTCHA to break (because it can't find the captcha path), stylesheets to not be applied, javascript code to not be included (resulting on non-ajax code executing). Probably other things I didn't try. In spite of all these issues, it still printed and emailed a reasonable form! Just caused certain functionality to break.

    For example, line 2542 resulted in CAPTCHA not showing the image:
    $captcha_url = get_option('siteurl') . '/wp-content/plugins'.CONTACTFORM.'/captcha/tmp/' . $filename;

    ..should be changed to (note the '/' added after 'plugins'):
    $captcha_url = get_option('siteurl') . '/wp-content/plugins/'.CONTACTFORM.'/captcha/tmp/' . $filename;

  7. tbelmans
    Member
    Posted 1 year ago #

    Hello justsomewebchick,

    I have added the missing slashes in version 1.0.2. Thanks for pointing this out.

    Tom

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.