View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006466 | mantisbt | attachments | public | 2005-12-06 10:36 | 2014-01-29 15:50 |
Reporter | Miren | Assigned To | vboctor | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | won't fix | ||
Product Version | 1.0.0rc3 | ||||
Summary | 0006466: Mantis crashes on deleting a project when file_upload_method = FTP and PHP has no FTP support | ||||
Description | I could not delete a project. Fatal error: Call to undefined function: ftp_connect() in / ... /public_html/mantis/core/file_api.php on line 298 In my config_inc.php | ||||
Tags | No tags attached. | ||||
If your using FTP for file uploads to the bug tracker, you need to have the ftp functions compiled into php for the ftp_connect function to be defined. See: http://uk2.php.net/manual/en/ref.ftp.php |
|
I suppose the software could handle this gracefully... could you check whether admin/check.php warns you about not having FTP support? |
|
I have looked into this. As far as i can tell ftp support for fileupload is broke. The check for whether an upload path is valid, file_ensure_valid_upload_path() uses the method is_writable() and is_readable() which are not supported with ftp according to http://dk.php.net/manual/en/wrappers.ftp.php Also the ftp settings: are not considered when validating the path. The only data passed down to the checking method is the path entered in the field on the project update page. Looks like it is related to this issue 0003734. Maybe it should be removed from the roadmap for the 1.2.x release? |
|
This is no longer targeted for 1.2.x. |
|
See 0016849 - this feature is being deprecated. |
|