Bug Report

Title: File upload completes successfully despite a wrong captcha being submitted

Class: Bug

Date: 2016-07-22
Reported By: Martin

Product: Joomla, version: 3.5.1
Product: Simple Email Form, version: 1.8.8
Browser: All

Is it reproducible: Yes

Description

1) When a wrong captcha is entered, the file is still uploaded.
2) User only receives a success message saying that the files have been downloaded if the following two conditions are true:
- The last file upload button is used (first ones have no effect);
- The captcha is wrong.

If the captcha is right, no message is displayed.

Steps to Produce/Reproduce

Submit a file to upload and enter a wrong captcha.

Expected Results

The user should receive a failure message.

Actual Results

File is uploaded, upload success message is displayed and wrong captcha message is also displayed.

Solution

Update to version 1.8.9

Ref. : https://github.com/andrewscaya/mod_simpleemailform/issues/12

Bug Report

Title: Error messages are displayed to the user when leaving some upload fields empty on form submission

Class: Bug

Date: 2016-06-19
Reported By: Mateusz

Product: Joomla Version: 3.5.1
Product: Simple Email Form Version: 1.8.7
Browser: All
URL: http://autoimpr.webd.pl/strona1/index.php/form

Is it reproducible: Yes

Description

If the user does not use all of the upload fields when submitting the form, he will receive faulty messages : "The requested page can't be found.", and "If difficulties persist, please contact the System Administrator of this site and report the error below. 1- Could not access file: [DIRECTORY PATH: @param:Directory to Save Attachments]". Despite these messages, the form is correctly submitted and the files correctly uploaded to the 'Directory to Save Attachments'.

Steps to Produce/Reproduce

Do not use all of the upload fields when submitting the form.

Expected Results

The user should receive a success message.

Actual Results

Faulty messages to the user.

Solution

Update to version 1.8.8

Ref. : https://github.com/andrewscaya/mod_simpleemailform/issues/1

Please see: http://joomla.unlikelysource.org/index.php/simple-email-form-bugs-menu/47-error-messages-are-displayed-to-the-user-when-leaving-some-upload-fields-empty-on-form-submission

 

Problem

When there is more than 1 file upload field, error message appears when not all fields have files.  If all fields have files associated with them there is no error.

Discussion

Hello Doug,

I wrote to You last week about problem with attachment in simple mail form. If is possible please look at this problem.
http://<deleted>/strona1/index.php/form
Could not access file: /<deleted>/strona1/skuppojazdow/

I have two fields with attachments - when I try send one attachment I see this error when I send two all is OK.

Previous Message:

Sorry for this message but i don't know how to do? I have joomla page with simple mail form :). On website i have 4 fields to attachment. When I add 1 attachment i see error Could not access file: /<deleted>/cat/ wheh i have 4 attachments all is ok.

 

Problem

Getting "Invalid Address" error after upgrading to Joomla 3.5.1.

Solution

Upgrade to version 1.8.7+

Discussion

Joomla Mail (which uses PHPMailer) now treats replyTo as a string, not an array.  Version 1.8.7 checks the Joomla version.  If 3.5.1 or above, assigns a string rather than an array to the replyTo email param.

See: http://joomla.stackexchange.com/questions/16051/fix-the-invalid-address-error-after-upgrading-to-joomla-3-5-1

Thanks to Aaron Holte for spotting the problem + doing the research on the problem.