WordPress.org

Ready to get started?Download WordPress

Forums

Centrora Security™
[resolved] Unable to access dashboard after upgrading plugin (22 posts)

  1. AlanP57
    Member
    Posted 1 year ago #

    I just installed the updated plugin in my site running wordpress multi site. Afterwards I could not longer access the wordpress admin area. I was able to regain access once I deactivated (renamed the plugin).

    http://wordpress.org/extend/plugins/ose-firewall/

    And I found a second problem in a non multi site installation; I am not able to update a page. I get a blank page when I press the update button. I have deactivated the plugin here also.

  2. alanpae
    Member
    Posted 1 year ago #

    Same issue:

    Warning: Cannot modify header information - headers already sent by (output started at wordpress/wp-content/plugins/ose-firewall/templates/menus/admin-menu.php:20)

    in wordpress/wp-includes/pluggable.php on line 876

    plugin deleted until fixed or I can find an older version.

    alan

  3. osexcel
    Member
    Plugin Author

    Posted 1 year ago #

    Hi there

    We are checking the issue now, will update the plugin asap.

    BTW, could you please tell me what version of WordPress you are using? We are testing version 3.5.1, and did not see the issue on our end.

    Best wishes
    OSE team

  4. AlanP57
    Member
    Posted 1 year ago #

    Yes, I am using version 3.5.1

  5. osexcel
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Alan
    Please try version 1.5.1, we updated some codes and we think the admin_menu was called twice so it caused the issue. Version 1.5.1 should fix the issue.

  6. alanpae
    Member
    Posted 1 year ago #

    Works now - and it does a lot more!

    Thanks!

  7. osexcel
    Member
    Plugin Author

    Posted 1 year ago #

    Cool! :)

  8. Jatin Gupta
    Member
    Posted 1 year ago #

    I am not able to access my dashboard after upgrading it to 1.5.1

  9. AlanP57
    Member
    Posted 1 year ago #

    I immediately lost dashboard access when installing the new version on my multi site blog

  10. osexcel
    Member
    Plugin Author

    Posted 1 year ago #

    To Jatin and AlanP57: if possible, could you please send an ftp account to our customer support here:

    https://www.opensource-excellence.com/customers/general-enquries.html

    I think both of your websites are multi site blogs and this might be the reason? Not sure, but if you could provide more information to our support ticket system, we might be able to look into it a bit more.

    Further, for the time being, to regain backend access, please edit his file

    /wordpress/wp-content/plugins/ose-firewall/library/scan.php

    find the following lines:

    private function checkContinue()
    {
    change it to

    private function checkContinue()
    { return false;

    This will allow you to regain the access to the dashboard.
    Hope this helps. :)

  11. Jatin Gupta
    Member
    Posted 1 year ago #

    return false; dint helped :(

  12. AlanP57
    Member
    Posted 1 year ago #

    Still no dashboard access with the latest version.

  13. osexcel
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Jatin

    Please try to edit this file

    /wordpress/wp-content/plugins/ose-firewall/ose_wordpress_firewall.php

    find this line

    define('OSEFWDIR', plugin_dir_path(__FILE__) );

    change it to

    define('OSEFWDIR', plugin_dir_path(__FILE__) );
    return;

    You should be able to get in the backend. if not, please send a temp ftp account to our secure support centre:

    http://www.opensource-excellence.com/customers/general-enquries.html

  14. osexcel
    Member
    Plugin Author

    Posted 1 year ago #

    To AlanP57, please try to update to 1.5.3, if that cannot sort out the issue yet, please send a temp ftp account to our secure support centre:

    http://www.opensource-excellence.com/customers/general-enquries.html

    We will look into it.

  15. AlanP57
    Member
    Posted 1 year ago #

    Version 1.5.3 does not solve the problem.

  16. osexcel
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Alan, in this case, if possible, please send a temp admin account + ftp account to our support centre:

    http://www.opensource-excellence.com/customers/general-enquries.html

    Because we cannot reproduce the issue locally in our development server, we cannot know how to fix it. From our testing, we can access the admin panel without any problems.

  17. AlanP57
    Member
    Posted 1 year ago #

    I found a work around so that I can use it on my multi site blog. I had been doing a network activate with the plugin, but since I use Plugin Commander that lets me activate individual plugins on different sites in the network, I uses it to activate the firewall on each of the individual sites and without loosing dashboard access. And I am run version 1.5.4 of OSE firewall

  18. pozirk
    Member
    Posted 1 year ago #

    Just installed OSE Firewall for multi site and now have "You do not have sufficient permissions to access this page." for admin panel.
    Both OSE Firewall and WordPress are latest versions.

    These changes helped:

    define('OSEFWDIR', plugin_dir_path(__FILE__) );
     return;

    But how good is that?
    Any help?

  19. alanpae
    Member
    Posted 1 year ago #

    Anything that returns access, no matter how kludgy it is, is usually appreciated followed up by, But I CAN do better!

    :-)

    alan

  20. iurisilvio
    Member
    Posted 1 year ago #

    I had the same issue today. Removed ose-firewall folder to uninstall the plugin. Waiting for a new update. I will check the solutions in this thread to help the author solve the problem.

  21. osexcel
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Guys

    Sorry for the late response as we were busy working on version 2.0 now.

    For the time-being, could you please try to edit this file:

    WORDPRESS_PLUGINFOLDER/osefirewall/library/osewpUtils.php

    line 79 - 90

    public static function isAdmin(){
    if(is_multisite()){
    if(current_user_can('manage_network')){
    return true;
    }
    } else {
    if(current_user_can('manage_options')){
    return true;
    }
    }
    return false;
    }

    Please try to change these lines to

    if(current_user_can('manage_network_options')){
    return true;
    }

    or

    if(current_user_can('manage_sites')){
    return true;
    }

    and see which one works?

    Thank you for your tesitng in advance! :)
    Best wishes
    OSE Team

  22. mohitarora
    Member
    Posted 1 year ago #

    Hi,

    I was facing the same issue and have added the lines to WORDPRESS_PLUGINFOLDER/osefirewall/library/osewpUtils.php.

    Though the admin panel works, I do not get this plugins setting page in the network admin dashboard or individual site dashboard.

    I am using the latest version of WP MU and latest version of the extension.

    If I try to visit host/wp-admin/admin.php?page=ose_wp_firewall_avscan
    or host/network/wp-admin/admin.php?page=ose_wp_firewall_avscan it still gives me "You do not have sufficient permissions to access this page"

    Any help would be appreciated.

    Thanks,
    Mohit Arora

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.