]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
Updated error messages.
authoreldy <>
Thu, 25 Dec 2003 21:41:01 +0000 (21:41 +0000)
committereldy <>
Thu, 25 Dec 2003 21:41:01 +0000 (21:41 +0000)
wwwroot/cgi-bin/awstats.pl

index d83bb8a5ba4f295dd01f35f7728d31d56e62c2c1..e3041eed096cbcbdd6535e21ff07a8da8728a8aa 100644 (file)
@@ -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";