Modified (to work with Ubercart 2.x) file from the uploaded by sphism for Ubercart 1.x.
Necessary to have the full set of the European Union countries.
Re: Slovenia CIF
I just tried installing this .cif and got the following error:
slovenia_install() looks fine though. Any idea why I'd get that error?
UTF-8 not the issue
Tried to convert to UTF-8 just in case, but still getting same error.
Re: UTF-8 not the issue
Hmm... what if you remove the _0 from the filename?
Re: Re: UTF-8 not the issue
Nice. Thanks, Ryan. That did it.
I did get this error, but Slovenia shows up now.
For some reason it looks like the upload module renames the some files (may be files that already exist) appending a number, strting with "0".
I'm going to guess you were running this on an Ubercart 1.x (Drupal 5.x) installation. This CIF is relying on the zone_id field being auto_increment ... which is fine for Drupal 6.x (Ubercart 2) but wasn't the case in 5.x (Ubercart 1).
Looks like this CIF got folded into sphism's original contrib page over here: http://www.ubercart.org/contrib/7504 - anyone who's still on 5.x-1.x can find a suitable file there.