Module

Developer
Supported

EE 1
EE 2
ProForm Drag and Drop Form Builder

Back to this add-on's main page
View Other Add-ons From Isaac Raway

1 of 2
1
   

You must be logged in to post.

[Resolved] Problem with File Upload and CSV export format

General (Resolved)

oceanreaction
oceanreaction

Hi I am having two issues with ProForm and I can’t seem to get anywhere. I’ve tried the File Upload Preferences, the path, a new folder for “uploads” from users, I’ve tried everything. And files are just NOT going through the form!

Two things:

1: The file upload field seems fine in the front end, but when you upload files, the files go to a black hole and there’s no evidence of such files (from users uploading a letter of recommendation) anywhere. I am not sure where these files go. The file upload field doesn’t work for me. Is there a Fix?

2: The excel sheet (export of entries) displays horizontally, is there anyway to display results vertically in an excel sheet? Is there anyway to manipulate the export of the entries? Like…maybe a TXT file, or another export option over than the horizontal excel sheet with the data? For Big forms, it’s kinda hard to print this long sheet of excel data. I would like to see if there’s a way to display them vertically instead of horizontally on an csv sheet.


Please help!

airways
# 1
Developer
airways

1: The file upload field seems fine in the front end, but when you upload files, the files go to a black hole and there’s no evidence of such files (from users uploading a letter of recommendation) anywhere. I am not sure where these files go. The file upload field doesn’t work for me. Is there a Fix?

Files are uploaded to the directory that is configured for the File Upload Preference that you select. Because EE doesn’t provide a way to insert items into it’s internal database for files, they won’t show up in the control panel, but they should be in the physical directory and the generated filename should be set as a value on the field in the entry. It should show up in the entries listing as a filename, and should be available to link to through notification templates and public templates based on this filename.

If the files aren’t being uploaded correctly (check the actual directory, not just the File Manager listing since they don’t show up there), make sure that write permissions are correct for your server environment so that files can be written to the directory.

If this isn’t the issue there may be other configuration items causing a problem, and we can work through each of those. If you see any error messages or anything, please let me know.

2: The excel sheet (export of entries) displays horizontally, is there anyway to display results vertically in an excel sheet? Is there anyway to manipulate the export of the entries? Like…maybe a TXT file, or another export option over than the horizontal excel sheet with the data? For Big forms, it’s kinda hard to print this long sheet of excel data. I would like to see if there’s a way to display them vertically instead of horizontally on an csv sheet.

The exported file is actually just a text file. CSV files are themselves simply text files. You system may be configured to automatically open these files within Excel, but you should still be able to open them in any text editor.

I’m not really sure what you menu by “displays horizontally”. To clarify, you do not want the entries to be listed with columns across the top, and with one row down the side for each entry? That’s what it currently does, with comma separated values for each row’s fields.

You might be looking for something in more of a report format? Such as…

----------------------------------------------------------------------
Entry #10

First NameJoe
Last Name
Test
Phone
555-123-4567
Address
100 Test Street

----------------------------------------------------------------------
Entry #11
First NameJoe
Last Name
Test
Phone
555-123-4567
Address
100 Test Street 

If so, I could easily add something like this.

If you have something else in mind, can you post an example of what a couple entries would look like?

oceanreaction
# 2
oceanreaction

1: I have to see in the entries and see if indeed it is there. I am sure I have all my configs correct. I am trying my best to be very careful, but Main Upload Directory is set up and working, and I set up the other folder just like the main—Might be my config permissions (777) correct? I will check on this.

2: I would love that format you just showed me. The Report format. How do we get that?

airways
# 3
Developer
airways

1. You need to make sure that the directory itself in the file system has write permissions appropriate for your hosting environment. It should probably match the Main Upload Directory’s permissions. The config file’s permissions shouldn’t have any effect on the uploads.

2. I’ll need to update the module to provide a text report format like the one I showed above. Should not be too difficult, look for it some time this weekend or early next week.

oceanreaction
# 4
oceanreaction

Ok thank you. I will let you know as soon as I get something from the file upload issue, because it is nowhere in the entries.

oceanreaction
# 5
oceanreaction

I have checked that the file upload folder has permissions. I also check the physical directory and it’s empty. I have switched the folders in the settings for the file upload field. I have also checked the csv file, nothing shows up under that file upload value. What am I doing wrong?

airways
# 6
Developer
airways

Are you getting error messages of some kind from the upload? Can you provide those error messages?

airways
# 7
Developer
airways

Also, which version of ExpressionEngine are you using?

oceanreaction
# 8
oceanreaction

ExpressionEngine v2.2.2 - Build: date 20110801

airways
# 9
Developer
airways

I also really need a copy of the error messages, if you are getting any.

oceanreaction
# 10
oceanreaction

I was getting Array.php issues with proform version 1.02, but when I updated to 1.10, the errors were gone (there were 3 php errors). No errors, but the file is still not uploading to the physical folder.

oceanreaction
# 11
oceanreaction

This is the location of my form: http://www.redc.org/new/forty_under_40/

airways
# 12
Developer
airways

Is it okay for me to post test entries to this form?

oceanreaction
# 13
oceanreaction

Yes

airways
# 14
Developer
airways

Can you also provide a login for the control panel that I can use? You can send this login to airways@mm.st.

oceanreaction
# 15
oceanreaction

sent

1 of 2
1