PHPee.com PHP development forum
Cannon Modify Header Problem

 
Post new topic   Reply to topic    phpee.com Forum Index -> PPhlogger Support
View previous topic :: View next topic  
Author Message
intokkabire



Joined: 08 Jul 2004
Posts: 2

PostPosted: Thu Jul 08, 2004 4:43 pm    Post subject: Cannon Modify Header Problem Reply with quote
Hey everyone,
New to useing pphlogger but ive managed to get it setup and working on all but one of my pages. This page is dependant on dynamic info from a sql database. http://www.themenu-ne.com/restaurant.php?id=28 for instance. When i use the jscript only method i dont get any logs of the page being visited. And when i use the php+jscript method i get this error...
Quote:
Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/themenu-ne.com/httpdocs/restaurant.php:11) in /home/httpd/vhosts/themenu-ne.com/httpdocs/pphlogger/include/get_userdata.php on line 33

The error can be seen at this URL http://www.themenu-ne.com/restaurant2.php?id=28

I have no idea why this would be occuring. Any help with this? Getting it to work with either method would be wonderful. Thanks.
Back to top
View user's profile Send private message
intokkabire



Joined: 08 Jul 2004
Posts: 2

PostPosted: Thu Jul 08, 2004 5:20 pm    Post subject: Reply with quote
Figured out my issues with the "jscript only" method. Id still be interested in knowing why the other method isnt working. Will the "jscript only" still provide me with all the information?
Back to top
View user's profile Send private message
sdjl
Moderator


Joined: 17 Nov 2003
Posts: 745
Location: London, UK

PostPosted: Thu Jul 08, 2004 5:56 pm    Post subject: Reply with quote
The $id variable is already in use by the pphlogger script, just so you know...

That error means that something is trying to set a cookie after HTML output has started. This could be because you haven't put the PHP/JS code at the very top of the page before any other output starts.

David
_________________
-----
Free Logger Accounts | PPHlogger Manual | PM Me
Back to top
View user's profile Send private message Visit poster's website
Post new topic   Reply to topic    phpee.com Forum Index -> PPhlogger Support All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.8
Theme design based on Team 101 Designs, modified by Philip Iezzi