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

Nate Mollring nmollring@cennecs.org
Wed Nov 27 22:26:41 2002


Quoting Nate Mollring <nmollring@cennecs.org>:

> 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.
Thought I would give tab separated files a chance:  Here is what I get.
Warning: Unable to open '/tmp/phpe8spTi' for reading: No such file or directory 
in /home/httpd/html/horde/lib/Data/tsv.php on line 163

Warning: Unable to move '/tmp/phpe8spTi' to '/tmp/phpe8spTi' 
in /home/httpd/html/horde/lib/Data/tsv.php on line 163

Fatal error: Call to a member function on a non-object 
in /home/httpd/html/horde/lib/Data/tsv.php on line 164
Nate


More information about the turba mailing list