If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Access Stats - Problem with Log Files  XML
Forum Index » Support Forum
Author Message
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?
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
[WWW] [ICQ]
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
[WWW] [ICQ]
Anonymous





i give up ... i am going to try another stats script..
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
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum