Just found this thread.
Anyway, I posted in another thread which can be found here: http://ellislab.com/forums/viewthread/74710/
Basically I have the extension installed. However, when I specify a file in my weblog and hit ‘Update’, it doesn’t POST the file with the rest of the form. It comes up that the file is required (I made it a required field, which is ultimately the goal anyway).
I’ve vardump’d $_POST and do not see the file being submitted in the request. I set the form’s method to GET and did find it in the query string. Not sure where it’s going wrong.
/sf
Having the same issue:
Hi, I have just installed this extension and added the necessary custom field. When I go to publish I get the error: “Notice: Undefined index: server_path in /home/fhlinux152/g/example.com/user/htdocs/ee/system/extensions/ext.mh_file_ext.php on line 521” I DO have a server path set in the File Upload preferences, so I am not sure what the problem is. I have searched the forum to see if anyone has had similar issues, but I haven’t found an answer. Any help on this would be superb. Thanks in advance.
anyone have any solutions??
Having the same issue:Hi, I have just installed this extension and added the necessary custom field. When I go to publish I get the error: “Notice: Undefined index: server_path in /home/fhlinux152/g/example.com/user/htdocs/ee/system/extensions/ext.mh_file_ext.php on line 521” I DO have a server path set in the File Upload preferences, so I am not sure what the problem is. I have searched the forum to see if anyone has had similar issues, but I haven’t found an answer. Any help on this would be superb. Thanks in advance.anyone have any solutions??
Ok, feeling dumb now, but I’ll post my solution: I edited an existing field. When I changed the field over to file, the Text Length parameter still stayed there. I went to Publish a new post and got that error. After going back to edit the Custom Fields, I noticed there was a upload area drop down. I selected the correct one for that field and, voila, it worked!
Re “File Extension causes MySQL error 1064”
We found that doing the following cleared the problem.
Hope that helps.
David
I am going to in and sift through 27 pages to find out how people make this puppy work with a SAEF - because I just gotta.
What would be the greatest thing ever, is to have someone who has done this start a new thread with a very descriptive title about how to do this. Here…copy and paste this: “How to get Mark Huot’s File Extension to work with SAEF/Stand Alone Entry Form”. Plenty of searchable keywords in there! Be a hEEro! Save many of us hours of time and eye-melting post-skimming, please!
Okay, try this out. SAEF instructions for the File extension.
EDIT: Remember, beer money can be sent here (first) and here. 😉
I installed this extension on EE 1.6.3 and I’m able to upload single files both through CP and SAEF. I have 2 issues so far:
It doesn’t restrict the file type and file size even though the upload directory is correctly setup to accept only images and restrict file size. I checked the default EE file upload and the restrictions work fine.
If I set to allow multiple files and rewrite filenames it will upload all file with the same name.
I’m not sure if I’m doing something wrong or there is an issue with latest EE version.
Any help will be appreciated.
Thanks, Gabriela
This is the craziest thread in existence. I hate it when anything doesn’t work as expected with this essential extension - like why remove is not working for my files. They simply will not go away. I just need to be able to remove files! Simple enough. I’m going to start hunting through the thread now and will cross-link to anything I find within.
UPDATE: Found that the Checkbox extension (v1.0.1) was in conflict with a runaway regular expression. Installed Checkbox 1.0.2 and all seems to be right with the world. Big thanks to Mark Huot for personally helping figure that out.
(I’ve scanned this thread and haven’t found the answer to this question.)
I see the extension adds a browse button to the display of the field in the Publish or Edit form. That browse button looks for a file on the user’s hard-drive. But, I don’t see a way to enter a file that already exists on the web server.
I’m working on a shopping cart, and it is sometimes nice to use an image already uploaded via Mark’s file module via another entry. To accomplish using an existing image, I could create additional custom text fields for image urls for these already-uploaded images.
However, it would be really nice to be able to browse also to images already existing on the server via Mark’s module and choose to use them and have the extension populate the field with the address to the existing image.
Is there a way to place a link to an already-uploaded image in one of Mark’s “file” field-types?
Hope I’m making sense, and sorry if this has already been addressed.
Bruce
This extension doesn’t have that ability. You might want to look at this one though. I think that is more inline with what you want to do (although I haven’t used it myself. I know that it requires that you actually purchase the Moxicode Image Manager. Not sure how much that costs.
I’ve found two rather annoying bugs with this extension. Otherwise, it’s been great to use!
I’ve making a site with a photo gallery. I only want to display the first 4 photos, and i there’s more display a link to the full entry with the rest of them. Seems easy.
What I’ve done below is simple loop throug the photos, but if the count gets higher than I want, stop outputting the code for displaying images. After that 4th image, put a link to the rest.
What actually happens is that after everything happens as described above, it also echos out the very last image from this entry! I have 89 images in one post, it outputs the first 4, the link, and then the 89th image!
{photos}
{if {count} <= 4}
<a href="http://{file_url}" title="{title}">_ {file_thumb_url}_ </a>
{/if}
{if {count} == 4}
<a href="http://{title_permalink=album}">View more photos!</a>
{/if}
{count}-{total_results}
{/photos}
I tried to do everything I know how, but it happens every time!
The next bug is also a rather strange one. I was wanting to see if I was on the last image, so inside the loop I did an {if {count} == {total_results}} and it never got triggered. So you can see at the end of the loop I’ve got it to display the {count} and then the {total_results} after each image.
Everything works as expected until the end. I get 1-89, 2-89, etc and then at the end I get 88-89, 1-89! It goes back to the beginning one and never hits 89! I tried this with other sets of images and sometimes the last result is a different number! I have 2 other entries with 12 images each, and they will display 2-12 and 3-12
Now it’s almost as if the {count} var here is no longer counting images, but it’s counting entries outside of the file ext. loop.
Whats going on here and how can I fix this?! I need this functionality here to do what I want!
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.