CalderaWP / Caldera-Forms

Drag and drop, responsive WordPress form builder.
https://CalderaForms.com
GNU General Public License v2.0
187 stars 163 forks source link

Adding more then one file to form does not work. #2052

Open LogoLogics2 opened 6 years ago

LogoLogics2 commented 6 years ago

Do You Need Immediate Help?

I need help but not immediate.

Is This A Feature Request?

No, I think it is a bug

What Version Of Caldera Forms, WordPress and PHP Are You Using?

WordPress Version: 4.8.3

PHP Version: 7.0.24

MySQL Version: 10.0.31

Server Software: Apache

Your User Agent: Mozilla/5.0 (Windows NT 10.0; rv:56.0) Gecko/20100101 Firefox/56.0

Session Save Path: /tmp

Session Save Path Exists: Yes

Session Save Path Writeable: Yes

Session Max Lifetime: 1440

Opcode Cache:

Apc: No
Memcached: No
Redis: No

Object Cache:

Apc: No
Apcu: No
Memcache: No
Memcached: No
Redis: No

WPDB Prefix: wp4_

WP Multisite Mode: No

WP Memory Limit: 40M

Currently Active Theme: OceanWP: 1.4.6

Plugins:

All-in-One WP Migration: 6.59 Actief
All-in-One WP Migration Unlimited Extension: 2.10 Actief
Caldera Forms: 1.5.6.2 Actief
Easy Theme and Plugin Upgrades: 2.0.0 Actief
Elementor: 1.7.12 Actief
Imagify: 1.6.12 Actief
ManageWP - Worker: 4.2.25 Actief
NextGEN Gallery: 2.2.14 Actief
Ocean Extra: 1.3.6 Actief
Ocean Sticky Header: 1.1.1 Actief
StatCounter: 1.0.2 Actief
Sucuri Security - Auditing, Malware Scanner and Hardening: 1.8.11 Actief
TinyMCE Advanced: 4.6.3 Actief
Wordfence Security: 6.3.21 Actief
WP Super Cache: 1.5.8 Actief
Yoast SEO: 5.7.1 Actief

Does Your Issue Persist When You Disable All Other Plugins and Switch To The Default Theme?

Yes, it persists even then

What Is The Unexpected Behaviour?

I created the form and the option to add more then one file to upload when sending a contact form. It all looks good, but after adding the first on, and then chosing "add another file" it just replaced the first file instead of adding a second one. I found this same issue here: [https://github.com/CalderaWP/Caldera-Forms/issues/446]

What PHP Errors Have You Logged While Reproducing This Bug?

I followed the instructions and added define( 'WP_DEBUG', true ); define( 'WP_DEBUG_DISPLAY', false ); define( 'WP_DEBUG_LOG', true ); to my wp-config then tried to add more files then one, but could not find any file called: debug.log in my content directory.

What JavaScript Errors Have You Seen While Reproducing This Bug?

A Parser-blocking, cross site (i.e. different eTLD+1) script, https://secure.statcounter.com/counter/counter.js, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message.See https://www.chromestatus.com/feature/5718547946799104 for more details. (anonymous) @ ajax-wallpapers.nl/:504 caldera-forms-front.min.js?ver=1.5.6.2:1 file caldera-forms-front.min.js?ver=1.5.6.2:1 file caldera-forms-front.min.js?ver=1.5.6.2:1 file caldera-forms-front.min.js?ver=1.5.6.2:1 file caldera-forms-front.min.js?ver=1.5.6.2:1 file caldera-forms-front.min.js?ver=1.5.6.2:1 file

This is the site/page where the issue occures: [https://ajax-wallpapers.nl/contact-uploads/]

LogoLogics2 commented 6 years ago

Any help please?

Shelob9 commented 6 years ago

@LogoLogics2 Thanks for using Caldera Forms. I appreciate it. I'm very sorry that it was not clear that you should not expect a response here until this ticket is relevant to what we are currently developing, at which point I expect this ticket to be consolidated with similar issues when we are ready to implement the planned changes to file fields.

Please follow a long here if you are interested in watching the process, contributing or copying our code for your own use. If you need support, please use our support page at https://calderaforms.com/support

LogoLogics2 commented 6 years ago

Hi Josh,

Thanks for your answer. I am just following this advice https://wordpress.org/support/topic/problem-with-mail-attachment-when-sub-menu-form-entries-active/from christiechirinos ( plugin author? ):

" if you find a bug, please open an issue at https://github.com/CalderaWP/Caldera-Forms/issues We track all issues here on Github. I’d really appreciate if you could open an issue there and provide all of the requested information. This will help us figure out what the bug is."

The form simply keeps replacing the first uploaded attachement with the second, although it should be able to add more then one file/attachment.

As this even happens in a complete clean install ( see https://logologics.nl/test/ ) with no other plugin but caldera, I am pretty sure this is a bug.....

According to Christie I should post it here which I did.

If I understand correctly, I am only supposed to post it here and not expect an answer and have to wait, hope that somehow this bug will be fixed, unless I buy a premium addon. If so, thats ok too, I will have to start using another contact form that handles upload of more then one file or where support fixes bugs when reported by their users I quess.

Thanks, Annie

Shelob9 commented 6 years ago

You are correct to post it here to report the bug. Thank you for doing so. This is very useful for us as developers. We appreciate it and at this time do not need anything more from you.

If you ever find any other bugs, we appreciate you reporting them here. If you need support, please use your support subscription to request it on our site.

On Nov 8, 2017 5:19 PM, "LogoLogics2" notifications@github.com wrote:

Hi Josh,

Thanks for your answer. I am just following this advice https://wordpress.org/support/ topic/problem-with-mail-attachment-when-sub-menu-form-entries-active/from christiechirinos ( plugin author? ):

" if you find a bug, please open an issue at https://github.com/CalderaWP/ Caldera-Forms/issues"

The form simply keeps replacing the first uploaded attachement with the second, although it should be able to add more then one file/attachment.

As this even happens in a complete clean install ( see https://logologics.nl/test/ ) with no other plugin but caldera, I am pretty sure this is a bug.....

According to Christie I should post it here?

Thanks, Annie

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/CalderaWP/Caldera-Forms/issues/2052#issuecomment-342980003, or mute the thread https://github.com/notifications/unsubscribe-auth/AB5uR4O1Rl9jayz9GBaK6Ohdu-KSnH9sks5s0ijWgaJpZM4QShpE .