Question
I have installed the new register.pm, but when I try to send someone a new password, I get the error message:
Can't locate TWiki/UI/Register.pm in @INC (@INC contains: /Users/wiki/Sites/wiki/lib/CPAN/lib//arch/ /Users/wiki/Sites/wiki/lib/CPAN/lib//5.8.6/darwin-thread-multi-2level/ /Users/wiki/Sites/wiki/lib/CPAN/lib//5.8.6/ /Users/wiki/Sites/wiki/lib/CPAN/lib// /Users/wiki/Sites/wiki/lib . /System/Library/Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 /Library/Perl /Network/Library/Perl/5.8.6/darwin-thread-multi-2level /Network/Library/Perl/5.8.6 /Network/Library/Perl /System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.6 /Library/Perl/5.8.1) at /Users/wiki/Sites/wiki/bin/passwd line 31.
BEGIN failed--compilation aborted at /Users/wiki/Sites/wiki/bin/passwd line 31.
I assume that this is caused by the fact that I have things in a directory named "wiki" instead of "TWiki", or ...?
Unfortunately I am not a Perl expert ;-][
Doaitse Swierstra
Environment
--
DoaitseSwierstra - 14 Jun 2006
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
/Users/wiki/Sites/wiki/lib is in your lib path, you should be fine assuming this path is correct.
Please check the file permissions of
lib/TWiki/UI/Register.pm, it must be readable by the Apache user (
nobody,
wwwrun or the like.)
--
PeterThoeny - 14 Jun 2006
Thanks, this solves the problem.
--
DoaitseSwierstra - 14 Jun 2006