Closed (fixed)
Project:
Social Insurance Number (CCK)
Version:
6.x-2.4
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Feb 2009 at 00:56 UTC
Updated:
22 Mar 2009 at 00:30 UTC
When submitting a node w/ a Social Insurance Number field I get the following error
[23-Feb-2009 16:51:51] PHP Fatal error: Call to undefined function valid_us_sin() in /Users/davexoxide/workspace/slicehost/sites/all/modules/contrib/sin/sin.module on line 157
So for testing purposes I moved everything from sin.us.inc into sin.module and got a duplicate function name error. So I comment out both functions in sin.us.inc and this allows the node to submit, but there is no value stored for the Social Insurance Number.
Any ideas? I'm about to just write a custom validation hook for a text field instead.
Comments
Comment #1
samurai_india commentedHi,
Just copy valid_us_sin() function in .module file and everything goes fine..
Comment #2
sankar_jeya commentedhi iam new to drupal how to do this plz guide me
Comment #3
thierry_gd commentedTaken into account in 6.2.5 release