Try configuring the following set of lines to put in your config_inc.php
# --- Database Configuration ---
$g_hostname = 'hostname.com';
$g_db_username = 'username';
$g_db_password = 'password';
$g_database_name = 'dbname';
$g_db_type = 'mysql';
# --- Anonymous Access / Signup ---
$g_allow_signup = ON;
$g_allow_anonymous_login = OFF;
$g_anonymous_account = '';
# --- Email Configuration ---
$g_phpMailer_method = PHPMAILER_METHOD_MAIL; # or PHPMAILER_METHOD_SMTP, PHPMAILER_METHOD_SENDMAIL
$g_smtp_host = 'hostname.com';# used with PHPMAILER_METHOD_SMTP
$g_smtp_username = ''; # used with PHPMAILER_METHOD_SMTP
$g_smtp_password = ''; # used with PHPMAILER_METHOD_SMTP
$g_administrator_email = 'anymailid@gmail.com';
$g_webmaster_email = 'webmaster@gmail.com';
$g_from_name = 'Gecko Bug Tracker';
$g_from_email = 'anymailid@gmail.com'; # the "From: " field in emails
$g_return_path_email = 'anymailid@gmail.com'; # the return address for bounced mail
$g_email_receive_own = OFF;
$g_email_send_using_cronjob = OFF;
# --- Attachments / File Uploads ---
$g_allow_file_upload = ON;
$g_file_upload_method = DATABASE; # or DISK
$g_absolute_path_default_upload_folder = ''; # used with DISK, must contain trailing \ or /.
$g_max_file_size = 5000000; # in bytes
$g_preview_attachments_inline_max_size = 256 * 1024;
$g_allowed_files = ''; # extensions comma separated, e.g. 'php,html,java,exe,pl'
$g_disallowed_files = ''; # extensions comma separated
# --- Branding ---
$g_window_title = 'Gecko';
$g_logo_image = 'images/mantis_logo.gif';
$g_favicon_image = 'images/favicon.ico';
# --- Real names ---
$g_show_realname = OFF;
$g_show_user_realname_threshold = NOBODY; # Set to access level (e.g. VIEWER, REPORTER, DEVELOPER, MANAGER, etc)
# --- Others ---
$g_default_home_page = 'my_view_page.php'; # Set to name of page to go to after login
$g_enable_profiles = OFF;
$g_allow_no_category = ON;
$g_set_bug_sticky_threshold = NOBODY;
$g_move_bug_threshold = NOBODY;
$g_set_bug_sticky_threshold = NOBODY;`