Author |
Message |
21/04/2002 20:55:59
|
Anonymous
|
Hi,
I have installed the access stats script.
It works fine.
But on the side "domain.com/cgi-bin/stat.pl"
I see only the link to the logfiles:
04-2002.txt
In the sample on this side here I see a many graphics
with the gifs in the folder "GIF" after the .txt links
listing, for browser, referer, visits by day, and so on.
I have only the .txt links and after click on them
I get only a text listing like this:
Sun 21-April-2002 21:46 - pd0858AA9.dip.t-dialin.net - "Mozilla/4.0
(compatible; MSIE 6.0; Windows NT 5.0)" - "-"
thats all.
How can I get the full graphik stats like the example on this side?
Thanks
|
|
22/04/2002 00:25:40
|
Anonymous
|
Just click the evaluate button to the right when at stat.pl.
|
|
22/04/2002 05:39:53
|
Anonymous
|
Thank you,
I donĀ“t believe it, only a click ...
Another Problem:
I include in the html page:
<script language="JavaScript">
<!--
document.write("<img src=\"http://www.host.com/cgi-bin/log.pl?ref="+top.document.referrer+"\" width=16 height=16 border=0>");
//-->
</script>
<noscript>
<img src="http://www.host.com/cgi-bin/log.pl?ref=noscript" width=16 height=16 border=0>
</noscript>
and get the error:
Parse error: parse error, expecting `','' or `';'' in ........../index.php(285) : eval()'d code on line 106
I think that is the problem:
I have a index.php where as a template the HTML-page is included.
And in this HTML-page is the javascript-code.
What can I do ?
Hein
|
|
25/04/2002 22:20:00
|
Anonymous
|
No idea to get the javascript shown above
into a .php page instead of .html page?
|
|
22/06/2002 18:19:21
|
Anonymous
|
first, sory for my poor english...
the proble is that PHP script cant read " , u should chenge it to this...
just chenge it to this '
|
|
29/06/2002 00:59:34
|
Anonymous
|
I tried several scripts, the only way without errors
and let the script work is the following, but I get
no referrer and only sometimes some 500 errors:
[/code]
|
|
29/06/2002 08:50:01
|
Anonymous
|
@gil
with your version I get an Javascript error.
With my version I get sometimes 500 errors
(every day about 20 of 300 logs)
where is the problem?
I have also the script on other sites within a html file
and there it works very fine.
But included within a php file, I have no referrer and
get sometimes 500 errors.
Can anybody fix this problem?
|
|
|