marc rosete | 7 May 2010 19:22

Server time out when submitting bugs for some users

Upon submitting a bug report and clicking ‘Submit Report’ the browser hangs for a bit before returning the message:
Safari can’t open the page [xxx] because the server unexpectedly dropped the connection, which sometimes occurs when the server is busy. You might be able to open the page later.

Similar results in Firefox and other browsers/platforms as well, and the actual bug never appears in the bug list. This is only happening to SOME users, not all.

Although we cannot reproduce the issue in-house, our off site clients are currently unable to enter bugs. Our Mantis server is with our off site web host and this problem started this week.

Thanks.
...........................................................................................
m a r c    r o s e t e

BINARYLABS
producer | www.binarylabs.com | www.courseiq.net
contact | mrosete-3aYbEojVROQ9XoPSrs7Ehg@public.gmane.org | w858.274.8520 x110

------------------------------------------------------------------------------

_______________________________________________
mantisbt-help mailing list
mantisbt-help@...
https://lists.sourceforge.net/lists/listinfo/mantisbt-help
Andrew Murphy | 11 May 2010 16:20
Favicon

Problem with the "Lost password" link on the login page

Hello. :)

I posted about this problem on the Mantis Bug Tracker forums, and it was
suggested that I should post it here instead.

Here's what the problem is:  When a user visits login_page.php, if they are
not logged in and click on the "Lost your password?" or the "Signup for a
new account" links instead of being sent to the appropriate page, the
login_page.php refreshes with a different URL. For example:
http://blahblah.com/mantis/login_page.php?return=/mantis/lost_pwd_page.php

However if the user -is- logged in and visits the login_page.php and clicks
on one of these links they are shown the right page.

I'm sure there must be something mis-configured somewhere but after poking
around in the code I've not been able to puzzle it out. (My knowledge of PHP
is pretty rudimentary.)

Mantis version: 1.0.3

