Warning message after viewing a video

Grantovich - June 24, 2008 - 20:30
Project:OpenPackage Video
Version:5.x-3.10
Component:Code
Category:bug report
Priority:normal
Assigned:jbrown
Status:closed
Description

Any time I play a video, the following message displays on the next page I navigate to:

user warning: Column 'ip_addr' cannot be null query: INSERT INTO op_video_stats SET type = 'view', video_id = 11, uid = 1, sid = '909338dde83e71597792f751421b3460', ip_addr = INET_ATON('::1'), timestamp = 1214338585 in /Library/WebServer/Documents/includes/database.mysql.inc on line 172.

This didn't happen under 3.7, so it may be something introduced in recent versions.

#1

jbrown - June 25, 2008 - 19:24
Assigned to:Anonymous» jbrown
Status:active» fixed

Thanks for spotting this. Your php is being weird.

http://drupal.org/cvs?commit=123525

#2

Grantovich - June 25, 2008 - 20:44

Oh, I see. It's probably because I'm developing the site on my own computer, so I'm accessing it from the same machine it's running on. It goes ahead and uses an IPv6 address which INET_ATON doesn't support.

#3

Anonymous (not verified) - July 10, 2008 - 06:24
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.