Better statistics?

Post custom hacks and enhancements for phpwcms here only. Maybe some of these things will be included in official release later.
ssyfrig
Posts: 364
Joined: Tue 2. Mar 2004, 17:01
Location: Zürich / Switzerland
Contact:

Post by ssyfrig »

hey ... just cool.

Thanks, Sven
rushclub
Posts: 915
Joined: Tue 17. Feb 2004, 18:52

Post by rushclub »

get the following message:

ERRORE: Non riesco a connttermi a MySQL! Controllare config.php

what am i doing wrong?

rush
3 (!) Jahre warten reichen mir. Ich bin erst mal weg.
User avatar
sustia
Posts: 651
Joined: Fri 2. Apr 2004, 22:29
Location: Lecce (Italy)
Contact:

Post by sustia »

rushclub wrote:get the following message:

ERRORE: Non riesco a connttermi a MySQL! Controllare config.php

what am i doing wrong?

rush
Something is wrong, because the script is unable to connect to MySQL, so says you that must control the parameters of config.php.
Campeones del mundo!
Vegetables!
rushclub
Posts: 915
Joined: Tue 17. Feb 2004, 18:52

Post by rushclub »

but the system has created the db-tables. so everything should be alright. or am i wrong?

rush
3 (!) Jahre warten reichen mir. Ich bin erst mal weg.
User avatar
sustia
Posts: 651
Joined: Fri 2. Apr 2004, 22:29
Location: Lecce (Italy)
Contact:

Post by sustia »

rushclub wrote:but the system has created the db-tables. so everything should be alright. or am i wrong?

rush
Yes, should be all alright.
Maybe something concerning the host or the $option['prefix']?

Code: Select all

/////////////////
$option['host']="";
$option['database']="";
$option['user_db']="";                        
$option['pass_db']="";
$option['script_url']=""; 

////////////////////////
// VARIABILI AVANZATE //
////////////////////////
$option['prefix']='php_stats
I think is better to manually control this parameters.
Campeones del mundo!
Vegetables!
Pauli
Posts: 92
Joined: Mon 30. Aug 2004, 11:53

Post by Pauli »

Just found this one: Trace Watch
http://www.tracewatch.com/

very very nice design and nice features, esp. the 'path analysis' I like.

Example page http://www.dejkam.com/twatch/
igs
Posts: 9
Joined: Sat 9. Sep 2006, 22:41

Post by igs »

To collect stats I need to include

Code: Select all

<?include "/var/www/html/cnstats/cnt.php";?>
where would be the best place to put it and in what format..?

I have tried adding it to templates - failed. Tried to add as {PHP
:/cnstats/cnt.php} - did not work either...

any ideas?
Post Reply