Forums

Forms work fine yet i still get errors

mogo 14 Feb, 2009
Hello,

I wonder what's up. I have several forms each linked from a standard hyperlink in various articles. The forms all function 100% however when the page with the form dispays i am presented with the following error: "echo "There is no form with this name, Please check the url and the form management"; } } } ?> ?> "

I have searched the forums and see that this is common if a form is linked from a menu which isn't the case for me.

Any ideas? I'm using ChronoForms 2.5 on Joomla! 1.5.8

Thanks
GreyHead 14 Feb, 2009
Hi mogo,

Please post a couple of sample links. Thanks

Bob
GreyHead 14 Feb, 2009
Hi mogo,

Looks like something isn't closed properly in your form HTML and the next few lines of code are being included in there. My guess is a missing ?>

Bob
mogo 16 Feb, 2009
I can't seem to find anything which is not closed off in the form code:

<p><font color="#FFA500" face="Arial"><b>To enquire about dates, availability and venues, please fill in the form below and submit it to us. We endeavour to reply within 24 hours after submission.</b></font></p>			<table width="524" border="0" cellspacing="4" cellpadding="0" align="center">
				<tr>
					<td>Name:</td>
					<td colspan="4"><input type="text" name="name" size="30" tabindex="0" /></td>
				</tr>
				<tr>
					<td>Email Address:</td>
					<td colspan="4"><input type="text" name="email" size="30" tabindex="1" /></td>
				</tr>
				<tr>
					<td>Telephone Number:</td>
					<td colspan="4"><input type="text" name="tel" size="24" tabindex="2" /></td>
				</tr>
				<tr>
					<td>Country of Residence:</td>
					<td colspan="4"><input type="text" name="country" size="24" tabindex="3" /></td>
				</tr>
				<tr>
					<td>Number of People:</td>
					<td colspan="2">
						<div align="left">
							Adults:</div>
					</td>
					<td colspan="2" width="233">
						<div align="left">
							<input type="text" name="adults" size="5" maxlength="4" tabindex="4" /></div>
					</td>
				</tr>
				<tr>
					<td></td>
					<td colspan="2">
						<div align="left">
							Children under 12:</div>
					</td>
					<td colspan="2" width="233">
						<div align="left">
							<input type="text" name="children" size="5" maxlength="4" tabindex="5" /></div>
					</td>
				</tr>
				<tr>
					<td>Tour Package:</td>
					<td colspan="4"><input type="text" name="package" value="KNP1 - 3 Day Kruger Park Safari" size="40" tabindex="6" /></td>
				</tr>
				<tr>
					<td>Tour Start Date:</td>
					<td colspan="4"><input type="text" name="start" size="24" tabindex="7" /></td>
				</tr>
				<tr>
					<td>Tour End Date:</td>
					<td colspan="4"><input type="text" name="end" size="24" tabindex="8" /></td>
				</tr>
				<tr>
					<td valign="top">Any Extra Comments:</td>
					<td colspan="4"><textarea name="comments" rows="12" cols="40" tabindex="9"></textarea></td>
				</tr>
				<tr>
					<td></td>
					<td colspan="4"><input type="submit" name="submit" value="Submit Enquiry" tabindex="10" /></td>
				</tr>
			</table>
			<p><font color="#ffa500" face="Arial"><b>Please take the time to double check your email address. If it is slightly incorrect we may not be able to get your quote to you on time.</b></font></p>
GreyHead 16 Feb, 2009
Hi Mogo,

That all looks good to me[sendfb][/sendfb]
Bob
mogo 16 Feb, 2009
Hello Bob,

Sorry, i seem to be battling to post on this formum, let alone upload attachments. Instead, I have posted the entire content of the form backup file here:

