[turba] error import CSV file (SquirrelMail)

Jan Schneider jan at horde.org
Sun Jul 17 11:52:18 UTC 2011


Zitat von gian barcellini <gian at ccuec.unicamp.br>:

> Hello,
>
> I migrated horde4, imp5 and turba recently.
> So, i can read and send mail and have a personnal adress book based on mysql.
>
> but i tried to import a CSV file (SquirrelMail) and I received this  
> errors (horde.log) :
>
>
> 2011-07-15T08:49:37-03:00 WARN: HORDE [turba] PHP ERROR: fgetcsv()
> expects at most 4 parameters, 5 given [pid 19069 on line 490 of
> "/usr/local/lib/php/Horde/Util.php"]
>
> 2011-07-15T08:49:51-03:00 NOTICE: HORDE [turba] PHP ERROR: Undefined
> offset:  0 [pid 19069 on line 63 of
> "/www/ns-home/docs/horde/templates/data/csvmap.inc"]
>
> 2011-07-15T08:49:51-03:00 WARN: HORDE [turba] PHP ERROR: Invalid
> argument supplied for foreach() [pid 19069 on line 63 of
> "/www/ns-home/docs/horde/templates/data/csvmap.inc"]
>
> 2011-07-15T08:49:51-03:00 NOTICE: HORDE [turba] PHP ERROR: Undefined
> offset:  0 [pid 19069 on line 106 of
> "/www/ns-home/docs/horde/templates/data/csvmap.inc"]
>
> 2011-07-15T08:49:51-03:00 WARN: HORDE [turba] PHP ERROR: Invalid
> argument supplied for foreach() [pid 19069 on line 106 of
> "/www/ns-home/docs/horde/templates/data/csvmap.inc"]
>
>
> this action "import" was OK in the previous version ... did i miss something?

Fixed, the 5th parameter is only available with PHP 5.3+.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the turba mailing list