• Resolved new_B

    (@new_b)


    Hi,

    Thank you for the great plugin.

    After I updated to the latest version of Sucuri, the behaviour changed a bit on my multisite. I had it network activated and was able to customize settings on each subsite, harden blogs.dir subdirectories, etc. Now, I don’t see any Sucuri settings on each site. Only the network admin area.

    When I try to access a bunch of config pages, eg Hardening, etc. I get “You do not have sufficient permissions to access this page.”

    Any ideas on solving the issue?

    Thanks.

    https://wordpress.org/plugins/sucuri-scanner/

Viewing 15 replies - 1 through 15 (of 16 total)
  • I think this has to do with the submit URL on multisite. Here’s what I changed in sucuri.php on line 5972 of 1.7.14 and it seems to have fixed the issue:

    from

    $url_path = admin_url( ‘admin.php?page=sucuriscan’ );

    to

    $url_path = SucuriScan::is_multisite() ? network_admin_url( ‘admin.php?page=sucuriscan’ ) : admin_url( ‘admin.php?page=sucuriscan’ );

    @jrfoell thanks for your contribution, I may use that code in the next version of the plugin; @new_b there was a plan to change the way the plugin works in a WordPress network installation, in a primitive version of the code the settings page as well as the rest of the interfaces were only available to the network admin as it was supposed to be the root of the website(s), this was changed some time later when some features from the premium plugin were merged in the community plugin but it was considered internally as a unwanted feature, so I have been planning to revert that for a long time, and I finally did it in this new version “1.7.14”.

    Please check @jrfoell suggestion and let me know if that works for you so I can plan to include an optional setting to set that modification programmatically.

    Hi,

    We noticed the same issue on Multisite. After upgrading we get “You do not have sufficient permissions to access this page.”

    So restored the 1.7.13 and all works fine.

    PS: @yorman – This is one of the best plugin of all time in the WP repository! Greetings from Italy.

    @pramaweb thanks for confirming this and your support; I will continue investigating this issue.

    I just ran into this issue as well. Should I try the code edit that Justin Foell provided above?

    Thanks very much!

    Hello @elindydotcom I applied the patch suggested by @jrfoell here [1], please download the development version of the plugin from here [2] and see if it fixes the issue that you are experiencing with the links in the administration area. I want to make other improvements in the code so I will not release a new version with this patch soon, I will merge everything in the coming weeks, please use the development archive for now.

    [1] https://plugins.trac.wordpress.org/changeset/1295855
    [2] https://downloads.wordpress.org/plugin/sucuri-scanner.zip

    A Big Thanks @justin Foell Worked like a charm for me too

    Keep youre great Work @yorman

    Unfortunately that download did not work for me. I still get the message on my network dashboard. This time though, when I opt to try to get a new API KEY the dialog box does not pick up the admin email address so the attempt to get the key fails and the message remains.

    Thread Starter new_B

    (@new_b)

    Thanks–much appreciated. Will try it out.

    When do you estimate to update this issue in a new release?

    Thanks!

    Please push the update, it is becoming so annoying!!!

    I have many websites with Sucuri Security installed, please update now.

    Thank you.

    @venio and @wesamly please test the development version of the plugin first, I do not want to release a public version with changes that has not been fully tested; I previously stated that I was not able to reproduce the issue that is being reported in this thread so I am not completely sure if the code submitted here [2] fixes the issue or not; please use the development version and let me know if it works for you guys, then I will release the code publicly after your confirmation.

    [1] https://downloads.wordpress.org/plugin/sucuri-scanner.zip
    [2] https://plugins.trac.wordpress.org/changeset/1295855

    Hello Yorman,

    I uploaded the sucuri-scanner.zip given in your post. And I confirm it is working.

    Sorry I didn’t carefully read your reply before about testing the development version.

    Thank you for support.

    Huh. Am I the only one for whom that fix doesn’t work? Does anyone else have an issue with it?

    Thanks very much!

    Thread Starter new_B

    (@new_b)

    It’s working for me. It is no longer showing “Permission denied” on the setting pages for Sucuri.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Latest on upgrade on multisite network – insufficient permissions’ is closed to new replies.