• Resolved hellpunch

    (@hellpunch)


    Disabling Phastpress breaks site layot in its entirety.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Albert Peschar

    (@kiboit)

    Hi @hellpunch,

    Disabling the PhastPress plugin should restore the site to it’s original state, as PhastPress does not make any lasting changes.

    If you like, you can share the URL with me and I can have a look.

    –Albert

    Thread Starter hellpunch

    (@hellpunch)

    In theory you are right, but in pratice, when i disable Phast, the css doesn’t get loaded in the site. I sent you an email anyway.

    • This reply was modified 4 years ago by hellpunch.
    Plugin Author Albert Peschar

    (@kiboit)

    Hi @hellpunch,

    You are using a CSS stylesheet from a HTTP domain on a HTTPS site. Ie, your site is https://www.yourdomain.com/ and the stylesheet is loaded from this URL:

    https://www.yourdomain.com/wp-content/uploads/us-assets/www.yourdomain.com.css?ver=d81a38c0

    It works when PhastPress is enabled, because it retrieves the stylesheet and inlines it into the page. But when you disable PhastPress, the browser has to retrieve the stylesheet itself, and can’t because it is not allowed to use HTTP resources on HTTPS pages.

    You have to fix your configuration so that all resources (CSS and JS) are loaded from HTTPS. This might be your “site URL” setting or a setting in your theme. You can try adding a line like this to your wp-config.php:

    define("WP_SITEURL", 'https://www.yourdomain.com');

    –Albert

    Thread Starter hellpunch

    (@hellpunch)

    Thank you very much albert, i changed the values on the database as define on config wasn’t working and now, when the plugin is deactivated, the site works ??

    Plugin Author Albert Peschar

    (@kiboit)

    Hey @hellpunch,

    Glad to hear it worked out, and thanks for your review!

    –Albert

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Disabling Phastpress’ is closed to new replies.