I installed the module and I'afraid did not even look at it other than activate it: I did not see the message that I could activate to inform users that the site was on maintenance :( Result: no-one but the admin could login and the message shown was: "Sorry, you do not have the permission to login at this time".
After various hours of searching for that error/informative message and informing users by email it wasn't their fault, I finally found the thread where Greg proposes to create a module for this task back in september.
What I did was to install and activate the module. And that was that, no login afterwards. No "login permission" found anywhere, no "activate maintenance_help", no warning that the module "was on", nowhere to find where the message "Sorry, you do not ..." came from. I did put the site on maintenance mode (offline) for updating with update.php but put it back on line. No way.
Yes, I know that being a dev I should not have used it on a live site, yes, but I really expected it to do something other than simply putting the site off for loging in. At least inform it was present and was doing something.
Until it is fully functional I would suggest:
- mentioning on the project page the difference, if any, between using .../?q=admin/settings/site-maintenance and the maintenance_helper. Does admin use one or the other, one before the other o the other way round?
- adding to the default message shown some reference to the fact that it is put there by the module.
- instead of the default hard-coded message some switch to be able to de-/activate it.
- the default message should inform of what is happening. After all, once it is workig properly the message can be changed.
It is easier for developers to inform than for every newbie to find out the hard way. Unless the developer programs for other developers only. Sorry but I have learned many many things the hard way.
Keep up the good work, Greg :)
Felipe :)
Comments
Comment #1
gregglesThanks for your feedback.
In general about the bugginess of the module...the module has one release in a development release state. Since all software has bugs, having only a dev version should be a pretty clear indication that this too, as a dev, will also have bugs.
I tried to do this with the current description. If some part of it seems lacking, please expand.
I don't think it makes sense to add to the message any information about the source of the message. The message is shown to end users who usually don't know about modules and can't do anything with the information. It would help with debugging, but it is not a good error message from a usability standpoint.
Visit admin/settings/maintenance_helper where you can do exactly that. See also http://drupal.org/files/images/maintenance_helper.png which is now on the project page.
Same as above reasoning about the context of the user.
The module absolutely needs a README.txt that talks about granting people the permission to login and the location of the settings page. I'll try to get that shortly.
Comment #2
FelipeT commentedHi! Thanks for the quick response.
I did and do not really know the level of advancement that a dev module has, not being a developer myself. Please bear with me. I look at it more from a user's point of view. It is also the first issue I report about since I am sure of it. There are many I do not really know ;)
Mm, I'll give it a try. It could read something like:
" * You want to perform maintenance on your site that may cause errors, but instead of showing the usual message that site is offline preventing users from accessing it, you still want users to be able to read the site."
All right. Yes, I understand. I installed the module together with a bunch of others. Probably it is not a good way to do it and also I did not do it on a test site, true. The reason for my suggestion is that I was not able to find anywhere yet the default message used. So I had no idea where the problem came from. Mentioning maintenance_helper, or even just maintenance, would have given me a clue and pointed me in the right direction.
Also, if my users had been able to login but not edit or contribute content that would have given away some indication of where the trouble was.
Yes but it is not activating the message or not, it is activating and deactivating the actual module that I refered to. It may seem useless to you but if one tries it and for some reason it doesn't work yet one could deactivate it in the same config page. I guess you take for granted that admins are to do that in the modules page. I expected to find that in the config and I am probably wrong on this.
The message "Sorry, you do not have the permission to login at this time" threw me. I had no idea what was wrong. I went looking for wrong permissions, emptying caches, clearing cookies and that.
Is it not more important for the module to not create confusion while it is in development? Not that much trouble for a few users to actually see "(maintenance being carried out.)", is it? At least until the module reaches a more stable stage.
Yes, absolutely. I think it should address the main question: ¿Does one activate the Helper instead of putting the site offline, does one activate it and then put the site offline or does one activate it and it takes care of putting a meaningful message, custom or not, for users to see?
I probably do not see most aspects of the implications of this module, do not address properly what I see as problems and certainly do not know the problems involved in solving the bugs ;) I just mention what confused me and that took me a long time to figure out.
Thank you for explaining, Greg. Newbies are like this ;) I'll be on the look out for updates and give more feedback if it is useful.
Comment #3
gregglesThere is a permission error here: "login to site" is the name of a permission provided by this module.
So, here is a README.txt
How does that seem? What is it missing?
Comment #4
gregglesOk - fixed.
Comment #6
claar commentedThe README.txt doesn't seem to be in CVS -- am I missing something?
Comment #7
gregglesI think it's there http://drupalcode.org/viewvc/drupal/contributions/modules/maintenance_he...