From: eldy <> Date: Thu, 25 Dec 2003 21:41:01 +0000 (+0000) Subject: Updated error messages. X-Git-Tag: AWSTATS_6_0_RELEASE~54 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5847897e129da48173e4c0f06d6fb05f950fec9e;p=thirdparty%2FAWStats.git Updated error messages. --- diff --git a/wwwroot/cgi-bin/awstats.pl b/wwwroot/cgi-bin/awstats.pl index d83bb8a5..e3041eed 100644 --- a/wwwroot/cgi-bin/awstats.pl +++ b/wwwroot/cgi-bin/awstats.pl @@ -769,16 +769,17 @@ sub error { my $dir=$DIR; if ($dir =~ /^\./) { $dir.='/../..'; } else { $dir =~ s/[\\\/]?wwwroot[\/\\]cgi-bin[\\\/]?//; } + print "${tagbr}\n"; if ($ENV{'GATEWAY_INTERFACE'}) { - print "- ${tagbr}${tagbold}Did you use the correct URL ?${tagunbold}${tagbr}\n"; + print "- ${tagbold}Did you use the correct URL ?${tagunbold}${tagbr}\n"; print "Example: http://localhost/awstats/awstats.pl?config=mysite${tagbr}\n"; print "Example: http://127.0.0.1/cgi-bin/awstats.pl?config=mysite${tagbr}\n"; } else { - print "- ${tagbr}${tagbold}Did you use correct config parameter ?${tagunbold}${tagbr}\n"; + print "- ${tagbold}Did you use correct config parameter ?${tagunbold}${tagbr}\n"; print "Example: If your config file is awstats.mysite.conf, you must use -config=mysite\n"; } - print "- ${tagbr}${tagbold}Did you create your config file 'awstats.$SiteConfig.conf' ?${tagunbold}${tagbr}\n"; - print "If not, you can run \"$dir/tools/configure.pl${tagbr}${tagbr}\"\n"; + print "- ${tagbold}Did you create your config file 'awstats.$SiteConfig.conf' ?${tagunbold}${tagbr}\n"; + print "If not, you can run \"$dir/tools/configure.pl\"${tagbr}${tagbr}\n"; } else { print "${tagbr}${tagbold}Setup (".($FileConfig?"'".$FileConfig."'":"Config")." file, web server or permissions) may be wrong.${tagunbold}${tagbr}\n"; } print "See AWStats documentation in 'docs' directory for informations on how to setup $PROG.\n";