Xarigami

project tracker

Xarigami Sniffer [key: xsniff]

All trackers
Summary
Issue List
Road Map
Changelog

Issue xsniff-000730

Issue summary Details
Project:
Xarigami Sniffer
Key:
xsniff-000730
Type:
Bug
Reporter:
Jo
Priority:
Normal
Severity:
Status:
New
Owner:
Due:
= Development
Milestone:
None

Sniffer modules vs. Safari 4

Reported:  Jun 11, 2009 10:23 AM    Updated: Jan 5, 2011 09:25 AM by

Version affected: = Development

[Transferred from CSSx module] When accessing my site with the new Safari v.4 from Apple, I get a Xarigami mysql error citing the sniffer module. With Sniffer by itself loaded, I don't get the error. When adding either CSSx or ie7 modules which are dependent upon Sniffer, the error occurs. The following isn't the full text of the error; I've omitted the portion where all of my database information is listed out, including my database name and password. I also tried to reproduce the error on the xarigami test site but none of the dependent modules are installed.

sniffer 1.1.1 CSSx 0.1.0 ie7 0.7.2

Here's the text of the error:

Database Query Error

ErrorNo: 1062, Message:Database error while executing: 'INSERT INTO xar_sniffer ( xar_ua_id, xar_ua_osnam, xar_ua_osver,

xar_ua_agnam, xar_ua_agver, xar_ua_agent,

xar_ua_cap, xar_ua_quirk ) VALUES (0, 'Unknown', 'Unknown', 'Safari', '530.17', 'mozilla/5.0 (macintosh; u; intel mac os x 10_5_7; en-us) applewebkit/530.17 (khtml, like gecko) version/4.0 safari/530.17', '', '')'; error description is: 'Duplicate entry '0' for key 1'.

Explanation:

A database query could not be executed, either because the query could not be understood or because it returned unexpected results.

Stack:

at xarException__dbErrorHandler(xarException.php:469)

Array ( [0] => mysql [1] => EXECUTE [2] => 1062 [3] => Duplicate entry '0' for key 1 [4] => INSERT INTO xar_sniffer ( xar_ua_id, xar_ua_osnam, xar_ua_osver,

xar_ua_agnam, xar_ua_agver, xar_ua_agent,

xar_ua_cap, xar_ua_quirk ) VALUES (0, 'Unknown', 'Unknown', 'Safari', '530.17', 'mozilla/5.0 (macintosh; u; intel mac os x 10_5_7; en-us) applewebkit/530.17 (khtml, like gecko) version/4.0 safari/530.17', '', '') [5] => [6] => ADODB_xarmysql Object ( [hasGenID] =>

Actions

Re: Sniffer modules vs. Safari 4

Posted by: Jo on January 05, 2011 09:25 AM
Comments logged on this in the CSSx module at http://xarigami.com/contrails/display/cssx/398

#