Forums

Blank Emails

techlh 09 Sep, 2007
Greetings,

I've installed the form handler, and even have it emailing me. Problem is, the emails simply have the field names, but no POST data.

Also, if I check out the 'Show Data' for the form submissions, they are also blank. So it seems that the $_POSTs aren't working, or at least the data isn't being passed.

Do you think this is a hosting issue or am I missing something?

Sample Email
Someone has filled out your contact form:
Email:
Comments:
GreyHead 09 Sep, 2007
Hi techih,

Please have a quick look at the FAQs - particularly this one. If you don't see an obvious answer there, then please either take a backup of your form and post the backup file here or post your Form HTML and an image of the General Tab from the Form Manager.

Bob
techlh 10 Sep, 2007
Hi Bob,

I've gone through the FAQs and also searched the forum. No help. So here's the things you requested.
<p>Email Address:   <input  type="text" name="emailaddr" size="25"></p>
<p>Your message:  <textarea type="textarea" name="comments" cols="35" rows="5"></textarea></p>

<p><input type="submit" name="submit" class="button" value="SEND" title="SEND"></p>


And image here: http://www.techlh.com/images/kppform.gif<br><br>Post edited by: techlh, at: 2007/09/10 02:18
techlh 11 Sep, 2007
Anyone? Support? Anyone?
GreyHead 11 Sep, 2007
Hi techlh,

Sorry, Max is away for a couple of days and I suffered an e-mail glitch yesterday that left me with 17k assorted duplicates and junk to sort through.

Had a quick look at the image you posted and the only odd thing I can see is that you've got the form set to use 'Get'. Please switch to 'Post' and see if this makes the difference.

I guess that ChronoForms should support both but I'd have to look at the code to be sure. Anyhow, unless there's a good reason why you can only use a link, (and there isn't here) then Post is the preferred option.

Bob
nickc 12 Sep, 2007
I am working with techlh on this issue also, but when we put POST on the same issue happens. I did use a modified chronocontact.php from a different post, and turned debug on. When I do i get an empty array.

 	
_POST: Array ( )
Case 1: Use table layout
E-mail: 'Yes' custom
Email sent
E-mail message

From: KPP Website [webmaster@kpp.com]
To: xxxxx@sss
Subject: Test Form
name234 	
email234 	
submit 	


I tried turning register globals on and off just to try, but still am not posting any data in the array. Any ideas why this might be happening?

Thanks
GreyHead 12 Sep, 2007
Hi nickc,

That's weird, that -POST: line just prints out the $_POST array. If that is empty then nothing is reaching ChronoForms.

I'm groping in the dark here. Either the form isn't submitting anything - and I don't see why that should be; or PHP or Joomla are emptying or hiding the the array before it gets to ChronoForms.

What happens if you put <?php print_r($_REQUEST); ?> into one of the OnSubmit code fields with debug on?

Bob
Max_admin 13 Sep, 2007
Hi all,

Do we have anything in the form action URL field ? also do we have anything at any onsubmit field ? do we use email template ? if so what do we have in there ?

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.