#23393 [Opn]: upload of phpDocumentor fails

From: Date: Sat, 17 May 2003 14:10:02 +0000
Subject: #23393 [Opn]: upload of phpDocumentor fails
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-16408@lists.php.net to get a copy of this message
ID: 23393 User updated by: greg at chiaraquartet dot net Reported By: greg at chiaraquartet dot net Status: Open Bug Type: PEAR related Operating System: pear.php.net PHP Version: 4.3.2RC2 Assigned To: imajes New Comment: Hello, Although upload generally works, it specifically does not work for phpDocumentor 1.2.0rc2. Any chance of searching for the problem? Perhaps there is a file size limit that is less than the size of PhpDocumentor-1.2.0.tgz? Make sure the php.ini setting for max file upload size is indeed 16MB as is claimed, and then perhaps verify that the copy() command can copy large enough files on the platform, this might be a PHP bug and not a PEAR bug, which should be fixed in the release of 4.3.2 Thanks, Greg Previous Comments: ------------------------------------------------------------------------ [2003-05-11 15:11:05] greg at chiaraquartet dot net verified, it still gives the same error. The tgz is available at http://www.phpdoc.org/~CelloG/PhpDocumentor-1.2.0rc2.tgz ------------------------------------------------------------------------ [2003-05-11 01:28:13] mj@php.net Can you please try to upload it again? There have been numerous new uploads showing that the upload generally works. ------------------------------------------------------------------------ [2003-05-03 01:53:25] alan_k@php.net Looks like a config problem on the server - probably write access needs enabling the target directory.. James is probably the one to sort this out (not that he's got enought todo :).. Anyone know which directory the file is supposed to go to? ------------------------------------------------------------------------ [2003-05-02 23:04:58] greg at chiaraquartet dot net The E_FAIL_MOVE error is raised in only one spot in all of PEAR, and that is in HTTP_Upload. Here is the exact code causing the problem. // Copy the file and let php clean the tmp if (!@copy($this->upload['tmp_name'], $name_dest)) { return $this->raiseError('E_FAIL_MOVE'); } @chmod($name_dest, 0660); return $this->getProp('name'); } I'd really appreciate having this bug fixed, I can't upload phpDocumentor releasese until it is fixed. Thanks, Greg ------------------------------------------------------------------------ [2003-04-29 01:19:31] arnaud@php.net I guess this one is for martin :) ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/23393 -- Edit this bug report at http://bugs.php.net/?id=23393&edit=1

« previous php.pear.dev (#16408) next »