[phpOpenTracker-User] How to call POT more than once in a single document?
Florian Dittmer <[email protected]>
| Newsgroups | gmane.comp.web.phpopentracker.general |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I would like to call PHPOpenTracker more than once in every of my
documents.
My reasons:
My portal as "Categories" (eg. "Movies","Music","Books"), and each
categories has the same "sections" (eg. "news","links","forum").
I am interested in statistics for
- only the usage of the Categories (so I will only log the Category name
as "document")
- only the usage of the Sections (so I will only log the Section name as
"document")
- the combination of it... (I will log something like
"Categorie/Section" as "document")
I tried to archive this via the client_id feature:
// Statistics for the Sections:
phpOpenTracker::log(array(
'client_id' => 11,
'document'=>($current_section?$current_section:"unknown")));
// Statistics for the Categories:
phpOpenTracker::log(array(
'client_id' => 22,
'document'=>($current_category?$current_category:"unknown")));
[...]
But this does not work :(
The error message is:
Fatal error: Cannot redeclare class phpopentracker_loggingengine_plugin
in
/usb/public_html/FrameBuilder/phpOpenTracker/phpOpenTracker/LoggingEngine/Plugin.php
on line 25
So, is there a workaround? Or some other, maybe better way for me to get
these statistics?
Greetings
Florian
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01