config_inc.php (note, I've put in underscores in place of sensitive data):
<?php
$g_hostname = '__________';
$g_db_type = 'mysql';
$g_database_name = '_________';
$g_db_username = '_________';
$g_db_password = '__________';

# insert SVN integration
$g_source_control_account = 'svn';
$g_source_control_regexp = '/\b(?:bug|issue)\s*[#]{0,1}(\d+)\b/i';

#############################
# Mantis Email Settings
#############################

# --- email variables -------------
$g_administrator_email	= '_____________';
$g_webmaster_email	 = '_____________';

# the 'From: ' field in emails
$g_from_email	 = '______________';

# the return address for bounced mail
$g_return_path_email	= '______________';

# allow email notification
# note that if this is disabled, sign-up and password reset messages will
# not be sent.
$g_enable_email_notification	= ON;

# select the method to mail by:
# 0 - mail()
# 1 - sendmail
# 2 - SMTP
$g_phpMailer_method	 = 2;

# This option allows you to use a remote SMTP host. Must use the phpMailer
script
# Name of smtp host, needed for phpMailer, taken from php.ini
$g_smtp_host	 = '____________';

# These options allow you to use SMTP Authentication when you use a remote
# SMTP host with phpMailer. If smtp_username is not '' then the username
# and password will be used when logging in to the SMTP server.
$g_smtp_username = '_________';
$g_smtp_password = '_________';

#############################
# Mantis Version String
#############################

# --- version variables -----------
$g_show_version	 = OFF;

###############################
# Mantis Display Settings
###############################

# --- sitewide variables ----------
$g_window_title	 = '_____________';	 # browser window title

# --- advanced views --------------
# BOTH, SIMPLE_ONLY, ADVANCED_ONLY
$g_show_report	 = SIMPLE_ONLY;
$g_show_update	 = SIMPLE_ONLY;
$g_show_view	 = SIMPLE_ONLY;

# --- Position of the status colour legend, can be: STATUS_LEGEND_POSITION_*
# --- see constant_inc.php. (*: BOTTOM or TOP)
$g_status_legend_position	= STATUS_LEGEND_POSITION_TOP;

# --- Position of the filter box, can be: FILTER_POSITION_*
# FILTER_POSITION_TOP, FILTER_POSITION_BOTTOM, or 0 for none.
$g_filter_position	= FILTER_POSITION_BOTTOM;

############################
# Mantis Date Settings
############################

# --- date format settings --------
# date format strings (default is 'US' formatting)
# go to http://www.php.net/manual/en/function.date.php
# for detailed instructions on date formatting
$g_short_date_format	= 'd-m-y';
$g_normal_date_format	= 'd-m-y H:i';
$g_complete_date_format	= 'd-m-Y H:i T';

################################
# Mantis Look and Feel Variables
################################

# --- status color codes ----------
#
$g_status_colors	 = array( 'new'	 => '#f4b0b4',
'advice'	 => '#f7c992',
'assigned'	 => '#f2ef97',
'resolved'	 => '#bcd75c',
'closed'	 => '#acace5');

###########################
# Include files
###########################

# Specify your top/bottom include file (logos, banners, etc)
# if a top file is supplied, the default Mantis logo at the top will be
hidden
$g_bottom_include_page	 = '______________';
$g_top_include_page	 = '_____________';
# CSS file
$g_css_include_file	 = '______________';

##########
# Icons
##########

# Icon associative arrays
# Status to icon mapping
$g_status_icon_arr = array (
NONE => '',
LOW => '_____________',
NORMAL => '',
HIGH => '________________',
URGENT => '_________________',
IMMEDIATE => '________________'
);

#######################################
# Mantis Filter Variables
#######################################
$g_filter_by_custom_fields = OFF;
$g_filter_custom_fields_per_row = 5;
$g_view_filters = SIMPLE_ONLY;

# This switch enables the use of xmlhttprequest protocol to speed up the
filter display.
# Rather than launching a separate page, the filters are updated in-line in
the
# view_all_bugs_page.
$g_dhtml_filters = OFF;

############################
# Status Settings
############################

# Status to assign to the bug when submitted.
$g_bug_submit_status = NEW_;

# Status to assign to the bug when assigned.
$g_bug_assigned_status = ASSIGNED;

# Status to assign to the bug when reopened.
$g_bug_reopen_status = FEEDBACK;

# Resolution to assign to the bug when reopened.
$g_bug_reopen_resolution = REOPENED;

# --- status thresholds (*_status_threshold) ---

# Bug becomes readonly if its status is >= this status. The bug becomes
read/write again if re-opened and its
# status becomes less than this threshold.
$g_bug_readonly_status_threshold = RESOLVED;

# Bug is resolved, ready to be closed or reopened. In some custom
installations a bug
# maybe considered as resolved when it is moved to a custom (FIXED OR
TESTED) status.
$g_bug_resolved_status_threshold = RESOLVED;

# Automatically set status to ASSIGNED whenever a bug is assigned to a
person.
# This is useful for installations where assigned status is to be used when
# the bug is in progress, rather than just put in a person's queue.
$g_auto_set_status_to_assigned	= ON;

# 'status_enum_workflow' defines the workflow, and reflects a simple
# 2-dimensional matrix. For each existing status, you define which
# statuses you can go to from that status, e.g. from NEW_ you might list
statuses
# '10:new,20:feedback,30:acknowledged' but not higher ones.
/* This is the original workflow - AndrewM */
//	$g_status_enum_workflow = array();
/* This is my workflow - AndrewM */
$g_status_enum_workflow[NEW_]='20:advice,50:assigned,80:resolved,90:closed';
$g_status_enum_workflow[FEEDBACK] ='50:assigned,80:resolved,90:closed';
$g_status_enum_workflow[ASSIGNED] ='20:advice,80:resolved,90:closed';
$g_status_enum_workflow[RESOLVED] ='20:advice,50:assigned,90:closed';
$g_status_enum_workflow[CLOSED] ='20:advice,50:assigned,80:resolved';

###########################
# Mantis Enum Strings
###########################

# --- enum strings ----------------
# status from $g_status_index-1 to 79 are used for the onboard customization
(if enabled)
# directly use Mantis to edit them.
$g_status_enum_string	 =
'10:new,20:advice,50:assigned,80:resolved,90:closed';

