• Resolved argosmedia

    (@argosmedia)


    Hi, when I choose a role or a user I get a blank screen with the error:

    Did something wrong? Reset the view by clicking me!
    Sorry, you are not allowed to access this page.
    • This topic was modified 9 years, 7 months ago by argosmedia.
    • This topic was modified 9 years, 7 months ago by argosmedia.
Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @argosmedia,

    This means that the view you have selected doesn’t have permission to see the page you are on.
    For example:

    – You are on the plugins page
    – You change your view to the “Author” role
    – This role does not have permission to view the plugin’s page
    – WordPress display’s the errormessage
    – This plugin then hooks into that message and allows you to reset your view.

    Hope this helps!

    • This reply was modified 9 years, 7 months ago by Jory Hogeveen.
    Thread Starter argosmedia

    (@argosmedia)

    Yup, I was on the plugins page πŸ™‚
    Starting on the dashboard it works fine!
    Thanks for your fast response (and for the plugin).

    Regards,
    Jurgen

    Plugin Author Jory Hogeveen

    (@keraweb)

    No problem!
    I am thinking about doing a redirect to the dashboard with a notice for these kind of situations but not sure if this would be best in all cases since I can imagine some developers would like to see the error screen for testing.

    Also, if you like the plugin, please consider leaving a nice review, it will help the plugin grow πŸ™‚

    Thanks! Jory

    Thread Starter argosmedia

    (@argosmedia)

    Yes, I guess some kind of notice, hint and/or redirect could be useful.

    Review added πŸ™‚

    Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @argosmedia,

    Thanks!
    And I’ve added an issue on GitHub for this topic.
    If you have any thoughts on this, let me know there!
    https://github.com/JoryHogeveen/view-admin-as/issues/10

    Regards, Jory

    Thread Starter argosmedia

    (@argosmedia)

    Nice job.

    Plugin Author Jory Hogeveen

    (@keraweb)

    v1.6 is live with an improved 403 page hook!

    I didn’t choose to do a redirect because I think an error page gives a better idea of what a role/user can view within the installation.

    • This reply was modified 9 years, 7 months ago by Jory Hogeveen.
    Thread Starter argosmedia

    (@argosmedia)

    Yep, that’s a nice solution!

    Maybe the notice can be improved a bit. There is double use of the word “view”, but with different meanings. Instead of:
    “The view you have selected is not permitted to view this page”
    maybe this is somewhat nicer:
    “The user/role you have selected is not permitted to view (or use, or access) this page”

    • This reply was modified 9 years, 7 months ago by argosmedia.
    Plugin Author Jory Hogeveen

    (@keraweb)

    “access” sounds nice, thanks!

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

The topic ‘Blank screen with error’ is closed to new replies.