| Post |
|
Guest
| Christiaan 5:00 pm January 3, 2009
| |
|
|
Please replace the ??? with your data!
Hi Oliver, when one is implementing cforms over HTTPS which files/code do we need to edit to stop the "there are nonsecure secure items" message from popping up?
|
|
|
Admin
| Oliver Munich, Germany posts 6237 7:02 pm January 3, 2009
| |
|
|
Hm, never done any https:// deployment, so I can't say….
But I also didn't see that above message when I tested the form.
Anyway, you need to also edit js/cforms.js:
var sajax_uri = 'http://alohapalestine.com/wp-content/plugins/cforms/lib_ajax.php';
should be:
var sajax_uri = 'https://alohapalestine.com/wp-content/plugins/cforms/lib_ajax.php';
PS: you email field should be flagged 'email' in the form config.
|
|
|
|
|
Guest
| Christiaan 8:28 pm January 3, 2009
| |
|
|
Thanks Oliver. I'm using Safari but the error message pops up in (a fresh install of) Internet Explorer on Windows. I did the above but still get the message.
Also if I have a look at the source code of our site these items all show up as http:
<!-- Start Of Script Generated By cforms v9.4 [Oliver Seidel | www.deliciousdays.com] -->
<link rel="stylesheet" type="text/css" href="http://alohapalestine.com/wp-content/plugins/cforms/styling/cforms.css" />
<script type="text/javascript" src="http://alohapalestine.com/wp-content/plugins/cforms/js/cforms.js"></script>
<script type="text/javascript" src="http://alohapalestine.com/wp-content/plugins/cforms/js/calendar.js"></script>
<script type="text/javascript">
var cforms = jQuery.noConflict();
Date.dayNames = ["S","M","T","W","T","F","S"];
Date.abbrDayNames = ["S","M","T","W","T","F","S"];
Date.monthNames = ["January","February","March","April","May","June","July","August","September","October","November","December"];
Date.abbrMonthNames = ["January","February","March","April","May","June","July","August","September","October","November","December"];
Date.firstDayOfWeek = 0;
Date.fullYearStart = "20";
cforms.dpText = { TEXT_PREV_YEAR:"Previous Year",TEXT_PREV_MONTH:"Previous Month",TEXT_NEXT_YEAR:"Next Year",TEXT_NEXT_MONTH:"Next Month",TEXT_CLOSE:"Close",TEXT_CHOOSE_DATE:"Choose Date",ROOT:"http://alohapalestine.com/wp-content/plugins/cforms"};
cforms(function() { Date.format = "dd/mm/yyyy"; cforms(".cf_date").datePicker( {startDate:"01/01/1899",verticalOffset:5,horizontalOffset:5} ); Date.format = "mm/dd/yyyy"; });
</script>
<!-- End Of Script Generated By cforms -->
|
|
|
Admin
| Oliver Munich, Germany posts 6237 6:49 pm January 4, 2009
| |
|
|
Right, those header inclusions should be https (vs. http). They're taken from either WP variable:
- PLUGINDIR
- WP_CONTENT_URL
- or WP_PLUGIN_URL
Could it be that your WP settings don't reflect the https ?
|
|
|
|
|
Guest
| Christiaan 6:55 pm January 4, 2009
| |
|
|
I've got it all set to https, including the URLs in General Settings.
It was originally set up as http so maybe the variables haven't picked up on the change properly?
Any ideas?
|
|
|
Admin
| Oliver Munich, Germany posts 6237 7:14 am January 5, 2009
| |
|
|
You could try to deactivate and reactivate the plugin.
And or alternatively try to set (or double-check) any of these vars:
- PLUGINDIR
- WP_CONTENT_URL
- or WP_PLUGIN_URL
|
|
|
|
|
Guest
| cosmin 12:53 pm January 5, 2009
| |
|
|
try this:
go to your wordpress "General Settings" and replace the "http://yoursite.com" in the Wordpress and Blog address fields with "https://yoursite.com".
additionally – i'm not sure that is absolutely necessary, but i did it – you can also go to phpMyAdmin in your cPanel, select your wp databse for that particular site, select wp_options >> Browse and do the same thing for your "siteurl".
this makes everything in wordpress that accesses something through a general path, rather than the actual URL, look for it through "https" which makes IE happy.
this is what i did and it works like a charm.
also if you have anything (especially images) that are not displayed dynamically, but by rather you giving the entire URL (http://yoursite.com/something) it needs to be replaced by https://yoursite.com/something.
hope this helps.
|
|
|
Guest
| Christiaan 12:41 am January 6, 2009
| |
|
|
Thanks cosmin but in both case the url already starts with https.
|
|
|
Guest
| Christiaan 1:52 pm January 6, 2009
| |
|
|
Fixed! I just deactivated and reactivated the cforms plugin. Thanks for your help guys.
|
|
|
Guest
| cosmin 10:38 pm January 6, 2009
| |
|
|
yeah i did that too, i just forgot to mention it. glad you got it working. 
btw oliver, thanks for the great plugin.
|
|
|
Guest
| Christiaan 11:48 pm January 6, 2009
| |
|
|
Yes, my thanks again to Oliver.
|
|