Author |
Message |
01/02/2002 00:49:51
|
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!
|
|
01/02/2002 02:46:07
|
Anonymous
|
got it to work...
|
|
08/02/2002 00:22:53
|
Anonymous
|
How??
|
|
18/02/2002 23:12:30
|
Anonymous
|
Tell us how you make it to work?
|
|
02/07/2002 21:28:45
|
Anonymous
|
guest wrote:
got it to work...
Pleeaase, tell us!!
|
|
18/07/2002 22:00:43
|
Anonymous
|
If I just CHMOD every dir. 777
shouldin't it work?
my script sorta works, but no actual data is getting created.. ;(
HELP!!!
|
|
09/08/2002 16:56:35
|
Anonymous
|
Anyone can find the way to config it?
|
|
09/08/2002 18:04:16
|
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
|
|
21/05/2003 19:51:19
|
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
|
|
26/05/2003 00:34:10
|
Anonymous
|
chmod stat.pl and log.pl to 755 in ur cgi-bin
|
|
18/06/2003 01:35:55
|
xenzap
Beginner
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!
|
|
21/06/2003 06:33:47
|
Anonymous
|
could also try putting.
$base_dir = "../htdocs/logfiles";
|
|
23/06/2003 18:21:07
|
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?
|
|
28/06/2003 16:39:33
|
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..
|
|
|