######################
# Bug Relationships
######################

# Enable support for bug relationships where a bug can be a related,
dependent on, or duplicate of another.
# See relationship_api.php for more details.
$g_enable_relationship = OFF;

############################
# Mantis Misc Settings
############################

# --- access level thresholds (*_threshold) ---

# --- Threshold needed to show the list of users montoring a bug on the bug
view pages.
$g_show_monitor_list_threshold = NOBODY;

# access level needed to monitor bugs
# Look in the constant_inc.php file if you want to set a different value
$g_monitor_bug_threshold = NOBODY;

# Add profile threshold
$g_add_profile_threshold = NOBODY;

# Threshold needed to be able to create and modify global profiles
$g_manage_global_profile_threshold = NOBODY;

# threshold for viewing changelog
$g_view_changelog_threshold = NOBODY;

###############################
# Mantis Reminder Settings
###############################

# are reminders stored as bugnotes
$g_store_reminders	 = ON;

# Automatically add recipients of reminders to monitor list, if they are not
# the handler or the reporter (since they automatically get notified, if
required)
# If recipients of the reminders are below the monitor threshold, they will
not be added.
$g_reminder_recipents_monitor_bug = OFF;

##################
# Custom Fields
##################

# Threshold needed to manage custom fields
$g_manage_custom_fields_threshold = NOBODY;

# Threshold needed to link/unlink custom field to/from a project
$g_custom_field_link_threshold = NOBODY;

# Whether to start editng a custom field immediately after creating it
$g_custom_field_edit_after_create = OFF;

################################
# Mantis Language Settings
################################

# --- language settings -----------

# If the language is set to 'auto', the actual
# language is determined by the user agent (web browser)
# language preference.
$g_default_language	 = 'english';

# list the choices that the users are allowed to choose
$g_language_choices_arr	= array(
'english'
);

# Browser language mapping for 'auto' language selection
$g_language_auto_map = array(
'en-us, en-gb, en-au, en' => 'english',
'zh-cn, zh-sg, zh' => 'english',
'zh-hk, zh-tw' => 'english',
'cs' => 'english',
'da' => 'english',
'nl-be, nl' => 'english',
'et' => 'english',
'fi' => 'english',
'fr-be, fr-ca, fr-ch, fr' => 'english',
'de-de, de-at, de-ch, de' => 'english',
'hu' => 'english',
'it-ch, it' => 'english',
'ja' => 'english',
'ko' => 'english',
'lt' => 'english',
'no' => 'english',
'pl' => 'english',
'pt-br' => 'english',
'pt' => 'english',
'ro-mo, ro' => 'english',
'ru-mo, ru' => 'english',
'sr' => 'english',
'sk' => 'english',
'sl' => 'english',
'es-mx, es-co, es-ar, es-cl, es-pr, es' => 'english',
'sv-fi, sv' => 'english',
'tr' => 'english'
);

# Fallback for automatic language selection
$g_fallback_language	= 'english';

##################
# My View Settings
##################
# Default page after Login or Set Project
$g_default_home_page = 'view_all_bug_page.php';

#############################
# Mantis Email Settings
#############################

# --- email variables -------------
$g_administrator_email	= '____________';
$g_webmaster_email	 = '____________';

# the 'From: ' field in emails
$g_from_email	 = '_____________';

# the return address for bounced mail
$g_return_path_email	= '_____________';

##################################
# Mantis Default Preferences
##################################

