Universal Form Validator PHP Support Product Page
Error when opening form with UFV
Reported 18 Jan 2010 14:07:10
2
have this problem
18 Jan 2010 14:07:10 Jacques H posted:
On opening a form with UFV I get the following error:Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /usr/home/preamke.nl/htdocs/html/arrangementen_boeken.php:116) in /usr/home/preamke.nl/htdocs/ScriptLibrary/dmxValidator.php on line 251
Line 116 in the form is: <script language="javascript" type="text/javascript" src="../ScriptLibrary/jquery-latest.pack.js"></script>
Pse advice
Replies
Replied 19 Jan 2010 14:17:10
19 Jan 2010 14:17:10 Jacques H replied:
Hello,
Just found out that this error is produced by bot check. When turning bot check off, the error stays away and everything functions
Just found out that this error is produced by bot check. When turning bot check off, the error stays away and everything functions
Replied 20 Jan 2010 11:06:06
20 Jan 2010 11:06:06 Miroslav Zografski replied:
Hello Jacques,
I'll have this investigates. Thank for the feedback.
Regards,
I'll have this investigates. Thank for the feedback.
Regards,
Replied 02 Feb 2010 19:08:27
02 Feb 2010 19:08:27 Alexander Dobernig replied:
Same error here - UFV PHP 1.5.2
Can be reproduced with a document new from scratch.
Bot check turns error off.
Best regards
Alex
Can be reproduced with a document new from scratch.
Bot check turns error off.
Best regards
Alex
Replied 13 Feb 2010 13:26:37
13 Feb 2010 13:26:37 Matt Whiteman replied:
Hi,
Any news on a fix for this, as I'm keen to implement this feature, but like others as soon as I enable "use bot check" the page errors with "Warning: session_start() [function.session-start]: Cannot send session cookie " bla bla...
Regards Matt.
PHP Form Validator ver 1.5.2
Any news on a fix for this, as I'm keen to implement this feature, but like others as soon as I enable "use bot check" the page errors with "Warning: session_start() [function.session-start]: Cannot send session cookie " bla bla...
Regards Matt.
PHP Form Validator ver 1.5.2
Edited by - Matt Whiteman on 13 Feb 2010 13:27:22
Replied 13 Feb 2010 13:39:41
13 Feb 2010 13:39:41 Jacques H replied:
I have been experimenting with this and the following works now for me.
When first implementing UVF turn off bot check. When implementation is complete and tested on the server, open UVF again and turn on botcheck.
I works for me until now.
When first implementing UVF turn off bot check. When implementation is complete and tested on the server, open UVF again and turn on botcheck.
I works for me until now.
Replied 13 Feb 2010 16:15:11
13 Feb 2010 16:15:11 Matt Whiteman replied:
Unfortunately I still experience the same problem but thanks anyway Jacques Hoogenboom.
Replied 16 Feb 2010 17:26:18
16 Feb 2010 17:26:18 Miroslav Zografski replied:
Hello,
Sorry for the delay in my answer.
Please, provide your pages code in order to investigate the issue. I seems to failed in recreating it.
Probably the issue is caused when the page containing the form is called as include is an instance of a DW template.
Please, confirm that statement as well.
Regards,
Sorry for the delay in my answer.
Please, provide your pages code in order to investigate the issue. I seems to failed in recreating it.
Probably the issue is caused when the page containing the form is called as include is an instance of a DW template.
Please, confirm that statement as well.
Regards,
Replied 12 Jul 2013 10:23:52
12 Jul 2013 10:23:52 Kenny Darcy replied:
I have purchased this extension last month and I have this issue also.
My page is not a template or an include.
Page code below
Cheers
k
-----------------------------------------
<?php require_once('ScriptLibrary/dmxValidator.php'); ?>
<?php
// Universal Form Validator PHP 1.5.5
$manlaform = new dmxValidator();
$manlaform->script_folder = "ScriptLibrary";
$manlaform->cs_validate_on_change = true;
$manlaform->cs_validate_on_submit = true;
$manlaform->reenable_javascript = false;
$manlaform->use_bot_check = true;
$manlaform->report_type = 4;
$manlaform->error_font = "Arial";
$manlaform->error_font_size = 12;
$manlaform->error_color = "#ffffff";
$manlaform->error_bold = true;
$manlaform->error_italic = false;
$manlaform->error_image = "";
$manlaform->error_fixed = "Custom";
$manlaform->error_padding = 4;
$manlaform->border_color = "#FF0000";
$manlaform->border_style = "solid";
$manlaform->css_error_file = "validatorError1";
$manlaform->error_bg_color = "#ff0000";
$manlaform->error_preset = "error_five.txt";
$manlaform->tooltip_position = "top";
$manlaform->css_hint_file = "validatorHint1";
$manlaform->hint_preset = "blue.txt";
$manlaform->hint_tooltip_position = "top";
$manlaform->hint_border_color = "#0099ff";
$manlaform->hint_border_style = "solid";
$manlaform->hint_bg_color = "#003399";
$manlaform->hint_text_color = "#ffffff";
$manlaform->hint_text_font = "Arial";
$manlaform->hint_text_size = 12;
$manlaform->hint_text_bold = false;
$manlaform->hint_text_italic = false;
$manlaform->hint_box_width = 200;
$manlaform->hint_image = "";
$manlaform->hint_fixed = "Custom";
$manlaform->hint_padding = 4;
$manlaform->use_custom_focus_class = "fixed";
$manlaform->focus_border_style = "groove";
$manlaform->focus_border_size = 2;
$manlaform->focus_border_color = "#C3D9FF";
$manlaform->focus_bg_color = "#FFFFFF";
$manlaform->focus_text_color = "#000000";
$manlaform->use_custom_valid_class = "fixed";
$manlaform->valid_border_style = "groove";
$manlaform->valid_border_size = 2;
$manlaform->valid_border_color = "#00FF00";
$manlaform->valid_bg_color = "#FFFFFF";
$manlaform->valid_text_color = "#000000";
$manlaform->use_custom_invalid_class = "fixed";
$manlaform->invalid_border_style = "groove";
$manlaform->invalid_border_size = 2;
$manlaform->invalid_border_color = "#FF0000";
$manlaform->invalid_bg_color = "#FFFFFF";
$manlaform->invalid_text_color = "#000000";
$manlaform->add_rule("manlaform", "ename", "mincond", "1,,", "true", "Please Enter Your Name!", "", "", ""
$manlaform->add_rule("manlaform", "eemail", "emailcond", ",,", "true", "Please Enter Your Email Address!", "", "", ""
$manlaform->add_rule("manlaform", "wibbletosend", "minrequiredcond", "2,,", "true", "", "", "", ""
$manlaform->validate();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<link rel="stylesheet" href="Styles/dmxValidator/validatorHint1.css" type="text/css" />
<link rel="stylesheet" href="Styles/dmxValidator/validatorError1.css" type="text/css" />
<script type="text/javascript" src="ScriptLibrary/jsvat.js"></script>
<script type="text/javascript" src="ScriptLibrary/jquery-latest.pack.js"></script>
<script type="text/javascript" src="ScriptLibrary/jquery.inputHintBox.js"></script>
<script type="text/javascript" src="ScriptLibrary/jquery.maskedinput-1.2.2.js"></script>
<script type="text/javascript" src="ScriptLibrary/jquery.validate.min.js"></script>
<script type="text/javascript" src="ScriptLibrary/dmx.jquery.validate.js"></script>
<script type="text/javascript" src="ScriptLibrary/jquery.tooltip.min.js"></script>
<script type="text/javascript" src="ScriptLibrary/jquery.hoverIntent.min.js"></script>
<?php
// dmxValidatorJSStart
$manlaform->generate_javascript_and_css();
// dmxValidatorJSEnd
?>
</head>
<body>
<form action="" method="post" id="manlaform">
<h2 style="margin-bottom:0px;">Your Name</h2>
<div style="margin-bottom:10px;"></div>
<div>
<input name="ename" type="text" value="<?php echo dmxSetValue("", "ename" ?>" />
<?php $manlaform->generate_error("manlaform","ename","requiredcond","1,,"$manlaform->generate_error("manlaform","ename","mincond","1,,"?>
</div>
<h2 style="margin-bottom:0px;">Email</h2>
<div style="margin-bottom:10px;"></div>
<div>
<input name="eemail" type="text" value="<?php echo dmxSetValue("", "eemail" ?>" />
<?php $manlaform->generate_error("manlaform","eemail","requiredcond",",,"$manlaform->generate_error("manlaform","eemail","emailcond",",,"?>
</div>
<h2 style="margin:0px;">Your Message</h2>
<div style="margin-bottom:10px;"></div>
<textarea name="wibbletosend" cols="40" rows=""><?php echo dmxSetValue("", "wibbletosend" ?></textarea>
<?php $manlaform->generate_error("manlaform","wibbletosend","requiredcond","2,,"$manlaform->generate_error("manlaform","wibbletosend","minrequiredcond","2,,"?>
<div style="margin-top:12px; padding-right:10px; padding-bottom:8px;">
<input name="butbut" type="submit" class="btn" value="Send Email" />
<input type="button" class="btn" value="Cancel" onclick="javascript:history.go(-1);" />
</div>
<?php $manlaform->show_bot_check_error(); ?>
</form>
</body>
</html>
My page is not a template or an include.
Page code below
Cheers
k
-----------------------------------------
<?php require_once('ScriptLibrary/dmxValidator.php'); ?>
<?php
// Universal Form Validator PHP 1.5.5
$manlaform = new dmxValidator();
$manlaform->script_folder = "ScriptLibrary";
$manlaform->cs_validate_on_change = true;
$manlaform->cs_validate_on_submit = true;
$manlaform->reenable_javascript = false;
$manlaform->use_bot_check = true;
$manlaform->report_type = 4;
$manlaform->error_font = "Arial";
$manlaform->error_font_size = 12;
$manlaform->error_color = "#ffffff";
$manlaform->error_bold = true;
$manlaform->error_italic = false;
$manlaform->error_image = "";
$manlaform->error_fixed = "Custom";
$manlaform->error_padding = 4;
$manlaform->border_color = "#FF0000";
$manlaform->border_style = "solid";
$manlaform->css_error_file = "validatorError1";
$manlaform->error_bg_color = "#ff0000";
$manlaform->error_preset = "error_five.txt";
$manlaform->tooltip_position = "top";
$manlaform->css_hint_file = "validatorHint1";
$manlaform->hint_preset = "blue.txt";
$manlaform->hint_tooltip_position = "top";
$manlaform->hint_border_color = "#0099ff";
$manlaform->hint_border_style = "solid";
$manlaform->hint_bg_color = "#003399";
$manlaform->hint_text_color = "#ffffff";
$manlaform->hint_text_font = "Arial";
$manlaform->hint_text_size = 12;
$manlaform->hint_text_bold = false;
$manlaform->hint_text_italic = false;
$manlaform->hint_box_width = 200;
$manlaform->hint_image = "";
$manlaform->hint_fixed = "Custom";
$manlaform->hint_padding = 4;
$manlaform->use_custom_focus_class = "fixed";
$manlaform->focus_border_style = "groove";
$manlaform->focus_border_size = 2;
$manlaform->focus_border_color = "#C3D9FF";
$manlaform->focus_bg_color = "#FFFFFF";
$manlaform->focus_text_color = "#000000";
$manlaform->use_custom_valid_class = "fixed";
$manlaform->valid_border_style = "groove";
$manlaform->valid_border_size = 2;
$manlaform->valid_border_color = "#00FF00";
$manlaform->valid_bg_color = "#FFFFFF";
$manlaform->valid_text_color = "#000000";
$manlaform->use_custom_invalid_class = "fixed";
$manlaform->invalid_border_style = "groove";
$manlaform->invalid_border_size = 2;
$manlaform->invalid_border_color = "#FF0000";
$manlaform->invalid_bg_color = "#FFFFFF";
$manlaform->invalid_text_color = "#000000";
$manlaform->add_rule("manlaform", "ename", "mincond", "1,,", "true", "Please Enter Your Name!", "", "", ""
$manlaform->add_rule("manlaform", "eemail", "emailcond", ",,", "true", "Please Enter Your Email Address!", "", "", ""
$manlaform->add_rule("manlaform", "wibbletosend", "minrequiredcond", "2,,", "true", "", "", "", ""
$manlaform->validate();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<link rel="stylesheet" href="Styles/dmxValidator/validatorHint1.css" type="text/css" />
<link rel="stylesheet" href="Styles/dmxValidator/validatorError1.css" type="text/css" />
<script type="text/javascript" src="ScriptLibrary/jsvat.js"></script>
<script type="text/javascript" src="ScriptLibrary/jquery-latest.pack.js"></script>
<script type="text/javascript" src="ScriptLibrary/jquery.inputHintBox.js"></script>
<script type="text/javascript" src="ScriptLibrary/jquery.maskedinput-1.2.2.js"></script>
<script type="text/javascript" src="ScriptLibrary/jquery.validate.min.js"></script>
<script type="text/javascript" src="ScriptLibrary/dmx.jquery.validate.js"></script>
<script type="text/javascript" src="ScriptLibrary/jquery.tooltip.min.js"></script>
<script type="text/javascript" src="ScriptLibrary/jquery.hoverIntent.min.js"></script>
<?php
// dmxValidatorJSStart
$manlaform->generate_javascript_and_css();
// dmxValidatorJSEnd
?>
</head>
<body>
<form action="" method="post" id="manlaform">
<h2 style="margin-bottom:0px;">Your Name</h2>
<div style="margin-bottom:10px;"></div>
<div>
<input name="ename" type="text" value="<?php echo dmxSetValue("", "ename" ?>" />
<?php $manlaform->generate_error("manlaform","ename","requiredcond","1,,"$manlaform->generate_error("manlaform","ename","mincond","1,,"?>
</div>
<h2 style="margin-bottom:0px;">Email</h2>
<div style="margin-bottom:10px;"></div>
<div>
<input name="eemail" type="text" value="<?php echo dmxSetValue("", "eemail" ?>" />
<?php $manlaform->generate_error("manlaform","eemail","requiredcond",",,"$manlaform->generate_error("manlaform","eemail","emailcond",",,"?>
</div>
<h2 style="margin:0px;">Your Message</h2>
<div style="margin-bottom:10px;"></div>
<textarea name="wibbletosend" cols="40" rows=""><?php echo dmxSetValue("", "wibbletosend" ?></textarea>
<?php $manlaform->generate_error("manlaform","wibbletosend","requiredcond","2,,"$manlaform->generate_error("manlaform","wibbletosend","minrequiredcond","2,,"?>
<div style="margin-top:12px; padding-right:10px; padding-bottom:8px;">
<input name="butbut" type="submit" class="btn" value="Send Email" />
<input type="button" class="btn" value="Cancel" onclick="javascript:history.go(-1);" />
</div>
<?php $manlaform->show_bot_check_error(); ?>
</form>
</body>
</html>
Replied 12 Jul 2013 13:57:52
12 Jul 2013 13:57:52 Jacques H replied:
Try to open UFV and uncheck "botcheck", then delete <?php $manlaform->show_bot_check_error(); ?> at the bottom of the list
Replied 14 May 2015 23:13:38
14 May 2015 23:13:38 Fred Muchmore replied:
I just purchased this extension and after I added the validation code the page is coming up with these errors:
Warning: require_once(ScriptLibrary/dmxValidator.php) [function.require-once]:
Fatal error: require_once() [function.require]: Failed opening required 'ScriptLibrary/dmxValidator.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/94/3319194/html/Jennifers-Web_Site/contact.php on line 1
That's kinda ridicules just purchasing these extensions and it is not working?
<?php require_once('ScriptLibrary/dmxValidator.php'); ?>
<?php require_once('ScriptLibrary/incSmartMailer.php'); ?>
<?php
// Universal Form Validator PHP 1.5.5
$dmxval1 = new dmxValidator();
$dmxval1->script_folder = "ScriptLibrary";
$dmxval1->cs_validate_on_change = true;
$dmxval1->cs_validate_on_submit = true;
$dmxval1->reenable_javascript = true;
$dmxval1->use_bot_check = true;
$dmxval1->report_type = 4;
$dmxval1->error_font = "Arial";
$dmxval1->error_font_size = 12;
$dmxval1->error_color = "#ffffff";
$dmxval1->error_bold = true;
$dmxval1->error_italic = false;
$dmxval1->error_image = "";
$dmxval1->error_fixed = "Custom";
$dmxval1->error_padding = 4;
$dmxval1->border_color = "#FF0000";
$dmxval1->border_style = "solid";
$dmxval1->css_error_file = "validatorError1";
$dmxval1->error_bg_color = "#ff0000";
$dmxval1->error_preset = "error_five.txt";
$dmxval1->tooltip_position = "top";
$dmxval1->css_hint_file = "validatorHint1";
$dmxval1->hint_preset = "blue.txt";
$dmxval1->hint_tooltip_position = "top";
$dmxval1->hint_border_color = "#0099ff";
$dmxval1->hint_border_style = "solid";
$dmxval1->hint_bg_color = "#003399";
$dmxval1->hint_text_color = "#ffffff";
$dmxval1->hint_text_font = "Arial";
$dmxval1->hint_text_size = 12;
$dmxval1->hint_text_bold = false;
$dmxval1->hint_text_italic = false;
$dmxval1->hint_box_width = 200;
$dmxval1->hint_image = "";
$dmxval1->hint_fixed = "Custom";
$dmxval1->hint_padding = 4;
$dmxval1->use_custom_focus_class = "fixed";
$dmxval1->focus_border_style = "groove";
$dmxval1->focus_border_size = 2;
$dmxval1->focus_border_color = "#C3D9FF";
$dmxval1->focus_bg_color = "#FFFFFF";
$dmxval1->focus_text_color = "#000000";
$dmxval1->use_custom_valid_class = "fixed";
$dmxval1->valid_border_style = "groove";
$dmxval1->valid_border_size = 2;
$dmxval1->valid_border_color = "#00FF00";
$dmxval1->valid_bg_color = "#FFFFFF";
$dmxval1->valid_text_color = "#000000";
$dmxval1->use_custom_invalid_class = "fixed";
$dmxval1->invalid_border_style = "groove";
$dmxval1->invalid_border_size = 2;
$dmxval1->invalid_border_color = "#FF0000";
$dmxval1->invalid_bg_color = "#FFFFFF";
$dmxval1->invalid_text_color = "#000000";
$dmxval1->add_rule("contact_me", "First_Name", "letterscond", "true,,", "true", "", "First Name", "", ""
$dmxval1->add_rule("contact_me", "Last_Name", "allformats", ",,", "true", "", "Last Name", "", ""
$dmxval1->add_rule("contact_me", "Email", "emailcond", ",,", "true", "", "Email", "", ""
$dmxval1->add_rule("contact_me", "Message", "minlengthcond", "5,,", "true", "", "Please Enter Your Message", "", ""
$dmxval1->add_rule("contact_me", "Phone", "allformats", ",,", "true", "", "Phone Number", "", ""
$dmxval1->add_rule("contact_me", "Message", "maxlengthcond", "500,,", "true", "", "Please Enter Your Message", "", ""
$dmxval1->add_rule("contact_me", "Message", "allformats", ",,", "true", "", "Please Enter Your Message", "", ""
$dmxval1->add_mask("contact_me", "Phone", "phone", "North America"
$dmxval1->validate();
?>
<?php
// Smart Mailer 1.0.10
// Send on submit of form send-form
// Use progress blue_mailprogress.htm
// dimensions 300, 100
$sm1 = new SmartMailer();
$sm1->checkVersion("1.10"
$sm1->smtpSetup("smtpout.secureserver.net", 25, "xxxxxxxxxxxxx", "xxxxxxxxxxxx"
$sm1->component = "Sendmail";
$sm1->tmpFolder = "";
$sm1->embedImages = false;
$sm1->progressBar = "blue_mailprogress.htm";
$sm1->ignore_errors = false;
if (!isset($mm_abort_edit) || !$mm_abort_edit) {
if (count($_POST) > 0) {
@set_time_limit(300);
$sm1->setFrom(((isset($_POST["First_Name"]))?$_POST["First_Name"]:"", ((isset($_POST["Email"]))?$_POST["Email"]:"");
$sm1->setTo("Jennifer Muchmore", " "
$sm1->setCc("", ""
$sm1->setBcc("", ""
$sm1->setSubject("You Got an Email Request"
// using static for body
$sm1->setBody_Static_html("Received From:\n".((isset($_POST["First_Name"]))?$_POST["First_Name"]:""." ".((isset($_POST["Last_Name"]))?$_POST["Last_Name"]:""."\n\nEmail Address: ".((isset($_POST["Email"]))?$_POST["Email"]:""."\n\nPhone Number: ".((isset($_POST["Phone"]))?$_POST["Phone"]:""."\n\nHere is your message request:\n".((isset($_POST["Message"]))?$_POST["Message"]:"".""
// Attachments none
$sm1->sendMail("one"
$GoTo = "thank-you.html";
if (isset($_SERVER['QUERY_STRING'])) {
$GoTo .= (strpos($GoTo, '?')) ? "&" : "?";
$GoTo .= $_SERVER['QUERY_STRING'];
}
header(sprintf("Location: %s", $GoTo));
}
}
$SM_mailAction = getMailAction();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="www.w3.org/1999/xhtml">
<head>
<script language="JavaScript">
<!--
function showMailProgressWindow(progressFile,popWidth,popHeight) { //v1.00
if (document.MM_returnValue!=false) {
var w = 480, h = 340;
if (document.all || document.layers || document.getElementById) {
w = screen.availWidth; h = screen.availHeight;}
var leftPos = (w-popWidth)/2, topPos = (h-popHeight)/2;
document.progressWindow = window.open(progressFile,'ProgressWindow','toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=' + popWidth + ',height='+popHeight);
document.progressWindow.moveTo(leftPos, topPos);document.progressWindow.focus();
window.onunload = function () {document.progressWindow.close();};
} }
//-->
</script>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Contact</title>
<link href="stylesheets/reset.css" rel="stylesheet" type="text/css" />
<link href="stylesheets/photo.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="scripts/browser-compatibility.js"></script>
<link href="Styles/form_clear.css" rel="stylesheet" type="text/css" />
<link href="Styles/form_fancy.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="Styles/dmxValidator/validatorHint1.css" type="text/css" />
<link rel="stylesheet" href="Styles/dmxValidator/validatorError1.css" type="text/css" />
<script type="text/javascript" src="ScriptLibrary/jsvat.js"></script>
<script type="text/javascript" src="ScriptLibrary/jquery-latest.pack.js"></script>
<script type="text/javascript" src="ScriptLibrary/jquery.inputHintBox.js"></script>
<script type="text/javascript" src="ScriptLibrary/jquery.maskedinput-1.2.2.js"></script>
<script type="text/javascript" src="ScriptLibrary/jquery.validate.min.js"></script>
<script type="text/javascript" src="ScriptLibrary/dmx.jquery.validate.js"></script>
<script type="text/javascript" src="ScriptLibrary/jquery.tooltip.min.js"></script>
<script type="text/javascript" src="ScriptLibrary/jquery.hoverIntent.min.js"></script>
<?php
// dmxValidatorJSStart
$dmxval1->generate_javascript_and_css();
// dmxValidatorJSEnd
?>
</head>
<body><div class="main_wrapper cf">
<div class="header cf">
<div class="logo_and_nav cf">
<div class="logo"> <a href="index.html"><img name="logo" src="images/new-logo.png" width="275" height="124" id="logo" alt="" /></a>
</div>
<div class="nav_holder">
<ul class="hmenubar">
<li><a href="index.html" class="clicked">Home</a>
</li>
<li><a href="about.html">About</a>
</li>
<li><a href="portfolio.html">Portfolio</a>
</li>
<li><a href="contact.php">Contact</a>
</li>
</ul>
<select>
<option href="#" selected="selected">Home</option>
</select>
<script type="text/javascript" src="scripts/menu_selection.js"></script>
</div>
</div>
</div>
<div class="content cf">
<div class="main_contact_area cf">
<div class="contact_form_holder">
<h2 class="about_title">Contact me</h2>
<div class="form_holder">
<form action="" method="post" name="send-form" class="clear" id="contact_me" onsubmit="showMailProgressWindow('blue_mailprogress.htm?<?php echo $sm1->getProgressFile(); ?>',300,100)">
<fieldset>
<legend>Please Enter Your Information</legend>
<ol>
<li>
<label for="First_Name">First Name</label>
<input type="text" id="First_Name" name="First_Name" value="<?php echo dmxSetValue("", "First_Name" ?>" />
<?php $dmxval1->generate_error("contact_me","First_Name","requiredcond","true,,"$dmxval1->generate_error("contact_me","First_Name","letterscond","true,,"?>
</li>
<li>
<label for="Last_Name">Last Name</label>
<input type="text" id="Last_Name" name="Last_Name" value="<?php echo dmxSetValue("", "Last_Name" ?>" />
<?php $dmxval1->generate_error("contact_me","Last_Name","requiredcond",",,"$dmxval1->generate_error("contact_me","Last_Name","allformats",",,"?>
</li>
<li>
<label for="Email">Email</label>
<input type="text" id="Email" name="Email" value="<?php echo dmxSetValue("", "Email" ?>" />
<?php $dmxval1->generate_error("contact_me","Email","requiredcond",",,"$dmxval1->generate_error("contact_me","Email","emailcond",",,"?>
</li>
<li>
<label for="Phone">Phone Number</label>
<input type="text" id="Phone" name="Phone" value="<?php echo dmxSetValue("", "Phone" ?>" />
<?php $dmxval1->generate_error("contact_me","Phone","requiredcond",",,"$dmxval1->generate_error("contact_me","Phone","allformats",",,"?>
</li>
<li>
<label for="Message">Please Enter Your Message</label>
<textarea name="Message" id="Message"><?php echo dmxSetValue("", "Message" ?></textarea>
<?php $dmxval1->generate_error("contact_me","Message","requiredcond",",,"$dmxval1->generate_error("contact_me","Message","allformats",",,"?>
<?php $dmxval1->generate_error("contact_me","Message","requiredcond","500,,"$dmxval1->generate_error("contact_me","Message","maxlengthcond","500,,"?>
<?php $dmxval1->generate_error("contact_me","Message","requiredcond","5,,"$dmxval1->generate_error("contact_me","Message","minlengthcond","5,,"?>
</li>
</ol>
</fieldset>
<p style="text-align:right;">
<input type="reset" value="CANCEL" />
<input type="submit" value="OK" />
</p>
<?php $dmxval1->show_bot_check_error(); ?>
</form>
</div>
</div>
<div class="address_holder">
<h2 class="about_title"> </h2>
<p abp="234"><strong abp="235"><span abp="236">By Appointment Only</span></strong><br abp="237" />
</p>
<p abp="241"> </p>
<p abp="241">Telephone: +1 (706) 761-0997<br>
E-mail: <a href="mailto: "> </a></p>
</div>
</div>
</div>
<div class="footer cf">
<div class="footer_area cf">
<div class="rights">
<p class="rights_text">© Jenmuchmorephotography 2015. All Rights Reserved.</p>
</div>
<div class="social_area">
<div class="follow_us_container">
<p class="followUs">Follow Us</p>
</div>
<div class="social_container">
<ul class="socialList">
<li class="social1"><a href="#" class="anchor"></a>
</li>
<li class="social2"><a href="#" class="anchor1"></a>
</li>
<li class="social3"><a href="#" class="anchor2"></a>
</li>
<li class="social4"><a href="#" class="anchor3"></a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
Warning: require_once(ScriptLibrary/dmxValidator.php) [function.require-once]:
Fatal error: require_once() [function.require]: Failed opening required 'ScriptLibrary/dmxValidator.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/94/3319194/html/Jennifers-Web_Site/contact.php on line 1
That's kinda ridicules just purchasing these extensions and it is not working?
<?php require_once('ScriptLibrary/dmxValidator.php'); ?>
<?php require_once('ScriptLibrary/incSmartMailer.php'); ?>
<?php
// Universal Form Validator PHP 1.5.5
$dmxval1 = new dmxValidator();
$dmxval1->script_folder = "ScriptLibrary";
$dmxval1->cs_validate_on_change = true;
$dmxval1->cs_validate_on_submit = true;
$dmxval1->reenable_javascript = true;
$dmxval1->use_bot_check = true;
$dmxval1->report_type = 4;
$dmxval1->error_font = "Arial";
$dmxval1->error_font_size = 12;
$dmxval1->error_color = "#ffffff";
$dmxval1->error_bold = true;
$dmxval1->error_italic = false;
$dmxval1->error_image = "";
$dmxval1->error_fixed = "Custom";
$dmxval1->error_padding = 4;
$dmxval1->border_color = "#FF0000";
$dmxval1->border_style = "solid";
$dmxval1->css_error_file = "validatorError1";
$dmxval1->error_bg_color = "#ff0000";
$dmxval1->error_preset = "error_five.txt";
$dmxval1->tooltip_position = "top";
$dmxval1->css_hint_file = "validatorHint1";
$dmxval1->hint_preset = "blue.txt";
$dmxval1->hint_tooltip_position = "top";
$dmxval1->hint_border_color = "#0099ff";
$dmxval1->hint_border_style = "solid";
$dmxval1->hint_bg_color = "#003399";
$dmxval1->hint_text_color = "#ffffff";
$dmxval1->hint_text_font = "Arial";
$dmxval1->hint_text_size = 12;
$dmxval1->hint_text_bold = false;
$dmxval1->hint_text_italic = false;
$dmxval1->hint_box_width = 200;
$dmxval1->hint_image = "";
$dmxval1->hint_fixed = "Custom";
$dmxval1->hint_padding = 4;
$dmxval1->use_custom_focus_class = "fixed";
$dmxval1->focus_border_style = "groove";
$dmxval1->focus_border_size = 2;
$dmxval1->focus_border_color = "#C3D9FF";
$dmxval1->focus_bg_color = "#FFFFFF";
$dmxval1->focus_text_color = "#000000";
$dmxval1->use_custom_valid_class = "fixed";
$dmxval1->valid_border_style = "groove";
$dmxval1->valid_border_size = 2;
$dmxval1->valid_border_color = "#00FF00";
$dmxval1->valid_bg_color = "#FFFFFF";
$dmxval1->valid_text_color = "#000000";
$dmxval1->use_custom_invalid_class = "fixed";
$dmxval1->invalid_border_style = "groove";
$dmxval1->invalid_border_size = 2;
$dmxval1->invalid_border_color = "#FF0000";
$dmxval1->invalid_bg_color = "#FFFFFF";
$dmxval1->invalid_text_color = "#000000";
$dmxval1->add_rule("contact_me", "First_Name", "letterscond", "true,,", "true", "", "First Name", "", ""
$dmxval1->add_rule("contact_me", "Last_Name", "allformats", ",,", "true", "", "Last Name", "", ""
$dmxval1->add_rule("contact_me", "Email", "emailcond", ",,", "true", "", "Email", "", ""
$dmxval1->add_rule("contact_me", "Message", "minlengthcond", "5,,", "true", "", "Please Enter Your Message", "", ""
$dmxval1->add_rule("contact_me", "Phone", "allformats", ",,", "true", "", "Phone Number", "", ""
$dmxval1->add_rule("contact_me", "Message", "maxlengthcond", "500,,", "true", "", "Please Enter Your Message", "", ""
$dmxval1->add_rule("contact_me", "Message", "allformats", ",,", "true", "", "Please Enter Your Message", "", ""
$dmxval1->add_mask("contact_me", "Phone", "phone", "North America"
$dmxval1->validate();
?>
<?php
// Smart Mailer 1.0.10
// Send on submit of form send-form
// Use progress blue_mailprogress.htm
// dimensions 300, 100
$sm1 = new SmartMailer();
$sm1->checkVersion("1.10"
$sm1->smtpSetup("smtpout.secureserver.net", 25, "xxxxxxxxxxxxx", "xxxxxxxxxxxx"
$sm1->component = "Sendmail";
$sm1->tmpFolder = "";
$sm1->embedImages = false;
$sm1->progressBar = "blue_mailprogress.htm";
$sm1->ignore_errors = false;
if (!isset($mm_abort_edit) || !$mm_abort_edit) {
if (count($_POST) > 0) {
@set_time_limit(300);
$sm1->setFrom(((isset($_POST["First_Name"]))?$_POST["First_Name"]:"", ((isset($_POST["Email"]))?$_POST["Email"]:"");
$sm1->setTo("Jennifer Muchmore", " "
$sm1->setCc("", ""
$sm1->setBcc("", ""
$sm1->setSubject("You Got an Email Request"
// using static for body
$sm1->setBody_Static_html("Received From:\n".((isset($_POST["First_Name"]))?$_POST["First_Name"]:""." ".((isset($_POST["Last_Name"]))?$_POST["Last_Name"]:""."\n\nEmail Address: ".((isset($_POST["Email"]))?$_POST["Email"]:""."\n\nPhone Number: ".((isset($_POST["Phone"]))?$_POST["Phone"]:""."\n\nHere is your message request:\n".((isset($_POST["Message"]))?$_POST["Message"]:"".""
// Attachments none
$sm1->sendMail("one"
$GoTo = "thank-you.html";
if (isset($_SERVER['QUERY_STRING'])) {
$GoTo .= (strpos($GoTo, '?')) ? "&" : "?";
$GoTo .= $_SERVER['QUERY_STRING'];
}
header(sprintf("Location: %s", $GoTo));
}
}
$SM_mailAction = getMailAction();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="www.w3.org/1999/xhtml">
<head>
<script language="JavaScript">
<!--
function showMailProgressWindow(progressFile,popWidth,popHeight) { //v1.00
if (document.MM_returnValue!=false) {
var w = 480, h = 340;
if (document.all || document.layers || document.getElementById) {
w = screen.availWidth; h = screen.availHeight;}
var leftPos = (w-popWidth)/2, topPos = (h-popHeight)/2;
document.progressWindow = window.open(progressFile,'ProgressWindow','toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=' + popWidth + ',height='+popHeight);
document.progressWindow.moveTo(leftPos, topPos);document.progressWindow.focus();
window.onunload = function () {document.progressWindow.close();};
} }
//-->
</script>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Contact</title>
<link href="stylesheets/reset.css" rel="stylesheet" type="text/css" />
<link href="stylesheets/photo.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="scripts/browser-compatibility.js"></script>
<link href="Styles/form_clear.css" rel="stylesheet" type="text/css" />
<link href="Styles/form_fancy.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="Styles/dmxValidator/validatorHint1.css" type="text/css" />
<link rel="stylesheet" href="Styles/dmxValidator/validatorError1.css" type="text/css" />
<script type="text/javascript" src="ScriptLibrary/jsvat.js"></script>
<script type="text/javascript" src="ScriptLibrary/jquery-latest.pack.js"></script>
<script type="text/javascript" src="ScriptLibrary/jquery.inputHintBox.js"></script>
<script type="text/javascript" src="ScriptLibrary/jquery.maskedinput-1.2.2.js"></script>
<script type="text/javascript" src="ScriptLibrary/jquery.validate.min.js"></script>
<script type="text/javascript" src="ScriptLibrary/dmx.jquery.validate.js"></script>
<script type="text/javascript" src="ScriptLibrary/jquery.tooltip.min.js"></script>
<script type="text/javascript" src="ScriptLibrary/jquery.hoverIntent.min.js"></script>
<?php
// dmxValidatorJSStart
$dmxval1->generate_javascript_and_css();
// dmxValidatorJSEnd
?>
</head>
<body><div class="main_wrapper cf">
<div class="header cf">
<div class="logo_and_nav cf">
<div class="logo"> <a href="index.html"><img name="logo" src="images/new-logo.png" width="275" height="124" id="logo" alt="" /></a>
</div>
<div class="nav_holder">
<ul class="hmenubar">
<li><a href="index.html" class="clicked">Home</a>
</li>
<li><a href="about.html">About</a>
</li>
<li><a href="portfolio.html">Portfolio</a>
</li>
<li><a href="contact.php">Contact</a>
</li>
</ul>
<select>
<option href="#" selected="selected">Home</option>
</select>
<script type="text/javascript" src="scripts/menu_selection.js"></script>
</div>
</div>
</div>
<div class="content cf">
<div class="main_contact_area cf">
<div class="contact_form_holder">
<h2 class="about_title">Contact me</h2>
<div class="form_holder">
<form action="" method="post" name="send-form" class="clear" id="contact_me" onsubmit="showMailProgressWindow('blue_mailprogress.htm?<?php echo $sm1->getProgressFile(); ?>',300,100)">
<fieldset>
<legend>Please Enter Your Information</legend>
<ol>
<li>
<label for="First_Name">First Name</label>
<input type="text" id="First_Name" name="First_Name" value="<?php echo dmxSetValue("", "First_Name" ?>" />
<?php $dmxval1->generate_error("contact_me","First_Name","requiredcond","true,,"$dmxval1->generate_error("contact_me","First_Name","letterscond","true,,"?>
</li>
<li>
<label for="Last_Name">Last Name</label>
<input type="text" id="Last_Name" name="Last_Name" value="<?php echo dmxSetValue("", "Last_Name" ?>" />
<?php $dmxval1->generate_error("contact_me","Last_Name","requiredcond",",,"$dmxval1->generate_error("contact_me","Last_Name","allformats",",,"?>
</li>
<li>
<label for="Email">Email</label>
<input type="text" id="Email" name="Email" value="<?php echo dmxSetValue("", "Email" ?>" />
<?php $dmxval1->generate_error("contact_me","Email","requiredcond",",,"$dmxval1->generate_error("contact_me","Email","emailcond",",,"?>
</li>
<li>
<label for="Phone">Phone Number</label>
<input type="text" id="Phone" name="Phone" value="<?php echo dmxSetValue("", "Phone" ?>" />
<?php $dmxval1->generate_error("contact_me","Phone","requiredcond",",,"$dmxval1->generate_error("contact_me","Phone","allformats",",,"?>
</li>
<li>
<label for="Message">Please Enter Your Message</label>
<textarea name="Message" id="Message"><?php echo dmxSetValue("", "Message" ?></textarea>
<?php $dmxval1->generate_error("contact_me","Message","requiredcond",",,"$dmxval1->generate_error("contact_me","Message","allformats",",,"?>
<?php $dmxval1->generate_error("contact_me","Message","requiredcond","500,,"$dmxval1->generate_error("contact_me","Message","maxlengthcond","500,,"?>
<?php $dmxval1->generate_error("contact_me","Message","requiredcond","5,,"$dmxval1->generate_error("contact_me","Message","minlengthcond","5,,"?>
</li>
</ol>
</fieldset>
<p style="text-align:right;">
<input type="reset" value="CANCEL" />
<input type="submit" value="OK" />
</p>
<?php $dmxval1->show_bot_check_error(); ?>
</form>
</div>
</div>
<div class="address_holder">
<h2 class="about_title"> </h2>
<p abp="234"><strong abp="235"><span abp="236">By Appointment Only</span></strong><br abp="237" />
</p>
<p abp="241"> </p>
<p abp="241">Telephone: +1 (706) 761-0997<br>
E-mail: <a href="mailto: "> </a></p>
</div>
</div>
</div>
<div class="footer cf">
<div class="footer_area cf">
<div class="rights">
<p class="rights_text">© Jenmuchmorephotography 2015. All Rights Reserved.</p>
</div>
<div class="social_area">
<div class="follow_us_container">
<p class="followUs">Follow Us</p>
</div>
<div class="social_container">
<ul class="socialList">
<li class="social1"><a href="#" class="anchor"></a>
</li>
<li class="social2"><a href="#" class="anchor1"></a>
</li>
<li class="social3"><a href="#" class="anchor2"></a>
</li>
<li class="social4"><a href="#" class="anchor3"></a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
Replied 15 May 2015 04:31:44
15 May 2015 04:31:44 Jacques H replied:
It looks as if you did not upload the "scriptlibrary" and "styles" folders
Replied 15 May 2015 04:41:26
15 May 2015 04:41:26 Fred Muchmore replied:
Hmm , I am pretty sure I did. I will try again tomorrow morning.
Thank you for your help.
Thank you for your help.