PHP 5.3.28 (cli) (built: Dec 10 2013 22:06:17)
Mantis 2.5.1 (trying to install/upgrade)
Following the upgrade instructions at http://www.mantisbt.org/docs/master/en- ... ll.upgrade and running into a problem. It says to copy the config_inc.php file into the NEW config directory, however that causes an error because of these lines in the config file:
Code: Select all
/** * path to your installation as seen from the web browser
* requires trailing /
* @global string $g_path */
$g_path = $t_protocol . '://' . $t_host . $t_path;
/** * path to your images directory (for icons)
* requires trailing /
* @global string $g_icon_path */
$g_icon_path = '%path%images/';
/** * Short web path without the domain name
* requires trailing /
* @global string $g_short_path */
$g_short_path = $t_path;
/** * absolute path to your installation. Requires trailing / or \
* @global string $g_absolute_path */
$g_absolute_path = dirname( __FILE__ ) . DIRECTORY_SEPARATOR;
/** * absolute patch to your core files. The default is usually OK,
* unless you moved the 'core' directory out of your webroot (recommended).
* @global string $g_core_path */
$g_core_path = $g_absolute_path . 'core' . DIRECTORY_SEPARATOR;
/** * absolute path to class files. Requires trailing / or \
* @global string $g_class_path */
$g_class_path = $g_core_path . 'classes' . DIRECTORY_SEPARATOR;
When the new version reads this config file (which used to reside in the base program directory) it assumes it is still in that location because of the concatenation and gets the wrong path to the core and classes files. So I moved the config file out of the config directory and into the base program directory which got me the admin setup screen, but then this error (see screenshot). What do I do now?