[phpOpenTracker-general] Problem with setting up phpOpenTracker
Alvin Chin <[email protected]> Fri, 22 Jul 2005 14:28:14 -0400
| Newsgroups | gmane.comp.web.phpopentracker.general |
|---|---|
| Organization | University of Toronto |
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--------------070105050203060603090308
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Hi, I've already did the configuration for phpOpenTracker, and added the
following code to track an html page:
<?php
// prepend phpOpenTracker
include 'E:\phpOpenTracker-1.5.1\phpOpenTracker.php';
// log access
phpOpenTracker::log(
array(
'client_id' => 1
)
);
?>
However, when I access the html page, I get the following warnings:
*Warning*: session_register() [function.session-register
<http://localhost:8080/blog/function.session-register>]: Cannot send
session cookie - headers already sent by (output started at E:\Program
Files\Apache Group\Apache2\htdocs\blog\index.html:11) in
*E:\phpOpenTracker-1.5.1\phpOpenTracker\Container.php* on line *67*
*Warning*: session_register() [function.session-register
<http://localhost:8080/blog/function.session-register>]: Cannot send
session cache limiter - headers already sent (output started at
E:\Program Files\Apache Group\Apache2\htdocs\blog\index.html:11) in
*E:\phpOpenTracker-1.5.1\phpOpenTracker\Container.php* on line *67
*Does this mean that the html page was tracked in phpOpenTracker
successfully?
Is there a sample example that shows me how I can show the statistics of
the logging?
Thanks,
Alvin
--------------070105050203060603090308
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi, I've already did the configuration for phpOpenTracker, and added
the following code to track an html page:<br>
<br>
<?php<br>
<br>
// prepend phpOpenTracker<br>
<br>
include 'E:\phpOpenTracker-1.5.1\phpOpenTracker.php';<br>
<br>
<br>
<br>
// log access<br>
<br>
phpOpenTracker::log(<br>
<br>
array(<br>
<br>
'client_id' => 1<br>
<br>
)<br>
<br>
);<br>
<br>
?><br>
<br>
However, when I access the html page, I get the following warnings:<br>
<br>
<b>Warning</b>: session_register() [<a
href="http://localhost:8080/blog/function.session-register">function.session-register</a>]:
Cannot send session cookie - headers already sent by (output started at
E:\Program Files\Apache Group\Apache2\htdocs\blog\index.html:11) in <b>E:\phpOpenTracker-1.5.1\phpOpenTracker\Container.php</b>
on line <b>67</b><br>
<br>
<b>Warning</b>: session_register() [<a
href="http://localhost:8080/blog/function.session-register">function.session-register</a>]:
Cannot send session cache limiter - headers already sent (output
started at E:\Program Files\Apache
Group\Apache2\htdocs\blog\index.html:11) in <b>E:\phpOpenTracker-1.5.1\phpOpenTracker\Container.php</b>
on line <b>67<br>
<br>
</b>Does this mean that the html page was tracked in phpOpenTracker
successfully?<br>
Is there a sample example that shows me how I can show the statistics
of the logging?<br>
<br>
Thanks,<br>
<br>
Alvin<br>
</body>
</html>
--------------070105050203060603090308--