Forums

Timing out on submit

chumby 17 Dec, 2008
Hi all

Have feedback form/booking/quote forms set up at:

http://www.cooperautomotive.com.au

For without any reason though I am getting the following errors when a form is submitted.

* Your session has expired, please login again
* You are not authorised to view this resource.

General users of the website don't need to log in at all....

I cant see any pattern to when these errors are occurring ... also getting mixed results in both IE and firefox

Any ideas?

Cheers
Martin
Max_admin 17 Dec, 2008
Hi Chumby,

Just tried the forms and they show ok and submitted the first one and got :
Thanks ! Your email has been submitted to Cooper Automotive.

you have a redirect URL or some PHP ? this may arise problems if its not setup correctly, you can show me this but for the first form all is Ok here!

Regards
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
chumby 17 Dec, 2008
Hi Max,

That is good news...

If have some php code - on submit after email has been sent:

<?php
global $mainframe;
$mainframe->enqueuemessage("Thanks ".$_POST['name']."! Your email has been submitted to Cooper Automotive.");
?>


Also a redirect URL:

http://cooperautomotive.com.au


Cheers
Chumby
Max_admin 17 Dec, 2008
Good, sometimes the enqueuemessage does problems so replace all that code with :

Thanks <?php echo $_POST['name']; ?>! Your email has been submitted to Cooper Automotive.


you can add some styles with font tags or so, it will not be looking cool as the enqueuemessage effect unless you use some good CSS styling, but if you get a problem because of it then you can do it this way! for me it was fine😉

Regards
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Max_admin 18 Dec, 2008
No errors, I'm getting redirected just after the submit, you need to remove the redirect so the new type of thanks message can work, its not like the enqueue one, but so far no errors or it wouldn't redirect!

Regards
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
chumby 19 Dec, 2008
Hi Max,

Appears to be working now with that fix.

How though can I make it a little more user friendly so that users can "click here to go back" or indeed get redirected to somewhere that means something.

All they get at the moment is a blank screen...

Cheers
Martin
Max_admin 20 Dec, 2008
Hi Martin,

you can add some thank you code in the "onsubmit after email" box in the "form code" tab or add a url for the thanks page in the "redirect URL" field!

Regards
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
This topic is locked and no more replies can be posted.