Advertisement:

Author Topic: Attach file not working on contact...still  (Read 387 times)

pixelpadre

  • Jr. Member
  • **
  • Posts: 76
Attach file not working on contact...still
« on: January 10, 2018, 07:36:14 pm »
This appears to date back to 2013, but the problem persists. 

If I check the box in general settings to allow attachments to the contact form, I get an error message upon sending a message to admin via contact page.  Also, when filling out the contact form there is not even an option to attach file, and it still gives the error message "The file you tried to upload does not have a valid extension".  If I go back and uncheck the option to allow attachments then the message will be sent without error message..

pixelpadre

  • Jr. Member
  • **
  • Posts: 76
Re: Attach file not working on contact...still
« Reply #1 on: January 10, 2018, 07:38:22 pm »
This is what appears in the item-sidebar file


                <?php if(osc_item_attachment()) { ?>
                    <div class="control-group">
                        <label class="control-label" for="attachment"><?php _e('Attachment', 'bender'); ?>:</label>
                        <div class="controls"><?php ContactForm::your_attachment(); ?></div>
                    </div>
                <?php }; ?>