close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

captcha error: "Please open a web page in order to use this interface"

Thread began 2/12/2021 11:14 am by randyrie405335 | Last modified 2/14/2021 10:20 am by Ray Borduin | 568 views | 7 replies |

randyrie405335

captcha error: "Please open a web page in order to use this interface"

I get this pop-up notice whenever I try to insert captcha via the "Webassist/Forms/Insert Captcha" menu item - - no matter what page I open. (See the first attachment) When I use DMX Zone Extension Manager to uninstall Databridge, the webassist menu item does not go away (see the second attachment).

I'm using Dreamweaver CC 2020 [lifetime license] on a Mac running macOS v10.15.7

Sign in to reply to this post

Ray BorduinWebAssist

Do you have a .php page opened that is saved to a defined Dreamweaver site? And do you have your cursor on the page where you want the captcha to be inserted?

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

randyrie405335

Captcha error...

Thanks for your quick response, Ray.

I tried everything but nothing worked until I uninstalled the DMX zone Ext. Mngr. and installed and used Anastasiy's Extension Manager. I deleted the Databridge v2.35 extension and re-installed it. That worked and now I'm able to use the captcha GUI. However, I notice that I can type anything into the Captcha security field and the form will not be submitted but no warning is displayed. How do I make certain that the code displayed and what is typed in match and warn the user if it doesn't? If left blank, verification does present an error notice and prevents submission.

Sign in to reply to this post

Ray BorduinWebAssist

Please attach the page so I can see what you have. The answer is to add Server Validation and "like entry" validation. The correct captcha answer is saved in the session and you can compare that to the user posted field value.

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

randyrie405335

Captcha error...

Thanks, Ray. I'll try your suggestion but meanwhile...

I'm attaching the page. As is, the form does submit and verification prevents submission but there is no warning that the security code displayed and what is typed in do not match. Please review and let me know what I've missed?

Sign in to reply to this post

Ray BorduinWebAssist

This page has the email but I don't see the form. Anyway... you would want to add server validation for "Like entry" with the form element from the form page compared to the captcha session value.

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

randyrie405335

Captcha error...

I added the "Like Entry" validation and will test further. I am including the updated form (which is presented via an iframe and thus is a separate page)... attached below for your review. Let me know if it looks OK to you?

Sign in to reply to this post

Ray BorduinWebAssist

The trigger for the form validation should be the same as the trigger for the email or else it could be bypassed.

You are using Required Entry validation instead of Like Entry validation... That would only ensure they enter a value, not the correct one.

Fixing those two issues you should get something like:

php:
<?php require_once("webassist/form_validations/wavt_scripts_php.php"); ?>

<?php 
require_once("webassist/form_validations/wavt_validatedform_php.php"); ?>
<?php 
require_once("../webassist/email/WA_Email.php"); ?>
<?php 
if (isset($_POST["addcontent"]) || isset($_POST["addcontent_x"]))  {
  
$WAFV_Redirect "";
  
$_SESSION['WAVT_inclcontactinfo_510_Errors'] = "";
  if (
$WAFV_Redirect == "")  {
    
$WAFV_Redirect $_SERVER["PHP_SELF"];
  }
  
$WAFV_Errors "";
  
$WAFV_Errors .= WAValidateLE(strtolower(((isset($_POST["Security_Code"]))?$_POST["Security_Code"]:"")) . "",strtolower($_SESSION["captcha_Security_Code_1"]) . "",true,1);

  if (
$WAFV_Errors != "")  {
    
PostResult($WAFV_Redirect,$WAFV_Errors,"inclcontactinfo_510");
  }
}
?>
<?php
if (isset($_POST["addcontent"]) || isset($_POST["addcontent_x"]))     {  //WA Universal Email
  
$Email = new WA_Email("incl_contactinfo");
  
$Email->From "".((isset($_POST["Email"]))?$_POST["Email"]:"")  ."";
  
$Email->addTo("randyrie@rjrwebz.com");
  
$Email->BodyFile "../email_block.php";
  if (
function_exists("rel2abs") && $Email->Redirect$Email->Redirect $Email->Redirect?rel2abs($Email->Redirect,dirname(__FILE__)):"";
  for (
$emailGroup=0$emailGroup<sizeof($Email->To); $emailGroup++) {
    
$Email->Subject "Contact Form from RjRwebs";
    
$Email->send($emailGroup);
  }
  
$Email->close();
}
?>
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...