apman Posted October 5, 2011 Posted October 5, 2011 Hello, ive tried to install http://addons.oscommerce.com/info/2748 on my shop but when i enter my number it says ENRTY_PERSONNUMMER_ERROR and looks like this http://i.imgur.com/f1ciA.png, i dont know which file i need to post so you can see whats wrong. /Rickard
germ Posted October 5, 2011 Posted October 5, 2011 Follow the directions ---------------------------- I have kept some of the install inctructions in swedish: För att få svenska personnummer att fungera smärtfritt behövs följande ändringar göras: Det två första ändringaran är bara för att få "infotexter" i stället för "label"-texter. I "catalog\includes\langues\[languages].php" lägg till före avslutande "?>" följande define('ENTRY_PERSONNUMMER', 'Personnr:'); define('ENTRY_PERSONNUMMER_TEXT', '* (yyyymmdd-XXXX)'); define('ENTRY_PERSONNUMMER_ERROR', 'Your \'personnr\' must contain a minimum of ' . ENTRY_PERSONNUMMER_MIN_LENGTH . ' figures'); för catalog\includes\langues\svenska.php blir det: define('ENTRY_PERSONNUMMER', 'Personnr:'); define('ENTRY_PERSONNUMMER_TEXT', '* (ååååmmdd-XXXX)'); define('ENTRY_PERSONNUMMER_ERROR', '\'personnr\' skall ha minst ' . ENTRY_PERSONNUMMER_MIN_LENGTH . ' siffror.'); //------------------------------------------- You missed the last line If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
apman Posted October 6, 2011 Author Posted October 6, 2011 Lovely, some progress at least:) Now when i register an account i get an error message that says that i need at least 13 figures in my ssn. ssn's in Sweden are 12 figures and i'd guess the last 13th figure is /0 because of MySQL right? it works out if i set the minimum figures required to 0 but if i set it too 1 it doesn't work:(
germ Posted October 6, 2011 Posted October 6, 2011 The SQL included in the latest download sets the length at 13. Looks as if that's incorrect. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
apman Posted October 12, 2011 Author Posted October 12, 2011 now it kinda works. i register as usual... but the number im entering doesnt show on the admin page. but i can enter a number in the admin panel and it stays.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.