close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Captcha validation: progress bar hangs when captcha fails

Thread began 2/01/2021 2:17 pm by sweetman | Last modified 2/02/2021 2:27 pm by Ray Borduin | 70 views | 5 replies |

sweetman

Captcha validation: progress bar hangs when captcha fails

Hello all,
I applied a captcha to a bootstrap 3 form.
I added the WA progress bar server behaviour.
It all works, locally.
But when I publish it on the production server there is a problem: if the captcha is not correct, the progress bar shows forever.
Please note that if the captcha is correct the page works normally and submits correctly.

You can see the live page here: https://www.landgame.eu/il-mistero-delle-12-perle/puntata-1/parte-3.php
The form will open when you click the " UN TUO COMMENTO?" button.

I've recreated the page multiple times but the result is the same: it works locally but not online.
The page is pretty simple but I cannot spot the problem.

As a side note: the original page was using bootstrap validator but I disabled it because it doesn't work well with WA Progress bar.

I add here the php page along with the WA folder, in case someone can help me.
TIA
tony

Sign in to reply to this post

Ray BorduinWebAssist

I just tested and the page worked for me. Maybe try clearing your cache?

Sign in to reply to this post
Did this help? Tips are appreciated...

sweetman

Originally Said By: Ray Borduin
  I just tested and the page worked for me. Maybe try clearing your cache?  


Hello Ray,
I just tested it on a new system (so, I can exclude a cache problem) and it doesn't work.
Try this: add some text to comment field, enter a wrong code in the chaptcha field and check privacy checkbox. If you try to submit the form the progress bar appears but keep displaying and nothing happens. No error will be thrown.
Tony

Sign in to reply to this post

Ray BorduinWebAssist

When I track the submit in the browser's console... I see that the page is requested in http:// format... That is being blocked as mixed content.

I'm not sure where or how the url is changing to http:// instead of https:// which is what is causing the issue. I'd have to debug this live with FTP access to determine any more.

Maybe try updating line 14 from:
$WAFV_Redirect = "";

to:
$WAFV_Redirect = "https://www.landgame.eu/il-mistero-delle-12-perle/puntata-1/feedback.php";

Sign in to reply to this post
Did this help? Tips are appreciated...

sweetman

Hi Ray,
you rock!
It's definitely the server validation redirect.
Me too was searching for an http:// call without finding one.
But changing the redirect to full addess with https solved it.
Perhaps there is something to correct in the WA server validation files? I just installed DB2 latest version downloaded from WA website.
What else could it be?
Ciao
Tony

Sign in to reply to this post

Ray BorduinWebAssist

Some sort of server configuration issue... When you redirect to "page.php" it goes to the http:// version even when you are on https://. I've never seen that happen before, so I think it is a server issue of some sort.

Sign in to reply to this post
Did this help? Tips are appreciated...

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...