Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with SSL #454

Open
pdubb-sauce opened this issue Oct 29, 2018 · 3 comments
Open

Issues with SSL #454

pdubb-sauce opened this issue Oct 29, 2018 · 3 comments

Comments

@pdubb-sauce
Copy link

Hi,

I understand this library is no longer in development, however I'm hoping someone can help me.

I'm having issues with CMB loading properly in a secured SSL environment. For some reason 3 CMB includes are not loading over https and instead stuck in http:

The 3 stylesheets id's are: cmb-styles-css, select2-css, cmb-jquery-ui-css

If anyone can point me in the right direction to get this corrected that would be awesome, thanks in advance.

@mikeselander
Copy link
Contributor

@pdubb-sauce I'm a little lost myself on what could be causing this issue. We're using core WordPress functions to build the URL for loading the scripts and styles.

Are the JS files also causing mixed-content issues? Could you double-check that you've got the URL properly set with https in all applicable options rows?

@pdubb-sauce
Copy link
Author

@mikeselander Yeah I'm baffled. The JS files for cmb and select2 are both loading over https.

Can you please elaborate a little more on the setting of https to all applicable options rows?

@mcjwb
Copy link

mcjwb commented Feb 6, 2019

I know this is a bit old, but I just had this issue and I traced it back to a core option called "siteurl" stored in the database (wp_options table). Mine was not set to "https". changing this fixed the issue for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants