Form won't display once uploaded to...

User 2625207 Photo


Registered User
11 posts

I created a form and tested it on my development server (I know it's Apache, but not much more than that). It worked great. However, when I uploaded the page and the Webform builder files (both the php and the folder) to the client's server, the form wont show.

Here is the link to my server, where the form works:
http://gvilink.com/DEV/MOEL/index-6_test.html
(login: gvidev; pw: 12345gvi)

Here is the link to my client's server, where it doesn't work:
http://www.moellerpunch.com/index-6_test.html
I uploaded the page (see above URL) with a different name so visitors won't find it, while I try to troubleshoot.

Obviously there is a server conflict, but I have no idea what to ask the client, or what changes to make in the form code. Can you help?

Thanks.

On firefox I get this message:
Dispatch(); } else { if( ! isset( $_GET['action'] ) ) $myPage->ReportStats( 'NotifyFormView' ); } ob_start(); $myPage->Show(); ob_end_flush(); ?>

On Chrome I see:
<?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();

?>
User 103173 Photo


VP of Software Development
0 posts

Your server does not have PHP installed. That is why it is displaying the PHP instead of rendering it. Contact your hosting provider and have them enable PHP 5.

Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
User 2625207 Photo


Registered User
11 posts

Thanks

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.