Subject: | Can't coerce array into hash - A::A::P::S v1 |
Morning Moe!
After upgrading AxKit to 1.7 (latest CVS code) and and A:A:P:S to the new version 1, I am faced with the following error:
Can't coerce array into hash at /Library/Perl/5.8.6/Apache/AxKit/Plugin/Session.pm line 1292, <GEN0> line 7.\n
This error causes AxKit to die - Hense I have marked it as critical.
my AxKit conf looks like this:
PerlModule Apache::AxKit::Plugin::Session
PerlSetVar AxDebugSession 0
PerlSetVar AxKitSessionDir /www/sessions
PerlSetVar AxKitSessionManager Apache::Session::File
PerlSetVar AxKitSessionGlobal Tie::SymlinkTree,/tmp/globals
ErrorDocument 403 /redirect?url=/login
PerlSetVar MaxPostSize 8888
PerlSetVar AxKitSessionExpire 30
<Location />
AuthType Apache::AxKit::Plugin::Session
AuthName AxKitSession
PerlAuthenHandler Apache::AxKit::Plugin::Session->authenticate
PerlAuthzHandler Apache::AxKit::Plugin::Session->authorize
PerlInitHandler Apache::RequestNotes
require valid-user
</Location>
# left over from a previos version of A:A:P:S.... is this still needed?
<Location /redirect>
PerlInitHandler Apache::RequestNotes
</Location>
... Thanks for your attention
tom (tkp)