WordPress.org

Ready to get started?Download WordPress

Forums

WP Maintenance Mode
[resolved] Front end not viewable from editor/author roles (12 posts)

  1. colourPress
    Member
    Posted 1 year ago #

    I encountered an issue last night after updating to 1.8.2, still have it today. When the Role Backend and Role Frontend options are set to anything but admin those login roles are unable to view the front of the site.

    Looking forward to a resolution. Love your plugin but seems I updated to quickly.
    Thank you.

    http://wordpress.org/extend/plugins/wp-maintenance-mode/

  2. Frank
    Member
    Plugin Author

    Posted 1 year ago #

    The 1.8.2 have not save the options, was a problem of checkin of the SVN. Now I have update this and also small major bugs.

  3. exhtml
    Member
    Posted 1 year ago #

    Hi Frank, thanks for your help and fast response! I'm sorry but I continue experimenting same problem with 1.8.3,
    -If I change 'Backend role' from Admin to Editor for example, and save the changes, it's all ok.
    -If I change 'Frontend role' from Admin to Editor for example, and save the changes, if I come back to the plugin settings see that it continues in Admin, so the change haven't been saved.

    In admin login screen and in maintenance mode screen, if I have wp-debug activated in wp-config, I can see these notices:

    Notice: Undefined index: role_frontend in /var/www/vhosts/dam-vr.es/httpdocs/wp-content/plugins/wp-maintenance-mode/wp-maintenance-mode.php on line 435

    Notice: Undefined index: role_frontend in /var/www/vhosts/dam-vr.es/httpdocs/wp-content/plugins/wp-maintenance-mode/wp-maintenance-mode.php on line 463

    Hope it helps!
    Thanks again!

  4. Dirk S
    Member
    Posted 1 year ago #

    can confirm the bug with 1.8.3 as well. have a new user as editor who can't see the frontend

  5. Frank
    Member
    Plugin Author

    Posted 1 year ago #

    The notice was fixed, now in the same version ;)

    But for the saving of settigns; maybe a problem with the cache. please check the file in js/p-maintenance-mode.js - have the same file how in the repo - http://plugins.svn.wordpress.org/wp-maintenance-mode/tags/1.8.3/js/wp-maintenance-mode.js. Often is the cache the problem.

  6. exhtml
    Member
    Posted 1 year ago #

    Thanks Frank, copyingpasting from the repo to the same file in the plugin folder fixes the issue!
    Many thanks for your work and help!

  7. Frank
    Member
    Plugin Author

    Posted 1 year ago #

    Was the file difference? or was a problem with cache?

  8. exhtml
    Member
    Posted 1 year ago #

    Don't know... :-S
    I copy pasted the content of the file in the repo over the file in my plugins folder... sorry

  9. colourPress
    Member
    Posted 1 year ago #

    Frank- I just edited the js file with your new link file and it still does not work when logged in as editor. I am still using 1.8.2, with this new js.

    http://plugins.svn.wordpress.org/wp-maintenance-mode/tags/1.8.3/js/wp-maintenance-mode.js

    Any advise is greatly appreciated.

  10. Frank
    Member
    Plugin Author

    Posted 1 year ago #

    Short:
    Admin works?
    Frontend role access cant log in, see not frontend or backend? Rewrite is not active.

  11. colourPress
    Member
    Posted 1 year ago #

    Admin works.

    Now they all work. Do I dare update to v1.8.3 or is the js file the only update?
    Thank you so much!

  12. Frank
    Member
    Plugin Author

    Posted 1 year ago #

    NO, was more changes in 1.8.3;but the js problem in 1.8.2 was the error, there it was not possible to save the data on settings.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.