[turba] Error importing

Shane Metler metlers at homes.com
Mon Dec 30 16:38:14 PST 2002


hi there,

i have been trying (unsuccessfully) to get turba to import a csv file.

i should have the contacts.csv  file in an acceptable format to import into
turba ... i first entered a contact manually, exported that contact to a
csv, then added all my contacts to the existing csv file

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)


LINE 226-228 of data.php from 2002-12-28 snapshot ...

foreach ($templates[$next_step] as $template) {
    require $template;
}


this is the same error described on 2002-12-17 in this previous mailing list
message:
http://marc.theaimsgroup.com/?l=turba&m=104016468921588&w=2
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


any help or advice is greatly appreciated!

Thanks in advance,
Shane Metler
1-850-350-7846
http://www.homes.com




More information about the turba mailing list