nGen File not uploading file via SAEF
I've seen others post on this and I've tried every solution or suggestion. But something still must be wrong. I've narrowed my SAEF form to just a title and the upload field, so I can trouble shoot this. JQuery is included.
I'm Running:
Expression Engine 1.6.9 Build: 20100430
FieldFrame (v.1.4.2)
nGen File Field 1.0.1
Here's my code, "upload" is the nGen file.
{exp:weblog:entry_form weblog="default_site" return="site/saef" status="closed" show_fields="summary"}
<p style="margin-top:15px"><strong>Title</strong><br />
<input type="text" name="title" id="title" value="{title}" size="50" maxlength="100" onkeyup="liveUrlTitle();" /></p>
<p style="margin-top:15px">{upload}</p>
<p style="margin-top:15px"><input type="submit" name="submit" value="Submit" /></p>
{/exp:weblog:entry_form}
http://www.tradewindcreations.com/EE/index.php/site/saef/
Anyone have any ideas why it doesn't work on the SAEF but does when used on the regular backend publish page.
Thanks,
John
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Fred Boyle on 23 Jul, 2010 03:54 PM
John, do you receive any errors when the form is submitted?
Does everything behave as expected other than the file not being uploaded?
If you check via FTP is the file uploaded at all and just not saved to the entry?
3 Posted by jcderrick on 23 Jul, 2010 04:07 PM
Hi, no errors are reported. Everything else on the SAEF form posts as it's supposed to and a new entry is created with everything filled out except this upload field. It also fails to work in a Matrix field.
The files are not being uploaded at all. The only way a file uploads is if I do it from the Publish page (so it shouldn't be a permissions problem). I've also made sure all the groups on my site can upload entries - so I don't think that's it either. This one's a bit of a mystery to me. Thanks for your help.
4 Posted by jcderrick on 27 Jul, 2010 08:37 PM
Is there anything I can do to find out why this is still happening? Any error log I can turn on, etc?
5 Posted by jcderrick on 28 Jul, 2010 01:12 AM
Solved it. Mistake on my end. The URL to your “fieldtypes” folder wasn't properly set up because I forgot to add the /EE/ to my directory path. Once I did that, everything worked as normal. Sorry about that.