Thread tagged as: Error, Comments

commentIP error

I use a Windows to build my websites. The comments app expects an IP address to enter into the database field commentIP i.e. $data['commentIP'] = ip2long($_SERVER['REMOTE_ADDR']); This is passed in as blank on Windows as it is the localhost and therefore has no IP address. Not a big problem but means no comments get posted. Might be worth adding you your list of minor bugs.

Martin Elliff

Martin Elliff 0 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

The lack of IP address shouldn't cause the comment not to be posted, as far as I'm aware. What are you seeing?