[turba] Re: [horde] No such file when importing

Nate Mollring nmollring@cennecs.org
Wed Nov 27 14:13:31 2002


Quoting Nate Mollring <nmollring@cennecs.org>:

> Quoting Jan Schneider <jan@horde.org>:
> 
> > Zitat von Nate Mollring <nmollring@cennecs.org>:
> > 
> > > > What happens if you put var_dump(is_readable($_FILES['tmp_name']))
> > > after the
> > > > other var_dump line?
> > > >
> > > Here is what I get with the added line
> > > array(1) { ["import_file"]=> array(5) { ["name"]=> string(12)
> > > "contacts.csv"
> > > ["type"]=> string(24) "application/octet-stream" ["tmp_name"]=> string
> > > (14) "/tmp/phpIsrHwe" ["error"]=> int(0) ["size"]=> int(2912) } }
> > > bool(false)
> > 
> > There you got it: The uploaded file isn't readable by your webserver and
> > can't be moved because of this.
> > 
> How does a person 'make' it readable by the webserver?  /tmp has full rights
> 
> to everyone.  The /tmp folder is otherwise working fine.  The old version
> must 
> use a different method to import files, since it still works with horde 2.1. 
> 
> Still not sure on how to alter my linux install to conform to horde.
> thanks,
> Nate
Need to add, I also see a :
Notice: Undefined index: tmp_name in /home/httpd/html/horde/lib/Data/csv.php on 
line 200
bool(false) 
in the log file.  I don't remember if that's new or not.
thanks
Nate


More information about the turba mailing list