nliautaud / p01contact

Create contact forms by writing simple tags. Also a plugin for GetSimple and Pico CMS.
MIT License
16 stars 15 forks source link

He keeps telling me that I'm a robot #16

Closed freestylers closed 6 years ago

freestylers commented 6 years ago

It does not send messages, every time the same error "Blip Blop. Blup. You're as fast as a robot. Please wait a few seconds."

captha "I'm not a robot" active

domain: porownywarkaleasingowa.pl default mail: biuro@porownywarkaleasingowa.pl

The honeypot field can not be turned off

help me pls

nliautaud commented 6 years ago

Hi, I cannot reproduce the issue here.

Could you try with the latest release ? https://github.com/nliautaud/p01contact/releases

This behavior is depending on the option min_sec_after_load, Minimum time after page load in the settings, set as 3 seconds by default. Please check that you have a small number here.

Then, turn on Debug Mode in the options (you probably don't want to do that in production). $_SESSION infos should appear before pages and indicate last_page_load. Its value should gain seconds between each page load.

This value is simply compared to the current time :

https://github.com/nliautaud/p01contact/blob/4993b6ab82ebe235693988e1387aeb18da835e91/p01-contact/src/P01contact_Form.php#L224-L227

freestylers commented 6 years ago

Hi Nicolas, I turn on debug mode

Notice: Undefined variable: i in /plugins/p01-contact/src/P01contact_Field.php on line 223

Warning: Missing argument 1 for P01C\P01contactForm::debug(), called in /plugins/p01-contact/src/P01contact_Form.php on line 301 and defined in /plugins/p01-contact/src/P01contact_Form.php on line 332

Notice: Undefined variable: set_infos in /plugins/p01-contact/src/P01contact_Form.php on line 336

$_SESSION :

Array ( [p01-contact] => Array ( [last_page_load] => 1508645102 [token] => c5ebeb82ed919cec3cb304280eeb653159eba6802e2621.11525649 )

[digit] => 91936

)

Is it possible to disable security - honeypot, time checking?

Thank you,

Kamil Szelag

nliautaud commented 6 years ago

Hi Kamil, Could you try with the latest version ? These issues have been fixed. https://github.com/nliautaud/p01contact/archive/master.zip

freestylers commented 6 years ago

I have

nliautaud commented 6 years ago

The 1.0.0 version don't include these fixes. Could you try with the most recent version on the repository ? You can download it here : https://github.com/nliautaud/p01contact/archive/master.zip

I'll update the version on GetSimple soon.

freestylers commented 6 years ago

Thank you Nicolas for new version , I replaced plugin but problem this same

porownywarkaleasingowa.pl/ - based on "Red Agency" theme

what could be wrong? My hosting requires that the correct email address of the sender be in the header of the message being sent.

-f address@domain.com Example: mail ($ to, $ subject, $ message, $ headers, "-f address@domain.com");

nliautaud commented 6 years ago

Hum, I can not manage to reproduce the issue.

Could you confirm that the issue "You're as fast as a robot" persist with a default tag and default configuration (except adding a default email), and that especially the setting "Minimum time after page load" is set to 3 ?

Do you still have any Error, Notice or Warning with or without the debug mode, and before or after submitting the form ?

nliautaud commented 6 years ago

Handling of sessions loads have been changed in branch 1.1. It may resolve your issues. https://github.com/nliautaud/p01contact/archive/1.1.zip

freestylers commented 6 years ago

Hi Nicolas, thanks for help, new version displays "Error: message not sent." In the PA below settings pop up error logs.

The form is set to default

Min_sec_after_load - 3 Min_sec_between_posts - 5 Max_posts_by_hour - 10

please go to page - porownywarkaleasingowa.pl/ I enabled debug mode

freestylers commented 6 years ago

In debug mode, the message was sent successfully

nliautaud commented 6 years ago

Hi Kamil,

Thanks for the details.

This error indicates that there is an issue with you mail server, or at least that it haven't been able to handle the generated mail. You should contact your server administrator or hosting provider to check for requirements or issues. The debug mode give you the source code of the generated mail and its headers.

Good luck, and feel free to reopen this issue if you find that there is anything related to p01contact 😟 .

freestylers commented 6 years ago

Thank you Nikolas for your dedication and time to help me, I will contact the hosting company, I will be very sad if it turns out that I will not be able to use your plugin because it is perfect for this project.

Regards, Kamil

nliautaud commented 6 years ago

You're welcome. I hope that you'll sort it out. I'll be interested to know if you've been able to resolve it, or not, or if you found additional infos (ex. are you able to send mails by using another system).

You're helping too by making feedback :) Best