View Issue Details

IDProjectCategoryView StatusLast Update
0003822mantisbtbugtrackerpublic2004-08-29 01:46
Reporterbstj Assigned Tograngeway  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Fixed in Version0.19.0rc1 
Summary0003822: 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 );

TagsNo tags attached.
Attached Files
basedir.gif (77,290 bytes)   
basedir.gif (77,290 bytes)   

Relationships

child of 0003987 closedvboctor Mantis 0.19.0 Release 

Activities

grangeway

grangeway

2004-08-20 19:11

reporter   ~0007087

This issue should now be resolved in CVS.