WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
Attachment NOT sent via mail (7 posts)

  1. jckazius
    Member
    Posted 3 years ago #

    Hi there,

    I used the contact form 7 plugin on two website to be able to send documents as attachment in the mail. It used to work, but since two weeks it won't work anymore... The attachment IS uploaded in the uploads folder (i checked my ftp server while using the form), but it will NOT appear in my attachments in the mail... I also have strange fatal errors in my preferences panel in permalinks, such as:

    Warning: main(./admin-footer.php) [function.main]: failed to open stream: Operation not permitted in /www/d/e/f/deflexwinkel.nl/public_html/frij/wp-admin/options-permalink.php on line 289

    Warning: main(./admin-footer.php) [function.main]: failed to open stream: Operation not permitted in /www/d/e/f/deflexwinkel.nl/public_html/frij/wp-admin/options-permalink.php on line 289

    Fatal error: main() [function.require]: Failed opening required './admin-footer.php' (include_path='.:/usr/local/share/pear:/www/scripts/webshop:/www/scripts/public') in /www/d/e/f/deflexwinkel.nl/public_html/frij/wp-admin/options-permalink.php on line 289

    Can anyone please help me with this? I'm not much of a programmer, more a graphic- and webdesigner who uses WordPress because it's so easy... ;-)

  2. codenamefish
    Member
    Posted 3 years ago #

    Same problem with attachments, i receive the e-mail with the text, files attached but when i go into ftp to see uploaded files in uploads/wpcf7_uploads/ it tells me : Response: 550 '/httpdocs/wp-content/uploads/wpcf7_uploads' cannot be listed, Error: Failed to retrieve directory listing.

    Also i can't change the permission of the folder it's now 733 (read just for owner), how can i change this ?

    Thanks,
    George

  3. webjunk
    Member
    Posted 3 years ago #

    @jckazius
    Make sure that
    <?php wp_head(); ?> is in header.php
    and
    <?php wp_footer(); ?> is in footer.php

    @codenamefish
    If you can not change permissions in your ftp client, then try in your Control Panel, cPanel, or Plesk for your hosting account. If not available then you will have to open a support ticket with your hosting company's support.

  4. webjunk
    Member
    Posted 3 years ago #

    ALso forgot to mention (need another up of coffee) that the directory is a temp directory not for storing the files.

  5. jckazius
    Member
    Posted 3 years ago #

    @webjunk

    <?php wp_footer(); ?>

    is NOT in the footer.php
    Where do i have to place it?

    Regards,
    Jaco

  6. codenamefish
    Member
    Posted 3 years ago #

    @webjunk and where is the store directory if that's just a temp one ?

  7. webjunk
    Member
    Posted 3 years ago #

    @jckazius
    Its usually at the bootom like this:

    <?php wp_footer(); ?>
    </body>
    </html>

    @codenamefish
    There is no stored directory. They are "attachments" for a reason. You receive te file as an attachment. If you want to keep the files you would have to edit the cde and eliminate the function that removes the temp files.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic