Visual Phonebook

  1. 13 years ago

    Hi,

    i am using fop2 lite 2.2 and i can not import contacts from a .csv file.

    The file looks like this:

    id,firstname,lastname,company,phone1,phone2,owner,private,picture,context
    1,,ABC,,123,,123,no,,
    2,,DEF,,321,,321,no,,
    3,,XYZ,,567,,567,no,,
    ...

    The Popup says:

    Fehler
    Could not copy uploaded file
    ist die Datei leer ist?

    I can manually create contacts.

    Where is my mistake?

    Thank you
    and sorry for my bad english

  2. admin

    18 May 2011 Administrator

    It seems you have permissions issues.. php is unable to write the uploaded csv to disk. Be sure that the fop2 web directory is owned by the user apache is running as. Or perhpas you have selinux enabled?

  3. did you create the fop2 mysql database?

    if you have phpmyadmin installed it can be imported very easily using mysql.db from the /html/fop2 directory

    German:

    hast du die Mysql Datenbank für fop2 angelegt?

    wenn phpmyadmin installiert ist kannst du sehr einfach die mysql.db Datei aus dem /html/fop2 Verzeichnis importieren

  4. Thank you!
    I changed the permissions to the fop2 folder.
    Now it works perfect.

or Sign Up to reply!