View Issue Details

IDProjectCategoryView StatusLast Update
0015996mantisbtdocumentationpublic2013-06-04 17:17
Reporterlccpu Assigned To 
PrioritynormalSeverityminorReproducibilityN/A
Status newResolutionopen 
PlatformLinuxOSCentOSOS Version5.9
Product Version1.2.14 
Summary0015996: upload absolute path actually requires relative path ( $g_absolute_path_default_upload_folder )
Description

$g_absolute_path_default_upload_folder requires a value of :
'first_directory_contained_within_the_mantis_base_dir/second/destination/'
NOT
'/home/username/public_html/mantisdirname_can_be_sub_domain/upload_dir_name/'

So, we can see that "absolute path" does not have the correct meaning here.

I read all config/sample/documentation/admin guides. Nowhere did I find this stated, probably because it's supposed to be self-explanatory. Unfortunately it functions the exact opposite of what it's self-explanatory nature would imply.

I am running this mantis install from a sub-domain, I do not know if this would be the cause b/c my other mantis install is using the DB to store uploads, since there aren't many or they tend to be small.

Steps To Reproduce

Use any reference point as a path (i.e. public_html, /home, my_sub_domain_private_root, etc.) and end with or without a trailing or beginning '/'. You will get 500 errors.

Additional Information

see discussion I worked out the problem in here, with atrol's help:
http://www.mantisbt.org/forums/viewtopic.php?f=2&t=21167

TagsNo tags attached.

Activities

lccpu

lccpu

2013-06-04 17:17

reporter   ~0037095

For clarification:
This variable doesn't show up in the admin guide.

and the files :
config_defaults_inc.php
config_inc.php.sample

both just say "this is the absolute path".

I do NOT have safe_mode enabled for PHP 5.2.