Loading...
 
Skip to main content

Features / Usability


You are viewing a reply to Except those with permission

Re: Except those with permission

> While trying to require a password for m tiki wiki, i did the following:
>
> Admin > General > General Settings > Disallow access to the site (except for those with permission)
>
> But now, no one can access the wiki 😕.
>
> How do I repair this?

This probably requires a visit to your Tiki's database. Use phpMyAdmin to go to the tiki_preferences table. Find the item "site_closed" and delete it. (It will have the value of "y" while your site is closed. Closing the site inserts "site_closed" into the table and gives it a value of "y". You can either change the value to "n" or delete the site_closed row completely.)

> and how do I set it up so a password is required for it?

A separate password isn't needed. There is a Tiki group permission "tiki_p_access_closed_site". You can assign this permission to your admin group, or whatever group will have access. Then simply by being a member of that group, users can access the closed site.

-- Gary

I think I am having the same problem as the OP: from a clean install I turned on the "Disallow access to the site (except for those with permission)", and now nobody can log in. "Site is closed for maintenance, please come back later." is all anyone can see and we are totally locked out. Not even "admin" can get on.

I did "update tiki_preferences set value = 'n' where name = 'site_closed';"
and that had no effect.
I did "delete from tiki_preferences where name = 'site_closed';"
and that had no effect.

I don't know why admin could not log in, in any event.
But it doesn't seem to be obeying the database!

Now I am going to re-install from scratch and delete everything and start over.