Loading...
 
Features / Usability

Features / Usability


Screwed up completely, anonymous users can't log on

posts: 22

mrgreen

I have done something stupid. I am no longer able to log in on my tiki installation which runs on a remote ISP because the Anonymous user group does not have the right to log on.

What not to do:

I had renamed the Anonymous group to Anonymous3 while I was developing my site. This meant that anonymous users could not do anything on my site except log on. This worked fine.

I created a number of users which were then included in the Anonymous3 group. This worked fine.

The next thing, I wanted to gradually open up my site for outside users. First, I wanted to enable anonymous users to view the main page, and nothing else. So I created a brand new "Anonymous" group with one privilege only: tiki_p_view. This worked fine.

I logged out and saw what any anonymous user would see from now on to eternity: The main wiki-page of my site, and nothing else. For instance, no logon.

So, now I have one page. Everybody can view it, but nobody will ever be able to logon and change it. Because, you see, Anonymous users can't logon.





And that's the problem. Please tell me there's a workaround?!

posts: 4656 Japan

Do you have access to your Tiki database via PhpMyadmin? If so, you could either change the permission to allow anonymous users to log on or rename your user groups. The table names are pretty self-explanatory.

-- Gary - zukakakina.com


posts: 24

Not sure if this helps, but in the 1.8.x version, there is a file tiki-login_scr.php that brings up the login box.

http://yoursite.com/tiki-login_scr.php will allow you to login to your site as admin, and then you can fix your problem from inside.

posts: 22

> Not sure if this helps, but in the 1.8.x version, there is a file tiki-login_scr.php that brings up the login box.
>
> http://yoursite.com/tiki-login_scr.php will allow you to login to your site as admin, and then you can fix your problem from inside.
>
>

Thanks, this worked fine. It turns out it was not a problem of rights/permissions (because then your suggestion wouldn't have worked), but rather:

Once the user group Anonymous was deleted, the connection between the module 'logon-box' and Anonymous also disappeared. When a new group Anonymous was created, the connection to the module had to be reestablished.eek

Mike


posts: 957

I would suggest myself that you recreate groups and permissions. Afaik, anonymous and registered groups needed not to be renamed. And renaming groiups after creation is buggy, since most (all?) the created groups including the old one and users belonging to the old-name group will retain the old name (at least, it happenend to me several times previous attemps in differetns Tiki versions).

I'd suggest to change permissions (not names) on the default "anonymous" and "registered" group, and play with more permissions with other newly created groups....
(so I would try deleting your manully created "anonymous" group, then renaming "anonymous3" to "anonymous", and keeping also registered without change in its name. From then onwards, play with groups and perms as mauch as you need, but without renaming)

Cheers, (and good luck :-)

xavi