Hi,
I’m trying to use the file upload module with the saef and I’m getting the error “no_file_selected” Above that I’m getting this php error:
Notice: Undefined index: userfile in /www/eh8537/public_html/glcsys/core/core.upload.php on line 95
Here’s my file upload template:
{exp:file_upload:upload_form form_name="entryform" destination="images" field_name="profile-photo" return="profile/photo"}
<p><input type='file' name='userfile' /></p>
<input type='submit' value='Upload' />
{/exp:file_upload:upload_form}
and my file placement template:
{exp:file_upload:upload_confirm field_replace="replace"}
<input type='submit' value='Place Image and Close Window' onclick='fileplacer();window.close();' />
{/exp:file_upload:upload_confirm}
Does the {javascript} go in the head of the file placement template? Does it need to go within the {exp:file_upload} tag?
I’m using this with the SAEF that is also using the form helper plugin.
I’m logged in as superadmin and my images diretory is set to 777.
Any ideas?
Thanks
