Author Topic: getting this error message  (Read 1420 times)

eric

  • Posts: 1
    • View Profile
getting this error message
« on: April 03, 2005, 09:06:22 pm »
I installed the 1.8 version as a fresh install and when I sign up to my list I get the following error message on the confirmation page

Warning: gethostbyaddr(): Address is not a valid IPv4 or IPv6 address in /home/customwe/public_html/mail/signup.php on line 51
Thanks for signing up, .

I still get the e-mails sent to me but this error is at the top of the confirmatin page.

Thanks

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
getting this error message
« Reply #1 on: April 04, 2005, 10:27:46 am »
Can you tell me whether or not ListMail is correctly detecting the IP address for the user?  It's on the User Database -> Edit page.

To suppress this error message, modify line 51 of signup.php

From
Code: [Select]
if($ipaddr<>'Unknown') $iphost = gethostbyaddr($ipaddr);
To
Code: [Select]
if($ipaddr<>'Unknown') $iphost = @gethostbyaddr($ipaddr);

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting