Hi all, Thanks for the information, Joe. I made the changes you suggested and things still weren't working for me. With a little further investigation, I've discovered another problem -- Bluehost does not allow me to make alterations to apache to make the linkages to koha's conf file. Is there a way to use .htaccess to circumvent this? I'm beginning to think I should stick to running koha off a server in the backroom... Cheers, Dwayne Joe Atzberger wrote:
I don't think you want to use their code. The version they gave you is an inefficient form that applies to all their users.
All you want to do is add /home/prcsaca/perl to the "SetEnv PERL5LIB..." lines in your .conf file.
So you might have something like: SetEnv PERL5LIB "/home/prcsaca/perl:/home/prcsaca/kohaclone"
--joe
On Tue, Aug 12, 2008 at 12:48 PM, Dwayne Collins <dcollins@prcsa.ca <mailto:dcollins@prcsa.ca>> wrote:
You will need to add |/home/prcsaca/perl| to the include path. You can do this by adding the following code to your script: ||
BEGIN { my $homedir = ( getpwuid($>) )[7]; my @user_include; foreach my $path (@INC) { if ( -d $homedir . '/perl' . $path ) { push @user_include, $homedir . '/perl' . $path; } } unshift @INC, @user_include; }