Home › Forums › Calendar Products › Events Calendar PRO › SSL login, admin cause TEC Ajax failure
- This topic has 15 replies, 5 voices, and was last updated 10 years, 9 months ago by
Support Droid.
-
AuthorPosts
-
August 22, 2012 at 5:12 am #23937
Mike
ParticipantAdding the following to config.php causes TEC Ajax to load as https, which apparently keeps it from working correctly.
define(‘FORCE_SSL_LOGIN’, true);
define(‘FORCE_SSL_ADMIN’, true);One symptom is the mini calendar widget arrows no longer function.
August 22, 2012 at 1:16 pm #23970Mike
ParticipantI should have said “wp-config.php” … my apologies.
The problem seems to be in he CDATA where “ajaxurl”:”https: …/* */
August 24, 2012 at 6:36 am #24045Barry
MemberHi Mike – are FORCE_SSL_LOGIN and FORCE_SSL_ADMIN still defined as true, and if so could you provide a link to your website so I can see the problem firsthand?
Thanks!
August 24, 2012 at 7:40 am #24051Mike
ParticipantYes. Here’s the URL: http://www.evansvillephilharmonic.org/wp/
You can see it on the home page.
It looks like the CDATA includes https, even if the page isn’t served as https.August 24, 2012 at 9:04 am #24054Barry
MemberMike, thank you very much for reporting this to us – we will of course treat this as a bug (issue #17784) and though I can’t offer an absolute guarantee it’s looking like Daniel will fix this in time for the next release.
If there is anything else we can do for you please just let us know – and thanks again for highlighting this 🙂
August 24, 2012 at 10:09 am #24062Daniel Dvorkin
MemberHey Mike, thanks for reporting this! I’m just wondering how do you configured your site in order to have ssl in the admin, but http in the front end. I’d like to test the fix in a real-scenario config. Maybe you prefer to talk this in private? If so, drop me a line to [email protected]
Thanks!
August 24, 2012 at 11:52 am #24069Mike
ParticipantDaniel,
Set it using these wp-config options:
define(‘FORCE_SSL_LOGIN’, true);
define(‘FORCE_SSL_ADMIN’, true);August 24, 2012 at 11:53 am #24070Mike
ParticipantOf course, you need an SSL certificate, too.
August 24, 2012 at 12:22 pm #24074Daniel Dvorkin
MemberHey Mike, sure. I was asking about the apache config for this virtual, but don’t worry, I’ll test a few different environments 🙂
August 24, 2012 at 12:27 pm #24075Mike
ParticipantIt’s late on Friday, so I may have completely forgotten something important. 😉
All I did was set those wp-config parameters.
In general, the site is served via http save for a few pages where we accept credit-card donations. Since we had the SSL certificate already installed, I was able to set the wp-config parameters, and serve the admin and login via SSL.August 24, 2012 at 1:35 pm #24081Daniel Dvorkin
MemberJust to let you know: this is fixed in trunk and will be released with the next version of PRO.
Thanks for reporting!
August 24, 2012 at 1:46 pm #24082Mike
ParticipantAwesome! Thanks for your quick action.
Mike
August 31, 2012 at 2:43 pm #24444Rob
MemberHey there Mike. Rob from Modern Tribe here; just wanted to confirm that we have a fix in the current code base that should accomplish this for you. Any interest in giving it a shot in advance of next week? If so, let me know and I’ll shoot it your way. Otherwise if you just wanted to let us know when you did the official update, if that worked…that’s fine too. Let me know.
August 31, 2012 at 2:45 pm #24446Mike
ParticipantHey, Rob. That’s great news. I’d be happy to install it. (Any special instructions if there are problems and I need to revert back to the current version?)
September 24, 2012 at 2:29 pm #25637Mike
ParticipantHey, Guys.
Wanted to let you know that 2.09 fixed this.
Thank you very much!
-
AuthorPosts
- The topic ‘SSL login, admin cause TEC Ajax failure’ is closed to new replies.
