Forums

Anti Spam added, complications.

Nineve 11 Jul, 2008
Added Anti Spam to the form, it shows up and seems correct. Submitting the form takes the entire page (not just the article page but the whole window) to a blank page and form is not sent.

No error message or anything.


I have image verification set to Yes
Type of image have tried both "with fonts" and "without fonts"
GD Version bundled (2.0.34 compatible)
Free Type support yes
PNG support yes
and the sample image does give a preview.


Any ideas?:blush:
GreyHead 11 Jul, 2008
Hi Nineve,

A blank page is usually a sign of a PHP parsing error - something wrong in the code. Try setting error reporting to max and see if you get a useful error message.

If not - do you have any code in the OnSubmit boxes, or the email template, or the Autogenerated code box?

Bob
Nineve 11 Jul, 2008
I moved the debug to yes. But that did not do anything.

I have a thank you message on the On Submit code-after sending email but not on the other two.
GreyHead 11 Jul, 2008
Hi Nineve,

No, not debug this time. The Error Reporting setting in your site Global Configuration.

Please take a backup copy of your form from the Form Manager and post it here or email it to me and I'll take a closer look.
I need to get this in the next 12 hours or I won't be able to look at it until Thursday next week when I'm back from a trip.

Bob
Nineve 11 Jul, 2008
Fatal error: session_start() [<a href='function.session-start'>function.session-start</a>]: Failed to initialize storage module: user (path: C:\DOCUME~1\optech\LOCALS~1\Temp\php\session) in F:\oursite\test\components\com_chronocontact\chronocontact.php on line 200

That is the error message that shows up now.
GreyHead 12 Jul, 2008
Hi Nineve,

Your site is using files to store the session data (a temporary file used to remember the antispam code) and doesn't have permission to write to the temporary file. You need to check out the file permissions on the Temp folder.

Bob
Rev_Tony 13 Jul, 2008
I am having this same problem. I do have a "Thank You" article in the "Redirect URL" that works fine with my other forms.

I have nothing in either of the "On Submit code" fields.

There is nothing in "Auto generated code."

I do have an "Email template." It's very simple:

<table>
<tr>
<td>___email: {___email}<br></td>
</tr>
<tr>
<td>1st_name: {1st_name}<br></td>
</tr>
<tr>
<td>2nd_name: {2nd_name}<br></td>
</tr>
<tr>
<td>____date: {____date}<br></td>
</tr>
</table>

It works on the version of this form that does NOT have "Anti Spam."

After not getting this to work I tried using "Validation" with a date field that needed to be in "dd/mm/yyyy" format and was required to not be blank. This works every time I test it.

HOWEVER -- occasionally spam gets through and when the data is transmitted there are nonsense characters in the "date" field. How could this be if date needed to be in "dd/mm/yyyy" format? How are the spammers getting around this validation requirement?

Thanks for any help and I think ChronoForms is very well done. Good job.

Rev. Tony

PS: Following your instructions to previous poster I tried to check the permissions in my "temp" folder. I couldn't find a "temp" folder within Joomla. Any hints?
Rev_Tony 14 Jul, 2008
I am getting this error message:

Fatal error: session_start(): Failed to initialize storage module. in /home/httpd/vhosts/miracles-course.org/httpdocs/joomla/components/com_chronocontact/chronocontact.php on line 200

Is this a permissions problem? Any tips?

We use an Apache server.

Rev. Tony
Max_admin 14 Jul, 2008
Hi Tony,

The tmp folder is the sessions folder, get it from your php config!

do you have Joomla 1.5 ? try changing the session handler under joomla global config ?

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Rev_Tony 14 Jul, 2008
Max,

Thanks for the response. Yes, we are using Joomla 1.5, The "Session Handler" has two options: "Database" and "None." It is set to "Database." Are you saying I should set it to "None"?

Do I need to do something with the "tmp" folder?

Rev. Tony
Max_admin 14 Jul, 2008
yes, please try this, and which Chronoforms do you have ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Rev_Tony 15 Jul, 2008
Max,

Thank you. That worked. We use ChronoForms 2.5 J1.5 RC2.

Will setting the "Session Handler" to "None" have any other implications we need to be aware of?

Rev. Tony
Max_admin 16 Jul, 2008
No, and if you have RC3.1 then all should work, none and database too!

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.