Posted on: 02/13/05 07:20pm
By: ltcolumbo
I have a issue with stats plugin, it gives this error when I try to login as as user:
Warning: gethostbyaddr(): Address is not a valid IPv4 or IPv6 address in /home/radangel/plugins/stats/functions.inc on line 341
Warning: Cannot modify header information - headers already sent by (output started at /home/radangel/plugins/stats/functions.inc:341) in /home/radangel/system/lib-sessions.php on line 317
Warning: Cannot modify header information - headers already sent by (output started at /home/radangel/plugins/stats/functions.inc:341) in /home/radangel/htdocs/users.php on line 835
Warning: Cannot modify header information - headers already sent by (output started at /home/radangel/plugins/stats/functions.inc:341) in /home/radangel/htdocs/users.php on line 838
Warning: Cannot modify header information - headers already sent by (output started at /home/radangel/plugins/stats/functions.inc:341) in /home/radangel/htdocs/users.php on line 865
please help..
Stats messed up
Posted on: 02/14/05 01:29am
By: mthomas
Did you do any editing of any files recently?
Warning: Cannot modify header information - headers already sent by
usually means you have white space (extra echo somewhetre or a blank line before the
Warning: gethostbyaddr(): Address is not a valid IPv4 or IPv6 address in /home/radangel/plugins/stats/functions.inc on line 341
Look at this file: /home/radangel/plugins/stats/functions.inc then go to line 341 for all errors the source of the problem is there.
[QUOTE BY= ltcolumbo] I have a issue with stats plugin, it gives this error when I try to login as as user:
Warning: gethostbyaddr(): Address is not a valid IPv4 or IPv6 address in /home/radangel/plugins/stats/functions.inc on line 341
Warning: Cannot modify header information - headers already sent by (output started at /home/radangel/plugins/stats/functions.inc:341) in /home/radangel/system/lib-sessions.php on line 317
[/QUOTE]
Stats messed up
Posted on: 02/14/05 08:36am
By: ltcolumbo
I'll just unpack that file again and see what happens, I was able to log in via VNC to my workstation at work which was still logged in as administrator to my site and disable the stats plugin. Thanks for the idea.
Stats messed up
Posted on: 02/14/05 09:30am
By: mthomas
Also review the setup guide for things like register_globals and make sure it set to on in the php.ini file, you can always [pass a command to set it to on if you isp trys to turn it off.
Also magic quotes and the like should be off.
Stats messed up
Posted on: 02/14/05 03:06pm
By: ltcolumbo
Still messed up, I tried restoring from tape and I get the same thing.. I'll try restoring from an earlier tape and see what happens. Maybe it was another plugin that screwed things up.
Stats messed up
Posted on: 02/14/05 04:17pm
By: tomw
You can get the gethostbyaddress error if you have an invalid address such as file://links.html. You can either delete that line from the database or on the line that calls gethostbyaddress put a @ directly before the call so that it reads @gethostbyaddress(.
The header problem is the old familiar whitespace problem. Look
here[*1]
Stats messed up
Posted on: 02/14/05 07:52pm
By: ltcolumbo
Ok, the @ in front worked.. but all the data for visitors is gone, and hasn't returned.. I can't find what table has all that data in it. All the hosts browser types etc.. is all empty check it out at www.radiationangel.org. Also, my menu plugin will not save changes anymore, add or delete menu items. Oh, just checked Forums, it's having the same issues that Stats did, where it shows the link, but you can't retrieve anything.