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
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
The forms are at:
http://cooperautomotive.com.au/index.php?option=com_content&view=article&id=68&Itemid=97
http://cooperautomotive.com.au/index.php?option=com_content&view=article&id=89&Itemid=98
http://cooperautomotive.com.au/index.php?option=com_content&view=article&id=90&Itemid=99
All help appreciated...
Cheers
Chumby
http://cooperautomotive.com.au/index.php?option=com_content&view=article&id=68&Itemid=97
http://cooperautomotive.com.au/index.php?option=com_content&view=article&id=89&Itemid=98
http://cooperautomotive.com.au/index.php?option=com_content&view=article&id=90&Itemid=99
All help appreciated...
Cheers
Chumby
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
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
Hi Max,
That is good news...
If have some php code - on submit after email has been sent:
Also a redirect URL:
Cheers
Chumby
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.auCheers
Chumby
Good, sometimes the enqueuemessage does problems so replace all that code with :
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
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,
Just entered that code into the form at:
http://cooperautomotive.com.au/index.php?option=com_content&view=article&id=68&Itemid=97
and now I get a message on submut:
You are not allowed to view this URL.
Do you get that?
Cheers
Chumby
Just entered that code into the form at:
http://cooperautomotive.com.au/index.php?option=com_content&view=article&id=68&Itemid=97
and now I get a message on submut:
You are not allowed to view this URL.
Do you get that?
Cheers
Chumby
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
Regards
Max
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
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
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
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
This topic is locked and no more replies can be posted.
