Bugs item #708884, was opened at 2003-03-24 17:21
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=101716&aid=708884&group_id=1716
Category: Analysis Module
Group: None
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: missing document constraint in Page_impressions module
Initial Comment:
Version : phpOpenTracker-1.1.3
I want to get the total number of page_requests on
particular pages for a hit counter, but when I use API
call...
phpOpenTracker::get(
array(
'client_id' => 2,
'api_call' =>
'page_impressions',
'range' => 'total',
'constraints' => array(
'document' =>
$_SERVER['HTTP_REFERER']
)
)
);
I get page_impression for *all* docs with this client
ID. I think I have found the problem. In
phpOpenTracker_API_Plugin::_constraint() there is no
case statement for the document constraint eg...
case 'document':
$constraint .= sprintf(" AND accesslog.document_id =
'%d'", $value);
break;
RichardWall <richard (AT) the-moon (DOT) net>
----------------------------------------------------------------------
Comment By: Sebastian Bergmann (bergmann)
Date: 2003-03-24 19:23
Message:
Logged In: YES
user_id=7993
This bug has been fixed in CVS.
In case this was a phpOpenTracker problem, have a look at
http://sourceforge.net/cvs/?group_id=1716 for information on how to
access phpOpenTracker's CVS repository.
In case this was a documentation problem, the change will show up
soon
at http://www.phpopentracker.de/?page=manual.
Thank you for the report, and for helping us make phpOpenTracker
better.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=101716&aid=708884&group_id=1716
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
|