Toaster 3.37 Error

Started by atoyf, March 16, 2004, 12:47:12 AM

Previous topic - Next topic

atoyf

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" >?
Kind regards, Anton

Rafi

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";
};