Forums

SSl not working

Nibinaear 22 Jul, 2011
Hi. I've got the SSL added to our domain but it won't seem to work on the Chrono form. I've added "System - SSL Redirect" plugin so that it automatically applies ssl to Chrono forms. I've done this by going to the plugin options and setting "SSL-based Components" to "Chrono forms". The form is set to SSl by default just fine but when submitting the form I get this error: "You are not allowed to access this URL". I can't tell what is producing this error, it's just dumped into the main component part of the template. When I submit the form I get a blank window otherwise.

My form is here:
https://www.autismworks.co.uk/component/chronocontact/?chronoformname=Expression_of_Interest
GreyHead 22 Jul, 2011
Hi Nibinaear ,

I don't know much about SSL but there have been no reports of problems with ChronoForms v3 for a long time. ChronoForms picks up the https from the calling URL so should handle it automatically. Try disabling the SSL Redirect plugin as it shouldn't be needed.

Bob
Nibinaear 22 Jul, 2011
Update:

I disabled the plugin and manually pointed the form to https. Now I'm getting a different error:

"There is no form with this name or may be the form is unpublished, Please check the form and the url and the form management"

I checked forms management and my form definitely says published.
GreyHead 22 Jul, 2011
Hi Nibinaear,

What does 'manually pointed' mean? I'd suspect a typo in the URL or a missing form name in a menu item.

Bob
Nibinaear 22 Jul, 2011
I just meant that I had added https to the link. We're not using a menu item for the link because it's just a link to an expression of interest form, which in turn links from our contact us page, so there's no way to do it except to link to the entire url which is:

https://www.autismworks.co.uk/index.php?option=com_chronocontact&chronoformname=Expression_of_Interest

I did have it as:

index.php?option=com_chronocontact&chronoformname=Expression_of_Interest

But then how do you set it to https? Tried using the ssl plugin mentioned earlier but it didn't work.
GreyHead 22 Jul, 2011
Hi Nibinaear,

The link you posted goes to the form OK and doesn't show any error message.

You can force a menu item to SSL with the option under Parameters (System) in the right hand column in Joomla! 1.5. There must be an equivalent for Joomla! 1.6/7 but I don't know what it is :-(

Bob
Nibinaear 22 Jul, 2011
It does show the error on submit but not visibly, you have to look in the source to see the message. On submit you should see that no form is presented or validation of form fields etc.

I suppose we could try and include the button in the right sidebar if that's the only way to make it work.
GreyHead 23 Jul, 2011
Hi Nibinaear,

Looking at the Form HTML the form action is set to a completely different form. This would explain the error you see.
<form name="ChronoContact_Registration" id="ChronoContact_Registration" method="post" action="http://www.sunnysidedaycare.com/new/index.php?option=com_chronocontact&task=send&chronoformname=Registration&Itemid=6">

Bob
Nibinaear 24 Jul, 2011
I think you have me mixed up with someone else, I've never heard of Sunny side day care??!

My form action is: action="https://www.autismworks.co.uk/index.php?option=com_chronocontact&task=send&chronoformname=Expression_of_Interest"

This is consistent with the form. I've set up a link from a menu item now which points to the form using Joomla's own menu items rather than a hard-coded link. When submtting the form it returns the form from before but does not validate anything.

The error it generates is: "There is no form with this name or may be the form is unpublished, Please check the form and the url and the form management"

It does this regardless of whether you click on the link from the Chrono forms menu or whether you use the menu item.
GreyHead 25 Jul, 2011
Hi Nibinaear,

Apologies for getting my forms mixed up.

I'm still not clear what is happening here. The URL is certainly losing the form name before the Thank You page is displayed. So I guess the SEF URLs are removing it.

Bob
Nibinaear 25 Jul, 2011
Thanks for trying. I think this is one of my usual scrapes, I seem to be able to find problems nobody else can. I feel like I'm trying to use default functionality but then it falls over and works for everyone else. I've tried turning off SEF urls and also using the link from the Chrono forms forms management screen but whether I'm using http or https it doesn't work. I thought at one point it was in fact working with at least http so I don't know what's going on there. I've also set the form method to get instead of post but nothing. I think I'm going to give up now.
Nibinaear 09 Aug, 2011
Discovered my issues with Chronoforms stemmed from errors I had in the template.

Somehow <jdoc:include type="head" /> had got deleted from the head section. Also, I was adding jquery and there's no need to as Joomla does that anyway.
This topic is locked and no more replies can be posted.