Web Form Builder in WordPress - Page 2

User 430140 Photo


Registered User
43 posts

Just looked at the WPMaintenanceForm.php, which is outside of the WPMaintenanceForm folder (as usual).
Here is the code.

<?php

$scriptpath = substr( $_SERVER['SCRIPT_FILENAME'], 0, -4 );
$paths = explode ( DIRECTORY_SEPARATOR , $scriptpath );
$myName = end($paths);
require $scriptpath . '/fbapp/php/config.inc.php';

if( strtoupper( $_SERVER['REQUEST_METHOD'] ) == 'POST' ) {

$ctl = new FormController();
$ctl->Dispatch();

} else {

if( ! isset( $_GET['action'] ) ) $myPage->ReportStats( 'NotifyFormView' );
}

ob_start();

$myPage->Show();
ob_end_flush();

?>


I assume the script path is correct with just the forward slash in front of the /fbapp/php/config.inc.php' ?

I am grasping at straws. :-)

thanks,
H
User 187934 Photo


Senior Advisor
20,271 posts

Can you share a link to the page with your form?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 187934 Photo


Senior Advisor
20,271 posts

Try replacing all with this.
<iframe height="1574" style="border:none; background:transparent; overflow:hidden; width:100%;"
id="fb_iframe" src="http://www.hlnwebdesigns.com/wp-content/themes/Builder-Attent-child/WPMaintenanceForm/WPMaintenanceForm.html">
</iframe>
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 430140 Photo


Registered User
43 posts

Now I can see it, but the captcha is not showing up. Tried it without and of course it would not work. I was replacing ALL the code with what you gave me, correct?
User 430140 Photo


Registered User
43 posts

This is what shows up instead of the captcha on the form:

Input error: k: Format of site key was invalid

My hint shows up at the top of the page stating you did not enter the correct information into captcha.
User 187934 Photo


Senior Advisor
20,271 posts

You also need to remove the old script.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 430140 Photo


Registered User
43 posts

I have the old script removed. I cleared my cache, but the captcha is still not showing up.
User 187934 Photo


Senior Advisor
20,271 posts

Does the captcha look correct in the formbuilder?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 430140 Photo


Registered User
43 posts

yes. When I do a preview it is there.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.