Author |
Message |
04/11/2002 02:04:47
|
Anonymous
|
When I go to the stat.pl page, it doesn't display anything underneath logfiles. I've created a directory "logfiles" which is accessed through "http://www.mywebsite.com/logfiles/" and chmodded it to 777.
I think it's the problem with the $base_dir. Im using a hosting provider on which I upload to an ftp.
What should my $base_dir be?
I've tried all different sorts of variations, and I still can't get the logfiles to display.
And if that's not the problem, what's wrong?
|
|
04/11/2002 09:04:23
|
Hawkslayer
Beginner
Joined: 26/10/2002 16:00:35
Messages: 42
Location: Georgia USA
Offline
|
You need to log onto your account with the hosting provider and check to see what your base directory is. Most of them show it somewhere in your website details. If they don't list it, email them and ask what it is..
|
Hawkslayer
http://www.fuchsialand.co.uk |
|
05/11/2002 10:51:03
|
Hawkslayer
Beginner
Joined: 26/10/2002 16:00:35
Messages: 42
Location: Georgia USA
Offline
|
If anyone else is having problems finding the full path to their base directory, they could run this script which will report it.
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "Document Root is: ";
print $ENV{'DOCUMENT_ROOT'};
You may have to edit the first line to reflect the location of perl on your site. Save it as basedir.cgi or whatever.. Upload it and run it.
|
Hawkslayer
http://www.fuchsialand.co.uk |
|
02/02/2003 18:16:12
|
Anonymous
|
i give up ... i am going to try another stats script..
|
|
12/02/2003 17:57:46
|
Anonymous
|
I have the same problem... I followed everything but the only logfiles that the stat.pl is reading in the default log file that was 2_2001.txt. I tried creating a log file text but still not reading any log files from my site. what do you think is the problem
|
|
|