• Ok, so here is the deal. I’ve got around 5-7 site at wordpress.
    A few of them are my own. I’ve desiced to make an ssl on site.
    Usin FAQ with version 4.0.1 i’ve tried to change the setting in admin console from http to https. Both lines (adress site and wordpress). So, i’ve got the loop.
    Then after back up i did the same thing, but only with site or adress of wordpress. Result – the same.
    i thought that it’s a problem with theme or wp. So, i made a back up of site and opened a new subdomain for test – my.sitename.com, payed for ssl-certificate and started from “0”:
    1. Downloaded the latest version of WP
    2. Installed it with default theme
    3. Made changes at console from http to https.
    Resule – loop.

    After i managed all this results and wrote to hoster. He send me repsond that there is a problem with files at folder wp-includes. So, he did some changes there. I got the to FTP. So, the site began to work.

    But there are a few problems:
    1. While i’m trying to login – Fatal error: Call to undefined function wp_json_encode() in ../wp-admin/includes/misc.php on line 668
    2. Main page – http (with some includes http, ofcourse i can solve it, but it’s default topic….(((
    3. As i told before, i’me talking about default theme. So, lets say, that i’m no coder, so after installing/updating to 4.1/4.0.1 my site goes to loop if i’m trying to change the adress to https.
    I’m not even talking about other plugins or themes for now. It’s the other topic for sure.

    If enyone else got the solving of this problem, i’d like to know about the solution. Cause i’m out of options for now.
    I’ll try today to backup to previous version of WP (4.0.1) and try to iclude the files from hoster. But i don’t think it’s good for site to work like that.

    Thx for your answers in advance.

Viewing 13 replies - 1 through 13 (of 13 total)
  • jack randall

    (@theotherlebowski)

    have you bought and set up an SSL certificate with your hosting?

    Thread Starter nikitabasenko

    (@nikitabasenko)

    have you bought and set up an SSL certificate with your hosting?

    Yes. The problem is not with certificate for now. It’s with adress

    jack randall

    (@theotherlebowski)

    have a look at this: http://www.elegantthemes.com/blog/tips-tricks/how-to-use-ssl-https-with-wordpress

    it mentions a define statement to force SSL in the wp-config.php file.

    Thread Starter nikitabasenko

    (@nikitabasenko)

    it mentions a define statement to force SSL in the wp-config.php file.

    Got your point. Will take a look on that.
    But for now, officialy it doesn’t work fine as default? – i am right?

    Thread Starter nikitabasenko

    (@nikitabasenko)

    have a look at this: http://www.elegantthemes.com/blog/tips-tricks/how-to-use-ssl-https-with-wordpress

    I saw that site before – The WordPress HTTPS Plugin doesn’t help, plus i want to make ssl for the whole site, not for wp-admin. Plus i don’t have multisite.

    jack randall

    (@theotherlebowski)

    it’s definitely not a default behaviour, you need to tell wordpress to do it. i’ll see if i can google some more info…

    Thread Starter nikitabasenko

    (@nikitabasenko)

    it’s definitely not a default behaviour, you need to tell wordpress to do it. i’ll see if i can google some more info…

    Thx for help. Where can i “tell to wordpress”. Thx.

    Thread Starter nikitabasenko

    (@nikitabasenko)

    it’s definitely not a default behaviour, you need to tell wordpress to do it. i’ll see if i can google some more info…

    Ok, so i’ve posted this issue to coders at https://core.trac.wordpress.org/ticket/30828.

    Hope to get the solution….

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    3. Made changes at console from http to https.

    Just out of curiosity, what were those steps exactly?

    Tim Nash

    (@tnash)

    Spam hunter

    First of putting a ticket into Trac as a support request, will not be helpful trac is meant only for bugs not general support.

    While it may feel like you have found a bug, let’s make a few basic checks first before jumping the gun.

    Let’s start with the Fatal error, this sounds like you have missing files, so the quickest solution would be to manually update WordPress.

    Did this fix the fatal error, and looping?

    If not, what are your siteurl and blogurl set to in WordPress admin do they match the settings for your server in your vhost file?

    I’m also getting this error… Fatal error: Call to undefined function wp_json_encode() in /homepages/37/d94449639/htdocs/ema-blog/wp-admin/includes/misc.php on line 668

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Thread Starter nikitabasenko

    (@nikitabasenko)

    Just out of curiosity, what were those steps exactly?

    1. wp-admin – setting
    2. changed site adress and wordpress url from http://my.site.com/ to https://my.site.com/
    3. Pressed “Save”

    Let’s start with the Fatal error, this sounds like you have missing files, so the quickest solution would be to manually update WordPress.

    Did this fix the fatal error, and looping?

    No, i’ve got it after i did a lot of actions trying to fix loop and getting to site with https. So, my cms is up to date.

    If not, what are your siteurl and blogurl set to in WordPress admin do they match the settings for your server in your vhost file?

    Yes they are. I’ve set up hosting certificate also. So, everything must be fine. I’ve got somehow working model of https, but by changing files at wp-includes folder. So, it’s totaly – not default. By default with all the setting at WP and hosting – i’ve got loop.

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘SSL wordpress 4.1’ is closed to new replies.