Page 1 of 1
*SOLVED* Form was submitting yesteday, now won't
Posted: Thu Dec 05, 2019 4:24 pm
by etcbbu
Hi all,
Got a form at the bottom of this page:
https://www.brelsfordpersonnel.com/newtestpositions.php
that
was submitting yesterday, and now is not. Before I put in the CAPTCHA, it was submitting fine. And now, today, whenever I have added the "CAPTCHA", it's taking me to the "Error" page, as you can see. Please feel free to fill it our yourself, test submit it, and see.
--etcbbu
Re: Form was submitting yesteday, now won't
Posted: Thu Dec 05, 2019 6:00 pm
by Pablo
Usually problems with CAPTCHA are related to issues with PHP sessions on the server.
You will need to contact the webhost and ask them to reset/ clear PHP sessions.
Re: Form was submitting yesteday, now won't
Posted: Thu Dec 05, 2019 7:15 pm
by etcbbu
They said I should do this:
https://www.tutorialspoint.com/php/php_sessions.htm
Does anyone here, WYSIWYG Web Builder, have experience with doing this method and have pointers for me..? I never have done it before, and I get nervous, handling things like .htaccess , or .ini 's , or any such php/session-level maintenance.
God bless,.
Re: Form was submitting yesteday, now won't
Posted: Thu Dec 05, 2019 7:27 pm
by etcbbu
Also, I don't know if this matters, but this is a form that I am using SMTP settings under the "Advanced" form of the form, to deliver the message.
--etcbbu
Re: Form was submitting yesteday, now won't
Posted: Thu Dec 05, 2019 8:10 pm
by etcbbu
Sorry to triple-post, but my web-host has now offered this page for me to reference:
https://www.php.net/manual/en/session.configuration.php
Which seems to be php's official site. Would the session.cache-expire be the one?
Re: Form was submitting yesteday, now won't
Posted: Thu Dec 05, 2019 9:14 pm
by Pablo
I'm sorry, I cannot help you with server configuration.
Re: Form was submitting yesteday, now won't
Posted: Thu Dec 05, 2019 10:10 pm
by etcbbu
Darn. And the web-host is telling me:
"Thank you for your patience. After looking into the request this appears to be more of a coding issue which is outside of our scope of support, unfortunately I can not advise you further on this issue."
Re: Form was submitting yesteday, now won't
Posted: Thu Dec 05, 2019 10:20 pm
by etcbbu
Is there another CAPTCHA I can use, within WYSIWYG Web Builder, to still cut down on spam besides just this primary "CAPTCHA" object?
Re: Form was submitting yesteday, now won't
Posted: Fri Dec 06, 2019 7:24 am
by Pablo
You do not have to worry that there is an error in the code of the CAPCTHA otherwise it would have been fixed a long time ago.
I think it's related to the PHP sessions not working on the server.
Alternatives:
http://wysiwygwebbuilder.com/randomquestion.html
http://wysiwygwebbuilder.com/recaptchav2.html
http://wysiwygwebbuilder.com/recaptchav3.html
Re: Form was submitting yesteday, now won't
Posted: Fri Dec 06, 2019 9:23 pm
by etcbbu
Thanks, Pablo; I'll look into those. But let me also ask:
I've been told I need to use
and I assume it needs to be on the
newtestpositions.php
file since that is the page with this Contact form. But, which tab--from within WYSIWYG Web Builder--would I place it? in "Page HTML" from within my WYSIWYG Web Builder work-space:
- Start of Page
- Between <head></head>
- Inside <body> tag
- After <body> tag
- Before </body> tag
- End of Page
- Inside <html> tag
?
Re: Form was submitting yesteday, now won't
Posted: Fri Dec 06, 2019 10:00 pm
by Pablo
session_destroy() will destroy the session so I am not sure why you want to use this.
Re: Form was submitting yesteday, now won't
Posted: Sat Dec 07, 2019 4:17 am
by etcbbu
I thought that was what cleared cache, which is what I needed to do, in order to possibly help the form work. because of the CAPTCHA..?
Re: Form was submitting yesteday, now won't
Posted: Sat Dec 07, 2019 8:05 am
by Pablo
I think, you will need to clear the session cache on the server.
Re: Form was submitting yesteday, now won't
Posted: Sat Dec 07, 2019 8:37 pm
by etcbbu
This is what my web-host is telling me:
Code: Select all
I think you can edit where sessions are stored by editing the website's php.ini file.
I am not really sure how to reset or clear those, I am afraid.
As the VPS is as self-managed service, I can only make general checks if everything is ok with the system.
I have checked and there are no resource issues with the server - you have plenty of free Disk space, RAM and CPU.
Coding and other design-related issues should be checked by a professional programmer.
Re: Form was submitting yesteday, now won't
Posted: Sat Dec 07, 2019 9:09 pm
by Pablo
Re: Form was submitting yesteday, now won't
Posted: Sun Dec 08, 2019 3:21 am
by etcbbu
Well, it looks like reCAPTCHA v2 jumped off the page and whatnot. So I mean, that's good news. Form jumped off the page ok.
But, the new reCAPTCHA v2 didn't prompt me to click the little pictures to verify that I am an actual person and whatnot..? I just hand-clicked the thing that said "I'm not a robot", and it automatically gave me the green check-mark. I know that when I have seen this thing on other websites, it asks you to click or tap and identify things like, traffic things/traffic lights, or "is there a crosswalk in these tiles, verify which tiles?", etc.--it didn't do any of that. Is it still successful at blocking Spam..?
Re: Form was submitting yesteday, now won't
Posted: Sun Dec 08, 2019 3:23 am
by etcbbu
WELL.
Now, upon tying it, again, in another browser--in which I wasn't logged into Google or anything--it *did* give me the little squares to verify. So. That looks good~
etcbbu