Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 02:48 pm EDT

Geeklog Forums

Stats messed up


Status: offline

ltcolumbo

Forum User
Regular Poster
Registered: 12/17/01
Posts: 91
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..
 Quote

Status: offline

mthomas

Forum User
Full Member
Registered: 04/18/04
Posts: 148
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

Status: offline

ltcolumbo

Forum User
Regular Poster
Registered: 12/17/01
Posts: 91
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.
 Quote

Status: offline

mthomas

Forum User
Full Member
Registered: 04/18/04
Posts: 148
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.
 Quote

Status: offline

ltcolumbo

Forum User
Regular Poster
Registered: 12/17/01
Posts: 91
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.
 Quote

Status: offline

tomw

Forum User
Full Member
Registered: 08/12/02
Posts: 300
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. Read the FAQ Look here
 Quote

Status: offline

ltcolumbo

Forum User
Regular Poster
Registered: 12/17/01
Posts: 91
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.
 Quote

All times are EDT. The time is now 02:48 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content