Loading...
 
Features / Usability

Features / Usability


Password reset feature

posts: 24

Hi,
I'm having a problem with the password reset feature. Originally it worked fine. However recently when trying to use it sometimes the error message "you are not logged in" given. Obviously this isn't helpful because if the user could log in they wouldn't be using the form.

The first time this happened I tried clearing the cache and it worked ok again. However this time the problem seems to be present even after clearing the cache.

The Tiki hasn't been upgraded for some time so it's not an issue relating to this.

Any ideas what might be causing this?
Thanks Peter

posts: 3665 United States

Can you provide additional details:

  • What Tiki version are you using?
  • Are you storing session data in the DB or File System?
  • Can you duplicate the issue with different PCs and browsers?


To be clear, a user (who is not logged in):
1. Clicks FORGOT PASSWORD (on the Log in page).
2. Completes the I forgot my password form and clicks Submit.
3. Tiki returns a "You are not logged in" message?


HTH,

- Rick | My Tiki Blog | My Tiki UserPage

Why be a dummy? Get smarty! TikiForSmarties.com
Tiki for Smarties, your source for the best (and only) Tiki books, guides, and tutorials.

posts: 24

Hi Rick,
Yes, your summary of the problem is correct. However, it doesn't seem to be an issue at all times. I can't quite work out a pattern to this.

  • Currently using version 6.10.
  • Not sure where to find the setting on session data. Authentication method is set to Tiki.
  • Yes, several users have reported the issue to me (as admin). I suspect (but didn't ask) they were using IE of some flavour. I've experienced it myself both at home (Ubuntu/Firefox), away (Android/Firefox) and at work (windows/Firefox).


HTH.

posts: 3665 United States

Hi Peter:

The first thing I'd do is upgrade to the current Tiki6.13 version. It is possible that this issue has already been resolved. I, for one, have not seen this issue (but I haven't looked at a Tiki6 site in a long time.

Peter King wrote:
Not sure where to find the setting on session data.
Look for the Session storage location option in Admin: General. Please see the docs for details.


If you haven't made any changes to your Tiki, what about the server? Anything been changed or upgraded recently?



HTH,

- Rick | My Tiki Blog | My Tiki UserPage

Why be a dummy? Get smarty! TikiForSmarties.com
Tiki for Smarties, your source for the best (and only) Tiki books, guides, and tutorials.

posts: 24

Thanks Rick,
For some reason first try of upgrade from 6.10 didn't go smoothly. Then we wavered between upgrading to 6.13 or 9.x LTS. Many of our users still use(d) IE6, which was why we've stayed down at TikiWiki 6.x. But we were going to go to Tiki9 after XP finally expired. I guess I'll have to do one or the other soon.

Found the setting of Session Data (I'd been looking under Admin:Login). It's under Admin:Performance. It is set to "default (from php.ini)". Not sure what parameter to look for there.

We're on a shared hosting so it's hard to tell what's changed about server, etc.

Peter

posts: 3665 United States
Peter King wrote:
It is set to "default (from php.ini)".
OK, you'll need to check your php.ini file to see what the current setting is. You can also review your PHP settings from Tiki, by selecting Admin > phpInfo from the main menu.


You may need to ask your host to see if anything has changed recently. The fact that things "used to" work fine and now don't (even though you haven't changed anything on the Tiki side) make me think that something changed on the server (maybe they upgraded PHP or MySQL versions?).



HTH,

- Rick | My Tiki Blog | My Tiki UserPage

Why be a dummy? Get smarty! TikiForSmarties.com
Tiki for Smarties, your source for the best (and only) Tiki books, guides, and tutorials.

posts: 24

Thanks.
So session data is stored in "files".

I've upgraded to 6.13 so will probably wait a while to see if that makes a difference.

The other thing I noticed during the upgrade was I get this message "Warning: tempnam() function.tempnam: Unable to access in public_html/lib/init/initlib.php on line 135". It seems to go after being viewed once. I guess I need to fix that somehow. Might it related to this issue?

Again I suppose that suggests that something has changed on the host since the last upgrade. Will look into it.

Thanks for the help
Peter