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 1.12 Problem  XML
Forum Index » Support Forum
Author Message
Anonymous



Hello all together!

This script doesn't work, but I don't know why.

My files are in

/logstat/gif
/logstat/logfiles
/logstat/log.gif
...

log.pl, stat.pl and ip.log are in

/cgi-bin/logstat/

My log.pl:



Ma stat.pl:



There are no error messages, but it doesn't log anything.

The code in my html-file:



May I delete these lines:



So, it's not HTML 4.01 transistonal.


Where is my mistake? I want use relavive paths, if it's possible.
ET
Graduate

Joined: 21/02/2003 22:17:48
Messages: 179
Offline

Okay, first thing I see wrong is that the base_dir in both Log.pl and Stat.pl are not the same. Both of them need to be the full path.
/srv/www/htdocs/web82/html/logstat/logfiles

The other thing may be that you are trying to use relative paths - some times that works, some times it doesn't. At lot depends on how the cgi-bin has been set up on the server or by the webhost.

On the last javascript portion, you may take out the noscript portion, however it will not count people who do not have their javascript turned on when they arrive at your pages. The noscript portion forces, at the very least, a visit to be counted in the log as a "noscript" on your print out.

These are the things that stood out - not guaranteeing it will solve the problems.

Hoping that helps
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Make sure you use the complete url in the url variables. and notand so forth for the rest of the url stuff.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Anonymous



Great! Thank you very much, it works @ET!

@Carbonize: Thank you for your answer, too, but it works now (with relative paths).
Anonymous



One more thing. This script sais that I'm using the Internet Explorer, but I'm using firefox.
Anonymous



Sorry, as I watched the statistics, another user was on my page an this user has git the IE.

Thank you.
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

I wouldn't read to much into the browsers it says visitors use. Opera identifies it's self as Internet Explorer by default and it is easy to alter the user agent sent by Mozilla based web browsers/

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Matze
Newbie

Joined: 20/01/2005 23:14:01
Messages: 4
Offline

Does this mean, it's impossible to get the real browser names?
ET
Graduate

Joined: 21/02/2003 22:17:48
Messages: 179
Offline

Not impossible - just takes work to write the script. See my other response to your other thread you started.

http://proxy2.de/forum/viewtopic.php?t=4131
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Impossible, no. But unless you are going to start checking for DOM models using javascript then no you cannot.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum