[horde] Re: unable to import files

Randy Tunison RandyTunison at higlum.com
Tue Nov 26 16:37:49 PST 2002


Hi,

This is what I get with var_dump($_FILES) and var_dump(is_readable($_FILES
['tmp_name'])) lines inserted:

array(1) { ["import_file"]=> array(5) { ["name"]=> string(11) "notepad.csv" 
["type"]=> string(24) "application/octet-stream" ["tmp_name"]=> string
(18) "/var/tmp/phpPiaGj3" ["error"]=> int(0) ["size"]=> int(119) } } bool
(false) 

> Zitat von Randy Tunison <RandyTunison at higlum.com>:
> 
> > I'm using the latest CVS version.  My problem, during importing (memos,
> > task,
> > contacts):
> >
> > Warning: Unable to open '/var/tmp/phpPCaG7L' for reading: No such file or
> > directory in /var/apache/htdocs/horde1/lib/Data/csv.php on line 205.
> > Apparently the import file does not get uploaded to /var/tmp. I don't see
> > it with this name or any others.
> 
> That's strange, it should work. The same applies to Nate's problem.
> Can one or both of you please put a var_dump($_FILES) before line 205 and
> tell me the output?
> 
> Jan.


More information about the horde mailing list