All Good Things Must Come To An End

As you all know, I have been doing WordPress plugins and supporting it for the past 6 years. These 6 years of my life, I have been through my polytechnic education, my national service as well as my university education.

I just graduated from university in December 2009 and have been looking for full-time jobs. I am offered a full-time job and will be starting work on 1st February 2010.

I regret to say that I am NOT ABLE to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

However, I WILL still update my plugins whenever I can and you still can report bugs to me via email and I will try to fix it.

Author Topic: IP logging Error/Bug  (Read 3534 times)

0 Members and 1 Guest are viewing this topic.

Offline JonB

  • Newbie
  • *
  • Posts: 7
    • View Profile
IP logging Error/Bug
« on: 12 April 2007, 11:22 »
When you are going to ask a question, it would help if you can provide us the following information:

    * WordPress Version - 2.1.2
    * Default with altered header
    * www.driversvoice.co.uk
    * wp-Postratings 1.10

If the code cannot determine the IP address then it bung's out this error:

Code: [Select]
Warning: gethostbyaddr() [function.gethostbyaddr]: Address is not a valid IPv4 or IPv6 address in /home/driversv/public_html/blog/wp-content/plugins/postratings/postratings.php on line 674




If it can determine the IP though, no error!

Just thought I would let you know!

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,691
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: IP logging Error/Bug
« Reply #1 on: 12 April 2007, 14:02 »
yeap it is fixed in the next version.

To fixed it, replace:
Code: [Select]
gethostbyaddr With:
Code: [Select]
@gethostbyaddr

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline JonB

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: IP logging Error/Bug
« Reply #2 on: 12 April 2007, 14:49 »
Thanks.

I get a similar error with the polls. Will the same thing fix this?

Offline Ttech

  • Official Support
  • Global Moderator
  • *****
  • Posts: 4,296
    • View Profile
Re: IP logging Error/Bug
« Reply #3 on: 12 April 2007, 23:02 »
Yes it should :)
Learning and Helping one day at a time.




DevNode.org Operator - The IRC network for Programers

Offline JonB

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: IP logging Error/Bug
« Reply #4 on: 13 April 2007, 09:24 »
Thanks, worked a treat on both fronts! Keep up the good work!  ;D

Offline Ttech

  • Official Support
  • Global Moderator
  • *****
  • Posts: 4,296
    • View Profile
Re: IP logging Error/Bug
« Reply #5 on: 13 April 2007, 22:54 »
Glad it works... :)
Learning and Helping one day at a time.




DevNode.org Operator - The IRC network for Programers