The Network People Support Forums

Mail::Toaster => Installation Issues => Topic started by: atoyf on March 16, 2004, 12:47:12 AM

Title: Toaster 3.37 Error
Post by: atoyf on March 16, 2004, 12:47:12 AM
FAILED: Couldn't move qmailadmin-help-1.0.8 to /usr/local/www/images/qmailadmin/help at /usr/local/lib/perl5/site_perl/5.8.2/Mail/Toaster/Setup.pm line 2624

i think the path should be:
/usr/local/www/data/images/qmailadmin/help

is it me or Matt forgot "data" >?
Title: Workaround
Post by: Rafi on March 17, 2004, 03:58:53 PM
I think that's just an incorrect variable.

I fixed it by going to line 2608 and replacing the "$httpdir" variables with "$docroot", like so:


if ( -d "$httpdir/data/mail" ) {
#       $helpdir = "$httpdir/mail/images/qmailadmin/help";
        $helpdir = "$docroot/mail/images/qmailadmin/help";
} else {
#       $helpdir = "$httpdir/images/qmailadmin/help";
        $helpdir = "$docroot/images/qmailadmin/help";
};