# --- account pref defaults -------
$g_default_advanced_report	 = OFF;
$g_default_advanced_view	 = OFF;
$g_default_advanced_update	 = OFF;
$g_default_refresh_delay	 = 30; # in minutes
$g_default_redirect_delay	 = 2; # in seconds
$g_default_bugnote_order	 = 'DESC';
$g_default_email_on_new	 = OFF;
$g_default_email_on_assigned	= ON;
$g_default_email_on_feedback	= ON;
$g_default_email_on_resolved	= OFF;
$g_default_email_on_closed	 = OFF;
$g_default_email_on_reopened	= OFF;
$g_default_email_on_bugnote	 = OFF;
$g_default_email_on_status	 = 0; #  <at>  <at>  <at>  Unused
$g_default_email_on_priority	= 0; #  <at>  <at>  <at>  Unused
$g_default_email_on_new_minimum_severity	 = OFF; # 'any'
$g_default_email_on_assigned_minimum_severity	= OFF; # 'any'
$g_default_email_on_feedback_minimum_severity	= OFF; # 'any'
$g_default_email_on_resolved_minimum_severity	= OFF; # 'any'
$g_default_email_on_closed_minimum_severity	 = OFF; # 'any'
$g_default_email_on_reopened_minimum_severity	= OFF; # 'any'
$g_default_email_on_bugnote_minimum_severity	= OFF; # 'any'
$g_default_email_on_status_minimum_severity	 = OFF; # 'any'
$g_default_email_on_priority_minimum_severity	= OFF; #  <at>  <at>  <at>  Unused
$g_default_email_bugnote_limit	 = 0;
# default_language - is set to site language

?>

 ------------------------------
Andrew Murphy
Interactive Media Developer
amurphy@...

Delvinia
370 King Street West, 5th Floor, Box 4 
Toronto Canada M5V 1J9
P (416) 364-1455 ext. 232
F (416) 364-9830  
W www.delvinia.com

------------------------------------------------------------------------------
Daniel.Codres | 11 May 2010 22:01
Favicon

AUTO: Daniel Codres is out of the office. (returning 14.05.2010)


I am out of the office until 14.05.2010.

I will respond to your message when I return. In case of urgent inquiries please contact Support.

Note: This is an automated response to your message  "[mantisbt-help] Problem with the "Lost password"
link on the login
page" sent on 5/11/2010 4:20:46 PM.

This is the only notification you will receive while this person is away.

------------------------------------------------------------------------------
deepika.ganesan | 12 May 2010 15:18

Auto-escalation mails in Mantis

Hi,

 

I have installed Mantis Version 1.2.0 on a Windows XP machine and  I am able to send mails from Mantis.

 

Is there any plug-in available to send auto escalation mails based on the aging of the bugs? If so, can you share me that.

 

 

Thanks

Deepika

------------------------------------------------------------------------------

_______________________________________________
mantisbt-help mailing list
mantisbt-help@...
https://lists.sourceforge.net/lists/listinfo/mantisbt-help
Roland Becker | 12 May 2010 21:09
Picon
Gravatar

Re: Auto-escalation mails in Mantis

Hi Deepika,

have a look at this
http://www.mantisbt.org/bugs/view.php?id=10153

regards
Roland
----- original Nachricht --------

Betreff: [mantisbt-help] Auto-escalation mails in Mantis
Gesendet: Mi, 12. Mai 2010
Von: deepika.ganesan-uxC5H9eHYlcAvxtiuMwx3w@public.gmane.org

Hi,

 

I have installed Mantis Version 1.2.0 on a Windows XP machine and  I am able to send mails from Mantis.

 

Is there any plug-in available to send auto escalation mails based on the aging of the bugs? If so, can you share me that.

 

 

Thanks

Deepika



--- original Nachricht Ende ----
------------------------------------------------------------------------------

_______________________________________________
mantisbt-help mailing list
mantisbt-help@...
https://lists.sourceforge.net/lists/listinfo/mantisbt-help
Markku Tavasti | 14 May 2010 17:09
Picon

Problem with customised status_enum_string

I have following in config:

$g_status_enum_string = 
'10:new,20:feedback,30:acknowledged,40:confirmed,50:investigating,60:ready 
for testing,70:testing,80:resolved,90:closed';

Together with changes/additions in strings_english.txt, seems to
work. But in 'View Issues' I get error:

SYSTEM WARNING: call_user_func_array() [function.call-user-func-array]: 
First argument is expected to be a valid callback, 
'custom_function_default_enum_target_status' was given

