Support » Plugin: Contact Form 7 » [Plugin: Contact Form 7] fatal error on activation

  • 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/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    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???

    Thread Starter frock

    (@frock)

    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)

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    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.

    Thread Starter frock

    (@frock)

    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 🙂

    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

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

    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!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Contact Form 7] fatal error on activation’ is closed to new replies.