• I’ve recently converted a site to full SSL all the time including back end. Now AAM is broken. When accessing https://www.mystite.com/wp-admin/admin.php?page=aam none of the icons load, the roles do not load and it’s impossible to change settings to manage anything. This is because AAM has all of its content served via absolute paths. Here are some (slightly edited) console errors:

    [blocked] The page at 'https://www.mysite.com/wp-admin/admin.php?page=aam' was loaded over HTTPS, but ran insecure content from 'https://www.mysite.com/wp-content/plugins/advanced-access-manager/media/css/jquery-ui.css?ver=3.9.2': this content should also be loaded over HTTPS.
     admin.php?page=aam:50
    [blocked] The page at 'https://www.mysite.com/wp-admin/admin.php?page=aam' was loaded over HTTPS, but ran insecure content from 'https://www.mysite.com/wp-content/plugins/advanced-access-manager/media/css/common.css?ver=3.9.2': this content should also be loaded over HTTPS.
     admin.php?page=aam:51
    [blocked] The page at 'https://www.mysite.com/wp-admin/admin.php?page=aam' was loaded over HTTPS, but ran insecure content from 'https://www.mysite.com/wp-content/plugins/advanced-access-manager/media/css/aam.css?ver=3.9.2': this content should also be loaded over HTTPS.
     admin.php?page=aam:52
    [blocked] The page at 'https://www.mysite.com/wp-admin/admin.php?page=aam' was loaded over HTTPS, but ran insecure content from 'https://www.mysite.com/wp-content/plugins/advanced-access-manager/media/css/jquery.dt.css?ver=3.9.2': this content should also be loaded over HTTPS.
     admin.php?page=aam:53
    [blocked] The page at 'https://www.mysite.com/wp-admin/admin.php?page=aam' was loaded over HTTPS, but ran insecure content from 'https://www.mysite.com/wp-content/plugins/advanced-access-manager/media/css/jquery.treeview.css?ver=3.9.2': this content should also be loaded over HTTPS.
     admin.php?page=aam:54
    [blocked] The page at 'https://www.mysite.com/wp-admin/admin.php?page=aam' was loaded over HTTPS, but ran insecure content from 'https://www.mysite.com/wp-content/plugins/advanced-access-manager/extension/AAM_Activity_Log/activity.css?ver=3.9.2': this content should also be loaded over HTTPS.
     admin.php?page=aam:55
    [blocked] The page at 'https://www.mysite.com/wp-admin/admin.php?page=aam' was loaded over HTTPS, but ran insecure content from 'https://www.mysite.com/wp-content/plugins/advanced-access-manager/extension/AAM_My_Feature/my_feature.css?ver=3.9.2': this content should also be loaded over HTTPS.
     admin.php?page=aam:56
    [blocked] The page at 'https://www.mysite.com/wp-admin/admin.php?page=aam' was loaded over HTTPS, but ran insecure content from 'https://www.mysite.com/wp-content/plugins/advanced-access-manager/media/js/aam.js?ver=3.9.2': this content should also be loaded over HTTPS.
     admin.php?page=aam:1
    [blocked] The page at 'https://www.mysite.com/wp-admin/admin.php?page=aam' was loaded over HTTPS, but ran insecure content from 'https://www.mysite.com/wp-content/plugins/advanced-access-manager/media/js/jquery.dt.js?ver=3.9.2': this content should also be loaded over HTTPS.
     admin.php?page=aam:1
    [blocked] The page at 'https://www.mysite.com/wp-admin/admin.php?page=aam' was loaded over HTTPS, but ran insecure content from 'https://www.mysite.com/wp-content/plugins/advanced-access-manager/media/js/jquery.treeview.js?ver=3.9.2': this content should also be loaded over HTTPS.

    https://www.ads-software.com/plugins/advanced-access-manager/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Dre

    (@atimokhin)

    Bump for support?

    Thread Starter Dre

    (@atimokhin)

    Bump for support? I’m a paid customer, have several of your extensions for AAM, would like to keep site on SSL instead of having to reconfigure it every time I need to make a change in AAM. Also due to this unable to get full use out of the paid extension AAM Activities as I can’t view them unless I disabled https which is not acceptable.

    Thread Starter Dre

    (@atimokhin)

    I’ve also emailed you directly via your site contact us form. Please reply or I will be forced to file paypal disputes as the paid extensions are not usable when site is in SSL.

    Thread Starter Dre

    (@atimokhin)

    For those of you having the same issue, I was able to fix it by making the following changes to config.php in root of the this plugin folder.

    Line 16, 17 and 18 in the file is as follows:

    if (force_ssl_admin() && (strpos($base_url, 'https') !== 0)) {
        $base_url = str_replace('http', 'https', $base_url);
    }

    Simply comment out line 16 and 17, forcing the plugin to load everything over https:

    //if (force_ssl_admin() && (strpos($base_url, 'https') !== 0)) {
        $base_url = str_replace('http', 'https', $base_url);
    //}

    Hope this helps someone as the author does not seem to be responsive.

    Yes I know this is a hack, but I do not have time to figure out why the if statement fails and AAM loads everything over http instead of https, and the hack works for me.

    I have this problem, i have comment out those line, but still can’t load AAM config page

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘AAM Breaks when Backend SSL is enabled’ is closed to new replies.