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 
Problems with Access Stats 1.12  XML
Forum Index » Support Forum
Author Message
Anonymous



I have tried to implement this script but I cannot seem to get it to work. I have followed the directions but nothing shows up when i go to view my statistics. Here is my directory structure:
- cgi_bin (chmod 755)
- www (chmod 777)
- files (chmod 755)
- images (chmod 755)
- stats (chmod 777)
- gif (chmod 755)
- logfiles (chmod 777)

Both the stat.pl and log.pl are located in the cgi-bin folder and are chmod 755. Additionally, I have made the following changes to the two files:
stat.pl:
# url to script
$cgiurl = "http://www.(my domain).com/cgi-bin/stat.pl";

# url to the image files without trailing "/"
$gif_url = "http://www.(my domain).com/stats/gif";

# path to the log files from the server root without trailing "/" (chmoded to 777 (drwxrwxrwx))
$base_dir = "/www/stats/logfiles";

# url to the log files without trailing "/"
$log_url = "http://www.(my domain).com/stats/logfiles";


log.pl:
# url to the image file
$output = "http://www.(my domain).com/stats/log.gif";

# path to the log files from the server root without trailing "/" (chmoded to 777 (drwxrwxrwx))
$base_dir = "/www/stats/logfiles";

So...am I missing something? A log is not being created in the logfiles dir. and no stats are showing up. Help! =)
Thanks!
Anonymous



got it to work...
Anonymous



How??
Anonymous



Tell us how you make it to work?
Anonymous



guest wrote:
got it to work...


Pleeaase, tell us!!
Anonymous



If I just CHMOD every dir. 777

shouldin't it work?


my script sorta works, but no actual data is getting created.. ;(


HELP!!!
Anonymous



Anyone can find the way to config it?
Hellfirez
Newbie

Joined: 22/06/2002 19:25:08
Messages: 3
Offline

I don't know if guest do it or not but:
Maybe he forget to fo Step 1:
1.Open stat.pl and log.pl with a text editor.
Change the url in line one, to the Perl program at your server.
Usually it is: - /usr/bin/perl or /usr/local/bin/perl for Unix.
- C:/Perl/Perl.exe for Windows (use slash "/")
Set the correct paths and required urls.

I had the same Problem..I have nearly the same settings but i didn't work. But than I change /usr/local/bin/perl to /usr/bin/perl and all work fine now.

Greetings,
Steffen
Anonymous



I had the exact same problems, and found out that i was putting in the wrong base path. I was entering ./logfiles when what i was really needing was the full path eg. home/mydomain/public_html/stat/logfiles
i would certainly recommend finding this out off your host
Problems solved
Anonymous



chmod stat.pl and log.pl to 755 in ur cgi-bin
xenzap
Beginner
[Avatar]

Joined: 18/06/2003 01:28:42
Messages: 10
Offline

I had the same problem a lot of you had, everything was installed in its proper location and had the correct permissions, yet it still wasn't working.

The solution for me...

I use linux/apache, btw.

You must eliminate any line breaks in the javascript between the markers below.

<!--
document.write("img...... <<<this line
//-->

Hope that helps some of you with that problem!
Anonymous



could also try putting.

$base_dir = "../htdocs/logfiles";
Anonymous



I got it working except that it does not track all the visits to my site, it only tracked 6 visits when my other counter clocked over 100?

Why could this be?
Anonymous



what i can put for windows server . for $base_dir = "

do i have to put on $base_dir = "c:/dir/to/logfiles? or just $base_dir = "/dir/to/my/logfile .. ? please HELP.. cant make it work..
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum