Problem with add bug to project mantisBT 2.25.2

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
Spidreck
Posts: 2
Joined: 07 Dec 2021, 08:57

Problem with add bug to project mantisBT 2.25.2

Post by Spidreck »

Hello,
I'm new user of Mantis and I will be veryy gratefull for help.
I was install version 2.25.2 on windows 10 with xampp. All of install and check entries are good.
I can add project and cathegory but when I try add an issue, after write all mandatory fields i have INTERNAL APPLICATION ERROR.
What can I do?

MantisBT 2.25.2
schematic 211
PHP 8.0.13
Data base driver mysqli
data base version 10.4.22, 10.4.22-MariaDB

Regards
Last edited by Spidreck on 07 Dec 2021, 10:25, edited 1 time in total.
Spidreck
Posts: 2
Joined: 07 Dec 2021, 08:57

Re: Problem with add bug to project mantisBT 2.25.2

Post by Spidreck »

I found problem - I move suggested folders up from web root. When I went back to web root folder, problem disappear.
Someone has any idea, what am I do wrong?

config_inc.php:

Code: Select all

####################
# Folder Locations #
####################

/**
 * Path to root MantisBT folder.  Requires trailing / or \
 * @global string $g_absolute_path
 */
$g_absolute_path = 'C:\\xampp\\htdocs\\mantisbt\\' . '\\';

/**
 * Path to core folder. The default is usually OK,
 * unless you moved the 'core' directory out of your webroot (recommended).
 * @global string $g_core_path
 */
$g_core_path = 'C:\\Users\\Admin\\mantisdb_conf\\' . 'core' . '\\';

/**
 * Path to classes folder.  Requires trailing / or \
 * @global string $g_class_path
 */
$g_class_path = $g_core_path . 'classes' . '\\';

/**
 * Path to library folder for 3rd party libraries. Requires trailing / or \
 * @global string $g_library_path
 */
$g_library_path = 'C:\\Users\\Admin\\mantisdb_conf\\' . 'library' . '\\';

/**
 * Path to vendor folder for 3rd party libraries. Requires trailing / or \
 * @global string $g_library_path
 */
$g_vendor_path = $g_absolute_path . 'vendor' . '\\';

/**
 * Path to lang folder for language files. Requires trailing / or \
 * @global string $g_language_path
 */
$g_language_path = 'C:\\Users\\Admin\\mantisdb_conf\\' . 'lang' . '\\';

/**
 * Path to custom configuration folder. Requires trailing / or \
 * If MANTIS_CONFIG_FOLDER environment variable is set, it will be used.
 * This allows Apache vhost to be used to setup multiple instances serviced by
 * same code by multiple configs.
 * @global string $g_config_path
 */
$t_local_config = getenv( 'MANTIS_CONFIG_FOLDER' );
if( $t_local_config && is_dir( $t_local_config ) ) {
	$g_config_path = $t_local_config;
} else {
	$g_config_path = $g_absolute_path . 'config' . '\\';
}

unset( $t_local_config );
MANTIS_CONFIG_FOLDER = C:\\Users\\Admin\\mantisdb_conf\\config\\
cas
Posts: 1616
Joined: 11 Mar 2006, 16:08
Contact:

Re: Problem with add bug to project mantisBT 2.25.2

Post by cas »

First start with leaving all files within the Mantis directory and the check if all works fine.
In addition change this line :
$g_absolute_path = 'C:\\xampp\\htdocs\\mantisbt\\' . '\\';
to:
$g_absolute_path = 'C://xampp/htdocs/mantisbt/';

Once it all is working as expected, try to move certain directories to other location (one by one).
After each step verify if it is working fine.

Doing it step by step will highlight where it went wrong the first time :mrgreen:
Post Reply