#23393 [Asn]: upload of phpDocumentor fails
| From: | greg at chiaraquartet dot net | Date: | Sat, 03 May 2003 04:04:59 +0000 |
| Subject: | #23393 [Asn]: upload of phpDocumentor fails | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-15798@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: Assigned
Bug Type: PEAR related
Operating System: pear.php.net
PHP Version: 4.3.2RC2
Assigned To: mj
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2003-04-29 01:19:31] arnaud@php.net
I guess this one is for martin :)
------------------------------------------------------------------------
[2003-04-28 21:01:29] greg at chiaraquartet dot net
Here's the webpage contents:
Upload New Release
Upload a new package distribution file built using `pear package' here.
The information from your package.xml file will be displayed on the
next screen for verification. The maximum file size is 16 MB.
Uploading new releases is restricted to each package's lead
developer(s).
Upload Error: E_FAIL_MOVE
phpDocumentor 1.2.0rc2 is at
http://www.phpdoc.org/~CelloG/PhpDocumentor-1.2.0rc2.tgz
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23393&edit=1