<++-++-++id++-++-++>7<endendend><++-++-++name++-++-++>knp4<endendend><++-++-++html++-++-++><p><font color="#FFA500" face="Arial"><b>To enquire about dates, availability and venues, please fill in the form below and submit it to us. We endeavour to reply within 24 hours after submission.</b></font></p>
			<table width="524" border="0" cellspacing="4" cellpadding="0" align="center">
				<tr>
					<td>Name:</td>
					<td colspan="4"><input type="text" name="name" size="30" tabindex="0" /></td>
				</tr>
				<tr>
					<td>Email Address:</td>
					<td colspan="4"><input type="text" name="email" size="30" tabindex="1" /></td>
				</tr>
				<tr>
					<td>Telephone Number:</td>
					<td colspan="4"><input type="text" name="tel" size="24" tabindex="2" /></td>
				</tr>
				<tr>
					<td>Country of Residence:</td>
					<td colspan="4"><input type="text" name="country" size="24" tabindex="3" /></td>
				</tr>
				<tr>
					<td>Number of People:</td>
					<td colspan="2">
						<div align="left">
							Adults:</div>
					</td>
					<td colspan="2" width="233">
						<div align="left">
							<input type="text" name="adults" size="5" maxlength="4" tabindex="4" /></div>
					</td>
				</tr>
				<tr>
					<td></td>
					<td colspan="2">
						<div align="left">
							Children under 12:</div>
					</td>
					<td colspan="2" width="233">
						<div align="left">
							<input type="text" name="children" size="5" maxlength="4" tabindex="5" /></div>
					</td>
				</tr>
				<tr>
					<td>Tour Package:</td>
					<td colspan="4"><input type="text" name="package" value="KNP4 - 4 Day Kruger & Private Game Lodge Safari" size="40" tabindex="6" /></td>
				</tr>
				<tr>
					<td>Tour Start Date:</td>
					<td colspan="4"><input type="text" name="start" size="24" tabindex="7" /></td>
				</tr>
				<tr>
					<td>Tour End Date:</td>
					<td colspan="4"><input type="text" name="end" size="24" tabindex="8" /></td>
				</tr>
				<tr>
					<td valign="top">Any Extra Comments:</td>
					<td colspan="4"><textarea name="comments" rows="12" cols="40" tabindex="9"></textarea></td>
				</tr>
				<tr>
					<td></td>
					<td colspan="4"><input type="submit" name="submit" value="Submit Enquiry" tabindex="10" /></td>
				</tr>
			</table>
			<p><font color="#ffa500" face="Arial"><b>Please take the time to double check your email address. If it is slightly incorrect we may not be able to get your quote to you on time.</b></font></p><endendend><++-++-++scriptcode++-++-++><endendend><++-++-++redirecturl++-++-++>http://journeyintoafrica.co.za.dedi542.nur4.host-h.net/index.php/thank-you<endendend><++-++-++emailresults++-++-++>2<endendend><++-++-++extraemail++-++-++>info@journeyintoafrica.co.za<endendend><++-++-++emailsubject++-++-++>Booking enquiry: KNP4 - 4 Day Kruger & Private Game Lodge Safari<endendend><++-++-++onsubmitcode++-++-++><endendend><++-++-++onsubmitcodeb4++-++-++><endendend><++-++-++attformtag++-++-++><endendend><++-++-++submiturl++-++-++><endendend><++-++-++emailtemplate++-++-++><endendend><++-++-++paramsall++-++-++>ccemail=
bccemail=
formmethod=post
omittedfields=submit
recip=Yes
from_email=info@journeyintoafrica.co.za
from_name=Journey Into Africa
replyto_email=info@journeyintoafrica.co.za
replyto_name=Journey Into Africa
email_type=1
debug=1
mysql_type=1
enmambots=No
emailfield=
subjectfield=
ccfield=
bccfield=
fromemailfield=
fromnamefield=
uploads=No
uploadfields=
uploadmax=
uploadmin=
dvfields=
dvrecord=Record #n
imagever=No
imtype=0
validate=No
validatetype=prototype
val_required=
val_validate_number=
val_validate_digits=
val_validate_alpha=
val_validate_alphanum=
val_validate_date=
val_validate_email=
val_validate_url=
val_validate_date_au=
val_validate_currency_dollar=
val_validate_selection=
val_validate_one_required=
autogenerated_order=3
onsubmitcode_order=2
plugins_order=1
plugins=
mplugins_order=<endendend><++-++-++titlesall++-++-++><endendend><++-++-++autogenerated++-++-++><?php 
	$database =& JFactory::getDBO();
	srand((double)microtime()*10000);
	$inum	=	"I" . substr(base64_encode(md5(rand())), 0, 16);
	
$database->setQuery( "INSERT INTO #__chronoforms_7 VALUES  (
'' , '".$inum."','". date('Y-m-d')." - ".date("H:i:s")."', '".$_SERVER['REMOTE_ADDR']."' , '".JRequest::getVar('name','', 'post', 'string', '' )."' , '".JRequest::getVar('email','', 'post', 'string', '' )."' , '".JRequest::getVar('tel','', 'post', 'string', '' )."' , '".JRequest::getVar('country','', 'post', 'string', '' )."' , '".JRequest::getVar('adults','', 'post', 'string', '' )."' , '".JRequest::getVar('children','', 'post', 'string', '' )."' , '".JRequest::getVar('package','', 'post', 'string', '' )."' , '".JRequest::getVar('start','', 'post', 'string', '' )."' , '".JRequest::getVar('end','', 'post', 'string', '' )."' , '".JRequest::getVar('comments','', 'post', 'string', '' )."');" );
if (!$database->query()) {
echo "<script> alert('".$database->getErrorMsg()."'); window.history.go(-1); </script>
";
}
?><endendend><++-++-++published++-++-++>1<endendend>


Appreciate your help.
GreyHead 16 Feb, 2009
Hi mogo,

I scanned through the file and don't see anything obviously amiss. I'll restore it and check it out there too.

Bob
mogo 25 Feb, 2009

I'll restore it and check it out there too.



Hello. Anything untoward?

Thanks
GreyHead 25 Feb, 2009
Hi mogo,

I don't recall, that was a week and fifty forms ago - I'll go see if I can find it.

Bob
This topic is locked and no more replies can be posted.