[turba] Error importing
Jan Schneider
jan at horde.org
Tue Dec 31 13:10:18 PST 2002
Zitat von Shane Metler <metlers at homes.com>:
> i have tried installing various nightly snapshots in the available two
> week
> range, and all with the same import error:
> "Warning: Invalid argument supplied for foreach() in
> /var/www/html/horde/turba/data.php on line 226" (although the line number
> varies depending on the version)
> Jan replied that the error might be fixed, but unfortunitly the error is
> not
> fixed in the following CVS updates.
>
> to answer the questions Jan had asked:
>
> 1) the error appears after hitting the 'next' button to begin importing.
>
> 2) i did not see any other errors.
>
> 3) the contacts.csv file is (and i have also tried without the column
> names,
> but that shouldn't matter):
>
> name,email,homeAddress,workAddress,homePhone,workPhone,cellPhone,fax,title,c
> ompany,notes,pgpPublicKey,lastname
> John Green,,,,111-222-3455,,,,,,,,Green
It works perfectly for me, even with your example. But I use File_CSV from
pear not the builtin CSV functions. The latter might have problems with the
missing quotes around the name.
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft
More information about the turba
mailing list