To config_inc.php I added:
$g_show_detailed_errors = ON;
$g_show_notices = ON;
$g_show_warnings = ON;

But still no more info. Any ideas how to fix, or how to get more
debugging information?

--

-- 
M. Tavasti /  tavasti@...  /   +358-40-5078254

------------------------------------------------------------------------------
Markku Tavasti | 14 May 2010 17:23
Picon

Re: Problem with customised status_enum_string

Markku Tavasti wrote:
> I have following in config:
> 
> $g_status_enum_string = 
> '10:new,20:feedback,30:acknowledged,40:confirmed,50:investigating,60:ready 
> for testing,70:testing,80:resolved,90:closed';
> 
> Together with changes/additions in strings_english.txt, seems to
> work. But in 'View Issues' I get error:
> 
> SYSTEM WARNING: call_user_func_array() [function.call-user-func-array]: 
> First argument is expected to be a valid callback, 
> 'custom_function_default_enum_target_status' was given

Got help on how to enable more debugging, but for me this doesn't help:

http://vuo.ro/~tavasti/kuvia/mantis/mantiserr1.png
http://vuo.ro/~tavasti/kuvia/mantis/mantiserr2.png

--

-- 
M. Tavasti /  tavasti@...  /   +358-40-5078254

------------------------------------------------------------------------------
Lars Nielsen | 16 May 2010 17:05
Picon
Favicon

mantis soap php

Hi there

I have search google and the mailinglist but have not found anything
obvious usefull.

I have a mantis(1.2.0 schema 182) installation on www.bugtrack.dk and i
want to submit new issues via php soap from my site www.lfweb.dk. the
two sites are on the same server.

soap is enabled in php (5.3.1)

I hope you can help me with eg. some samples! :-)

Best regards
Lars Nielsen

------------------------------------------------------------------------------
Jon Hardcastle | 19 May 2010 14:03
Picon
Favicon

MantisBT 1.3.0-dev - Is it me?

Guys,

I am trying to have a look at the latest DEV version of mantis to see what it includes interms of time
management and/or SLA's but I cant see it on the download list, nor does the changelog work?

http://www.mantisbt.org/download.php

takes you to http://sourceforge.net/projects/mantisbt/files/mantis-development/

for development version but the highest version number list is '1.2.0rc2' for mantis-development... 

isn't this the stable version?!

Any pointers?

-----------------------
N: Jon Hardcastle
E: Jon@...
'Do not worry about tomorrow, for tomorrow will bring worries of its own.'

***********
Please note, I am phasing out jd_hardcastle AT yahoo.com and replacing it with jon AT eHardcastle.com
***********

-----------------------

------------------------------------------------------------------------------
John Reese | 19 May 2010 14:49
Gravatar

Re: MantisBT 1.3.0-dev - Is it me?

On 05/19/2010 08:03 AM, Jon Hardcastle wrote:
> Guys,
>
> I am trying to have a look at the latest DEV version of mantis to see
> what it includes interms of time management and/or SLA's but I cant
> see it on the download list, nor does the changelog work?
>
> http://www.mantisbt.org/download.php
>
> takes you to
> http://sourceforge.net/projects/mantisbt/files/mantis-development/
>
> for development version but the highest version number list is
> '1.2.0rc2' for mantis-development...
>
> isn't this the stable version?!
>
> Any pointers?

The situation is a bit misleading atm.  The current git development 
branch "master" is versioned at 1.3.0-dev, hence the verbage on the 
site.  However, there have not yet been any official development 
releases (alpha, beta, etc), so there is nothing on sf.net when you 
follow the link.  Suboptimal, I would agree, but a limit of the software 
powering the website.

If you want to try the latest development branch before an official 
release is made, you can either turn to the nightly builds [1], clone 
the git repository [2], or grab a snapshot from the gitweb viewer [3].

[1] http://www.mantisbt.org/builds/
[2] `git clone git://mantisbt.org/mantisbt.git`
[3] http://git.mantisbt.org/?p=mantisbt.git

Cheers

--
John Reese
LeetCode.net

------------------------------------------------------------------------------

Gmane