• Resolved cs-ilck

    (@cs-ilck)


    Hi

    We installed wp-cerber on a multi-site and it appeared to work without issue until a new website manager was unable to log into both sites in the same browser. After being locked out of one of the sites he was unable to access the /wp-admin/ on one of the sites.

    Other issues followed so in the short term we’ve removed the wp-cerber plugin and run the additional removal plugin, however, the CMS CSS is now broken. When we re-added the plugin it worked.

    Our dev has tried adding the below to wp-config:

    define(‘CONCATENATE_SCRIPTS’, false);
    require_once(ABSPATH . ‘wp-settings.php’);

    But that doesn’t appear to have fixed the issue. On reviewing the forum I noticed the below post:

    https://wordpress.org/support/topic/divi-theme-404-white-screen/

    Where you went on to say:

    The most common issue is that a developer doesn’t know how to load admin CSS styles and admin JS scripts correctly and we see a blank page or a non styled page. The only correct way is to use an admin_enqueue_scripts hook.

    Do you feel is a similar issue and fix to resolve the problem?

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author gioni

    (@gioni)

    Hi!

    What do you mean by “CMS CSS”?

    I recommend you to deactivate Cerber from the admin dashboard. During the deactivation process the plugin cleans up the mess with its settings and changes that possibly have been made in styles and files.

    Thread Starter cs-ilck

    (@cs-ilck)

    Hi Gioni

    When I tried logging into /wp-admin/ the CSS had been stripped out. After getting past the login page the styling for the CMS itself had been stripped out.

    If you can share an email address I’ll send a screenshot.

    It seems the following update to wp-config did work after all:

    define(‘CONCATENATE_SCRIPTS’, false);
    require_once(ABSPATH . ‘wp-settings.php’);

    How that connected to me removing the wp-cerber plugin though I do not know but as mentioned above when initially I switched the plugin back on the CSS/styling displayed again.

    Thanks

    Plugin Author gioni

    (@gioni)

    Obviously you’ve enabled protection against CVE-2018-6389 issue: https://wpcerber.com/how-to-protect-wordpress-against-cve-2018-6389/

    Besides other changes this feature also adds special rules to the .htaccess file. During the deactivation process the plugin reverts all changes. If you delete the plugin folder without deactivation plugin, you don’t let the plugin do that.

    You should remove those lines from wp-config.php.

    Thread Starter cs-ilck

    (@cs-ilck)

    Hi Gioni

    The code was still included in the htaccess, thanks for pointing that out.

    I’ve removed the code – do I still need to remove the code from wp-config?

    Thanks

    Plugin Author gioni

    (@gioni)

    It’s up to you. But note that require_once(ABSPATH . ‘wp-settings.php’); must be the last line in the file.

    Thread Starter cs-ilck

    (@cs-ilck)

    Thanks Gioni

    Happy for you to close the ticket.

    Cheers

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

The topic ‘Missing CMS CSS’ is closed to new replies.