*SOLVED* Form was submitting yesteday, now won't

Issues related to forms.
Post Reply
User avatar
etcbbu
 
 
Posts: 460
Joined: Mon Apr 23, 2007 3:00 pm

*SOLVED* Form was submitting yesteday, now won't

Post 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
Last edited by etcbbu on Thu Dec 19, 2019 7:21 pm, edited 1 time in total.
https://ktravisj.com

Travis J Consulting, LLC
⚫️Website Design/Development/Maintenance
⚫️Web-Marketing/Social Media
⚫️SEO/Search Engine Optimization

https://ktravisj.com
User avatar
Pablo
 
Posts: 21708
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Form was submitting yesteday, now won't

Post 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.
User avatar
etcbbu
 
 
Posts: 460
Joined: Mon Apr 23, 2007 3:00 pm

Re: Form was submitting yesteday, now won't

Post 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,.
https://ktravisj.com

Travis J Consulting, LLC
⚫️Website Design/Development/Maintenance
⚫️Web-Marketing/Social Media
⚫️SEO/Search Engine Optimization

https://ktravisj.com
User avatar
etcbbu
 
 
Posts: 460
Joined: Mon Apr 23, 2007 3:00 pm

Re: Form was submitting yesteday, now won't

Post 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
https://ktravisj.com

Travis J Consulting, LLC
⚫️Website Design/Development/Maintenance
⚫️Web-Marketing/Social Media
⚫️SEO/Search Engine Optimization

https://ktravisj.com
User avatar
etcbbu
 
 
Posts: 460
Joined: Mon Apr 23, 2007 3:00 pm

Re: Form was submitting yesteday, now won't

Post 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?
https://ktravisj.com

Travis J Consulting, LLC
⚫️Website Design/Development/Maintenance
⚫️Web-Marketing/Social Media
⚫️SEO/Search Engine Optimization

https://ktravisj.com
User avatar
Pablo
 
Posts: 21708
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Form was submitting yesteday, now won't

Post by Pablo »

I'm sorry, I cannot help you with server configuration.
User avatar
etcbbu
 
 
Posts: 460
Joined: Mon Apr 23, 2007 3:00 pm

Re: Form was submitting yesteday, now won't

Post 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."
https://ktravisj.com

Travis J Consulting, LLC
⚫️Website Design/Development/Maintenance
⚫️Web-Marketing/Social Media
⚫️SEO/Search Engine Optimization

https://ktravisj.com
User avatar
etcbbu
 
 
Posts: 460
Joined: Mon Apr 23, 2007 3:00 pm

Re: Form was submitting yesteday, now won't

Post 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?
https://ktravisj.com

Travis J Consulting, LLC
⚫️Website Design/Development/Maintenance
⚫️Web-Marketing/Social Media
⚫️SEO/Search Engine Optimization

https://ktravisj.com
User avatar
Pablo
 
Posts: 21708
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Form was submitting yesteday, now won't

Post 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
User avatar
etcbbu
 
 
Posts: 460
Joined: Mon Apr 23, 2007 3:00 pm

Re: Form was submitting yesteday, now won't

Post by etcbbu »

Thanks, Pablo; I'll look into those. But let me also ask:

I've been told I need to use

Code: Select all

session_destroy()
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

?
https://ktravisj.com

Travis J Consulting, LLC
⚫️Website Design/Development/Maintenance
⚫️Web-Marketing/Social Media
⚫️SEO/Search Engine Optimization

https://ktravisj.com
User avatar
Pablo
 
Posts: 21708
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Form was submitting yesteday, now won't

Post by Pablo »

session_destroy() will destroy the session so I am not sure why you want to use this.
User avatar
etcbbu
 
 
Posts: 460
Joined: Mon Apr 23, 2007 3:00 pm

Re: Form was submitting yesteday, now won't

Post 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..?
https://ktravisj.com

Travis J Consulting, LLC
⚫️Website Design/Development/Maintenance
⚫️Web-Marketing/Social Media
⚫️SEO/Search Engine Optimization

https://ktravisj.com
User avatar
Pablo
 
Posts: 21708
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Form was submitting yesteday, now won't

Post by Pablo »

I think, you will need to clear the session cache on the server.
User avatar
etcbbu
 
 
Posts: 460
Joined: Mon Apr 23, 2007 3:00 pm

Re: Form was submitting yesteday, now won't

Post 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.
https://ktravisj.com

Travis J Consulting, LLC
⚫️Website Design/Development/Maintenance
⚫️Web-Marketing/Social Media
⚫️SEO/Search Engine Optimization

https://ktravisj.com
User avatar
Pablo
 
Posts: 21708
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Form was submitting yesteday, now won't

Post by Pablo »

User avatar
etcbbu
 
 
Posts: 460
Joined: Mon Apr 23, 2007 3:00 pm

Re: Form was submitting yesteday, now won't

Post 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..?
https://ktravisj.com

Travis J Consulting, LLC
⚫️Website Design/Development/Maintenance
⚫️Web-Marketing/Social Media
⚫️SEO/Search Engine Optimization

https://ktravisj.com
User avatar
etcbbu
 
 
Posts: 460
Joined: Mon Apr 23, 2007 3:00 pm

Re: Form was submitting yesteday, now won't

Post 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
https://ktravisj.com

Travis J Consulting, LLC
⚫️Website Design/Development/Maintenance
⚫️Web-Marketing/Social Media
⚫️SEO/Search Engine Optimization

https://ktravisj.com
Post Reply