Search

I understand the fundamentals:

Input for the form should be as such:

<label id="contact-event-photo-label" for="event-photo">Event Photo</label>
<input id="contact-event-photo" type="file" name="fields[event-photo]" value="{events/event-message/post-values/event-photo}" />

And in the section I have Event Photo setup as a File Upload… right?

Anyway, the attached file doesn’t send as part of the email (fine) or get entered into the entry (not fine).

Using 2.0.7 RC2.

have you made sure you have enctype="multipart/form-data" on your form element?

… apparently not.

Oooooh to be a simple designer/front-end developer again.

Sorry Allen, but you all have bare with my ignorance a bit.

But should all I have to do is:

<form enctype="multipart/form-data" action="" method="post">

Or is there, and I’m sure there is, more to it?

there is a bug in 2.07 front end file uploads are currently broken.

http://getsymphony.com/discuss/issues/view/238/

Just as a note to anyone interested in the problem:

The issue as been solved. Follow the thread link above.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details