Page 1 of 3

top exits and top referrers

Posted: Wed Feb 23, 2005 8:10 pm
by joho
What would be a reason these two plug-ins would stop collecting data? This is using 0.7.1. I copied one set of tables to the same database, but with a different prefix; and then configured another installation of S9Y to use those tables. But having done that, I get no new entries written to these two tables (in the new installation).. regardless of how I try to force the issue. There are no error messages in any logs.. I can't quite figure out what's going on.

Re: top exits and top referrers

Posted: Thu Feb 24, 2005 12:17 pm
by garvinhicking
Both tables need their _suppress counterpart to work properly. Did you copy the table structure completely with the right key infrastructure?

Regards,
Garvin

Posted: Thu Feb 24, 2005 3:10 pm
by joho
I copied everything that I could find. I also "removed" the plug-ins from the new installation and added them back again, assuming I might have missed something I figured I'd let S9Y do it right.

Posted: Sat Feb 26, 2005 11:57 pm
by garvinhicking
Maybe by copying it some indices or so were copied wrong, or with different/wrong charsets of your MySQL server...

Removing and re-adding the plugins doesn't re-add their tables because those are Core s9y-Tables. Maybe you can make a fresh DB install somehow?

Otherwise I'll try to investigate the issue next week!

Regards,
Garvin

Posted: Tue Mar 08, 2005 11:30 pm
by joho
I'm now using 0.8-beta2 on that site, and the problem remains.

I have checked every database table against what 0.8 wants/needs, and everything is there; including indices.

You say that both these plugins need their "_suppress"-counterparts.. I'm not sure what that means. :?: I only have one *_suppress table in the S9Y database, this is true both for the one that _does_ work and the one that _doesn't_ work.

Posted: Wed Mar 09, 2005 11:13 am
by garvinhicking
I'm honestly sorry and much clueless about this functionality. I never quite got the referer/exit handling routines figured out on my own. :(

The only clue I've left: Have you checked if maybe the _suppress or exits/referrer table is corrupted on the installation where it doesn't work? Maybe you can try a CHECK TABLES?

Regards,
Garvin

Posted: Thu Mar 10, 2005 9:11 am
by joho
The tables are empty (well, the _suppress table is not empty, but the other two are); so I'm not sure what to check ;)

I've removed these plug-ins for now, but a better solution would be to get them working.

Posted: Tue Mar 15, 2005 5:41 pm
by SILU
I have another question concerning referrers/exits: i want to modify the displayed title of this plugins - but there are no such files in the plugin-directory - where to find them ? Thx.

SILU

Posted: Tue Mar 15, 2005 6:16 pm
by garvinhicking
The internal plugins are inside include/plugins_internal.inc.php

Regards,
Garvin

Posted: Tue Mar 15, 2005 7:00 pm
by SILU
I want to modify the titles in this way: .:. ichbinegoist .:. - but i always get sql-errors....how can i to that without errors ?

Posted: Wed Mar 16, 2005 9:35 am
by garvinhicking
Hi Silu

If you show me how you modified the plugin, I can tell you what you did wrong :)

Regards,
Garvin

Posted: Thu Mar 17, 2005 7:46 pm
by SILU
I just searched in the file for "exits" and changed it like that:

$propbag->add('name', TOP_EXITS); >>before change
$propbag->add('name', .:. TOP EXITS .:.); >> after change

I also tried some other variations, but i always got SQL-Errors.

Posted: Thu Mar 17, 2005 8:06 pm
by garvinhicking
SILU, you should take a look at PHP Syntax first. :-)

The errors you were getting are not related to SQL but to PHP. Parse Errors always come from PHP. :-)

You'd need to change it to this:

Code: Select all

 $propbag->add('name', '.:. ' . TOP EXITS . ' .:.');
Regards,
Garvin

Posted: Thu Mar 17, 2005 8:18 pm
by SILU
Ok, thx i solved it...but between TOP and EXITS you have to write an "_" then i got no error...but the signs ".:." are not displayed....i entered in the file this code:
$propbag->add('name', '.:. ' . TOP_EXITS . ' .:.');
How to modify that the ".:." will be displayed ?Thx

Posted: Thu Mar 17, 2005 8:39 pm
by garvinhicking
Oh, you're right. I just copy+pasted your code! :-)

Regards,
Garvin