migrating from hosted with mantis to our own server
v.2.14.0
the migration has been perfect except...
attachments are not showing up. if i look in the mantis_bug_file_table all the 'folder' fields point to what must've been the correct location in the previous set up. however, changing this to the new location does nothing. Note the 'content' fields all are [BLOB - 0 B] which i presume means that the attachments are not stored within the db.
i am guessing there is some config file somewhere that needs changing - can anyone help?
attachment migration problem
Moderators: Developer, Contributor
Re: attachment migration problem
Is this my problem?
"core_path configuration option is set to a path outside the web root
For increased security it is recommended that you move the core_path directory outside the web root. "
Do I need to edit this? if so, how?
TIA - Osh
"core_path configuration option is set to a path outside the web root
For increased security it is recommended that you move the core_path directory outside the web root. "
Code: Select all
$g_absolute_path = dirname( __FILE__ ) . DIRECTORY_SEPARATOR;
TIA - Osh
Re: attachment migration problem
If I edit the $g_absolute_path to something like in the documentation eg
it breaks everything
Any ideas?
Code: Select all
$g_absolute_path = 'http://www.mysite.com/mantis2140/'. DIRECTORY_SEPARATOR;
Any ideas?