View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003822 | mantisbt | bugtracker | public | 2004-05-10 12:35 | 2004-08-29 01:46 |
Reporter | bstj | Assigned To | grangeway | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Fixed in Version | 0.19.0rc1 | ||||
Summary | 0003822: basedir restriction on some servers | ||||
Description | Our server runs PHP in safe mode so the copy command is not permitted. I assume the fread and other command are also restricted. This causes an error when uploading files. A screenshot is attached for when the upload method is set to DATABASE. | ||||
Additional Information | A workaround on 18.2 is to change to use an upload method of DISK and then change the copy command in core/file_api.php file_add function from: copy( $p_tmp_file, $t_file_path . $t_new_file_name ); to move_uploaded_file( $p_tmp_file, $t_file_path . $t_new_file_name ); | ||||
Tags | No tags attached. | ||||
Attached Files | |||||