Like the module, but uncertain about this error:

Warning: session_destroy() [function.session-destroy]: Trying to destroy uninitialized session in tokenauth_exit() (line 138 of /home/xxxxxxx/public_html/sites/all/modules/tokenauth/tokenauth.module).

I see it in dblog after each successful page load, with a test user.
Token is set to apply to * i.e. all pages.
I am on D7.14, PHP 5.2.6.

Comments

Grayside’s picture

Category: support » bug

On account of the fact that Tokenauth does not generate a session, session_destroy() can safely be removed.

andrewbenkard’s picture

Meaning, a) this behavior is by design and thus harmless; or b) I should do something myself to safely remove session_destroy() ?

If it is (a), then can the module be adjusted to not throw said error into the log?

Grayside’s picture

1. This is harmless.
2. I need to delete that line from the module. Until I do, you may feel free to do so in your downloaded code.

Grayside’s picture

andrewbenkard’s picture

Thanks Grayside.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.