[rt-devel] "RT Couldn't write to session directory
Lecul, Fred
fred.lecul at cba.com.au
Wed Aug 27 02:42:39 EDT 2003
Im getting the following error with my rt3, very strange.. Any idea's???
error: RT Couldn't write to session directory '/opt/rt3/var/session_data':
Can't call method "dbh" on an undefined value at
/opt/rt3/share/html/Elements/SetupSessionCookie line 35.
Stack:
[/opt/rt3/share/html/Elements/SetupSessionCookie:35]
[/opt/rt3/share/html/autohandler:46]
. Check that this dir ectory's permissions are correct. at
/opt/rt3/share/html/Elements/SetupSessionCookie line 60.
context: ...
56: };
57: undef $cookies{'RT_SID'};
58: }
59: else {
60: die "RT Couldn't write to session directory '$RT::MasonSessionDir': $@.
Check that this dir ectory's permissions are correct.";
61: }
62: }
63:
64: if ( !$cookies{'RT_SID'} ) {
Heres my apache conf...
PerlSetVar MasonCompRoot /opt/rt3/share/html/
PerlSetVar MasonDataDir /opt/rt3/var/session_data/
PerlModule HTML::Mason::ApacheHandler
PerlModule Apache::DBI
PerlRequire /opt/rt3/bin/webmux.pl
<FilesMatch "*.html">
SetHandler perl-script
PerlHandler HTML::Mason::ApacheHandler
</FilesMatch>
Alias /rt3/ /opt/rt3/share/html/
<Location /rt3>
SetHandler perl-script
DirectoryIndex index.html
</Location>
Frederic Lecul
************** IMPORTANT MESSAGE **************
This e-mail message is intended only for the addressee(s) and contains information which may be confidential. If you are not the intended recipient please advise the sender by return email, do not use or disclose the contents, and delete the message and any attachments from your system. Unless specifically indicated, this email does not constitute formal advice or commitment by the sender or the Commonwealth Bank of Australia (ABN 48 123 123 124) or its subsidiaries.
**************************************************
More information about the Rt-devel
mailing list