Download & Extend

Warning message after viewing a video

Project:OpenPackage Video
Version:5.x-3.10
Component:Code
Category:bug report
Priority:normal
Assigned:jbrown
Status:closed (fixed)

Issue Summary

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.

Comments

#1

Assigned to:Anonymous» jbrown
Status:active» fixed

Thanks for spotting this. Your php is being weird.

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

#2

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

Status:fixed» closed (fixed)

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

nobody click here