From jsage at finchhaven.com Sat Mar 1 10:25:37 2008 From: jsage at finchhaven.com (John Sage) Date: Sat, 01 Mar 2008 07:25:37 -0800 Subject: [geeklog-users] Batch user import error "..is not a valid email address, account not created" Message-ID: <47C97571.3070801@finchhaven.com> I have a flat text file (created with emacs running on Linux), tab-delimited, in the form: real name [tab] geeklog_user_name [tab] valid_user at valid.email.address The directory /geeklog_site/data/ is world-writable. When I import the text file some user names are accepted: "Account for A_User created successfully." but most others are not: "B_User is not a valid email address, account not created" "Done processing. Imported 6 and encountered 32 failures" There is no obvious pattern to the rejected email addresses (all Yahoo.com, etc..) There is no file in /geeklog_site/data/ There seems to be no mention of this found from a quick FAQ (or anywhere else..) search at geeklog.net. Any ideas? -- John Sage FinchHaven Digital Photography Box 2541, Vashon, WA 98070 Email: jsage at finchhaven.com Web: http://www.finchhaven.com/ Cell: 206.595.3604 From dirk at haun-online.de Sun Mar 9 12:38:59 2008 From: dirk at haun-online.de (Dirk Haun) Date: Sun, 9 Mar 2008 17:38:59 +0100 Subject: [geeklog-users] Batch user import error "..is not a valid email address, account not created" In-Reply-To: <47C97571.3070801@finchhaven.com> References: <47C97571.3070801@finchhaven.com> Message-ID: <20080309163859.1418597311@smtp.haun-online.de> John Sage wrote: >"B_User is not a valid email address, account not created" Sounds like a mixup with the lines and columns in the data file. I.e. it thought "B_User" was the email address. So I'd say either there weren't always tabs between the columns or the lines of the textfile weren't always using the same linefeed characters. We're using PHP's file() command[1] internally to read the data file - not sure how well that handles mixed linefeed characters. bye, Dirk [1] -- http://www.geeklog.net/ http://geeklog.info/