WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
fatal error on activation (8 posts)

  1. frock
    Member
    Posted 3 years ago #

    i have just tried to install contact form 7; i uploaded it to the wordpress plug-ins directory & found it in the list of plug-ins as expected, but when i click the activate, link, i get this:

    Plugin could not be activated because it triggered a fatal error.

    Warning: require_once(/usr/share/wordpress/wp-content/plugins/home/upstage/ftp-home/wordpress-plugins/contact-form-7/settings.php) [function.require-once]: failed to open stream: No such file or directory in /home/upstage/ftp-home/wordpress-plugins/contact-form-7/wp-contact-form-7.php on line 67

    Fatal error: require_once() [function.require]: Failed opening required '/usr/share/wordpress/wp-content/plugins/home/upstage/ftp-home/wordpress-plugins/contact-form-7/settings.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/upstage/ftp-home/wordpress-plugins/contact-form-7/wp-contact-form-7.php on line 67

    i have had a look at the FAQ & documentation & other support requests but not found anything that relates to this. i'm not a programmer but i am a reasonably experienced wordpress user & plug-in manipulator, not afraid of editing php. but i don't understand enough about it to make sense of these error messages.

    can anyone out there give me some advice? thanks.

    http://wordpress.org/extend/plugins/contact-form-7/

  2. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 3 years ago #

    Warning: require_once(/usr/share/wordpress/wp-content/plugins/home/upstage/ftp-home/wordpress-plugins/contact-form-7/settings.php) [function.require-once]: failed to open stream: No such file or directory in /home/upstage/ftp-home/wordpress-plugins/contact-form-7/wp-contact-form-7.php on line 67

    Fatal error: require_once() [function.require]: Failed opening required '/usr/share/wordpress/wp-content/plugins/home/upstage/ftp-home/wordpress-plugins/contact-form-7/settings.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/upstage/ftp-home/wordpress-plugins/contact-form-7/wp-contact-form-7.php on line 67

    How did you install WordPress???

  3. frock
    Member
    Posted 3 years ago #

    it was not me who installed it ... as far as i know it was installed correctly - it functions fine & we have a number of other plug-ins running without problems. is there something weird with the installation? (it has recently been updated to 3.0.1)

  4. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 3 years ago #

    Is it using symbolic link? I doubt that a plugin can work correctly when it is installed in a symbolic linked directory. Actually, the error says that /usr/share/wordpress/wp-content/plugins/home/upstage/ftp-home/wordpress-plugins/contact-form-7/settings.php is missing. This is the direct cause of the issue.

  5. frock
    Member
    Posted 3 years ago #

    thanks for this. i don't know what a symbolic link is, but the directory wordpress-plugins is at the same level as the wordpress directory. there is also wordpress/wp-content/plugins/ & that has directories for two plug-ins (page link manager & my page order). there are currently 9 plug-ins on the site, activated & functioning correctly, & i've uploaded all of them to the wordpress-plugins directory (beside the wordpress directory, not inside it). i'm not aware if this is not a standard way to do it, it's the way the guy who installed wordpress set it up, & so far it's worked fine ...

    in wordpress-plugins/contact-form-7 there is a file called settings.php, & line 67 of that file says:

    function wpcf7_contact_forms() {

    is that what it should say?

    thanks very much for your prompt replies :)

  6. katfitz
    Member
    Posted 3 years ago #

    Hello Takayuki,

    I have received the same fatal error as mentioned above:
    Warning: require_once(/home/seomark2/public_html/articlesub/wp-content/plugins/contact-form-7/admin/admin.php) [function.require-once]: failed to open stream: No such file or directory in /home/seomark2/public_html/articlesub/wp-content/plugins/contact-form-7/settings.php on line 63

    Fatal error: require_once() [function.require]: Failed opening required '/home/seomark2/public_html/articlesub/wp-content/plugins/contact-form-7/admin/admin.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/seomark2/public_html/articlesub/wp-content/plugins/contact-form-7/settings.php on line 63

    I am not sure what I need to do to make the file path correct. Would you mind explaining in more detail what I need to do in order use this plugin, thanks.

    Kathleen

  7. farmboymac
    Member
    Posted 3 years ago #

    Add me to the club getting the error regarding line 63. Looking forward to a resolution, so I can use this plug-in.
    Thanks.

  8. tallthom
    Member
    Posted 3 years ago #

    Hi Takayuki,

    We are also having this problem. I understand your explanation that the plugin won't work in a symbolically linked directory.

    However many people set up wordpress to have the program in one directory and the user data on a different partition in a different directory.

    Linking the "wp-content" directory is how this is achieved. Many other plugins support linking. Can you help us fix this problem?

    We'll work together if you help us. Thank you!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic