repeating sections on issue detail page (view.php)
Moderators: Developer, Contributor
repeating sections on issue detail page (view.php)
I am not sure whether this is a bug, or if this is something that's expected, but it threw me off. We recently upgrade from 1.1.8 to 1.2.3. The upgrade was successful with no errors. But on certain pages there are sections which are displayed twice. One expanded the other not. Like in the issue detail page:
- Relationships
details....
+ Relationships
- Time Tracking
details
+ Tim Tracking
I don't remember it being like this in 1.1.8. (sorry I can't seem to upload the screenshot, getting this error Could not upload attachment to ./files/23667_ef31a974169d9d8569da94af4faa3862.).
Thanks for any feedback.
- Relationships
details....
+ Relationships
- Time Tracking
details
+ Tim Tracking
I don't remember it being like this in 1.1.8. (sorry I can't seem to upload the screenshot, getting this error Could not upload attachment to ./files/23667_ef31a974169d9d8569da94af4faa3862.).
Thanks for any feedback.
Re: repeating sections on issue detail page (view.php)
I'm scratching my head, because I know that I saw/read about this some time ago, but can't remember what was the reason for this.
I hope another user reads this and can provide a link to a post in forum or an issue in tracker.
Just to start:
This is not the normal behaviour, it's a bug. (which I never had in any of my fresh installations, but I know it exists under certain circumstances)
Are you able to reproduce this with different browsers? (before testing clear browser caches, cookies, .....)
Do you use any custom functions in your installation?
Having a look at the source of the page in browser might also help to find the problem.
I hope another user reads this and can provide a link to a post in forum or an issue in tracker.
Just to start:
This is not the normal behaviour, it's a bug. (which I never had in any of my fresh installations, but I know it exists under certain circumstances)
Are you able to reproduce this with different browsers? (before testing clear browser caches, cookies, .....)
Do you use any custom functions in your installation?
Having a look at the source of the page in browser might also help to find the problem.
Re: repeating sections on issue detail page (view.php)
Thanks atrol. Tried the clearing of the cache/different browsers, same outcome. If anyone has a link to the post that has a fix for this, much appreciated!
Here is the section of the source relating to the duplicate Relationships section (for reference):
<div id="relationships_open"><table class="width100" cellspacing="1">
<tr class="row-2" valign="top">
<td width="15%" class="form-title" colspan="2">
<a href="" onclick="ToggleDiv( 'relationships' ); return false;"
><img border="0" src="images/minus.png" alt="-" /></a> Relationships </td>
</tr>
<tr class="row-1">
<td class="category">New relationship</td>
<td>Current issue <form method="post" action="bug_relationship_add.php">
<input type="hidden" name="bug_relationship_add_token" value="2010092062c81dd2c5889517f75fad80c1579c80c9503936"/> <input type="hidden" name="src_bug_id" value="3745" size="4" />
<select name="rel_type">
<option value="2">parent of</option>
<option value="3">child of</option>
<option value="0">duplicate of</option>
<option value="4">has duplicate</option>
<option value="1">related to</option>
</select>
<input type="text" name="dest_bug_id" value="" />
<input type="submit" name="add_relationship" class="button" value="Add" />
</form>
</td></tr>
<tr>
<td colspan="2"></td>
</tr>
</table>
</div><div id="relationships_closed" class="hidden"><table class="width100" cellspacing="1">
<tr>
<td class="form-title">
<a href="" onclick="ToggleDiv( 'relationships' ); return false;"
><img border="0" src="images/plus.png" alt="+" /></a> Relationships </td>
</tr>
</table>
Here is the section of the source relating to the duplicate Relationships section (for reference):
<div id="relationships_open"><table class="width100" cellspacing="1">
<tr class="row-2" valign="top">
<td width="15%" class="form-title" colspan="2">
<a href="" onclick="ToggleDiv( 'relationships' ); return false;"
><img border="0" src="images/minus.png" alt="-" /></a> Relationships </td>
</tr>
<tr class="row-1">
<td class="category">New relationship</td>
<td>Current issue <form method="post" action="bug_relationship_add.php">
<input type="hidden" name="bug_relationship_add_token" value="2010092062c81dd2c5889517f75fad80c1579c80c9503936"/> <input type="hidden" name="src_bug_id" value="3745" size="4" />
<select name="rel_type">
<option value="2">parent of</option>
<option value="3">child of</option>
<option value="0">duplicate of</option>
<option value="4">has duplicate</option>
<option value="1">related to</option>
</select>
<input type="text" name="dest_bug_id" value="" />
<input type="submit" name="add_relationship" class="button" value="Add" />
</form>
</td></tr>
<tr>
<td colspan="2"></td>
</tr>
</table>
</div><div id="relationships_closed" class="hidden"><table class="width100" cellspacing="1">
<tr>
<td class="form-title">
<a href="" onclick="ToggleDiv( 'relationships' ); return false;"
><img border="0" src="images/plus.png" alt="+" /></a> Relationships </td>
</tr>
</table>
Re: repeating sections on issue detail page (view.php)
Just to be sure that the problem is related to your installation and not browsers:
MantisBT's own tracker is also version 1.2.3
For example check this issue http://www.mantisbt.org/bugs/view.php?id=12379
All OK in your browser?
MantisBT's own tracker is also version 1.2.3
For example check this issue http://www.mantisbt.org/bugs/view.php?id=12379
All OK in your browser?
Re: repeating sections on issue detail page (view.php)
Yes! I looks beautiful there.
These is our config_inc.php file (if anything stands out):
These is our config_inc.php file (if anything stands out):
Code: Select all
$g_manage_news_threshold = NOBODY;
$g_show_assigned_names = OFF;
$g_update_bug_assign_threshold = MANAGER;
$g_status_legend_position=STATUS_LEGEND_POSITION_TOP;
$g_show_realname='ON';
$g_default_bugnote_order = 'DESC';
$g_bugnote_order = 'DESC';
$g_allow_reporter_close='ON'; #Allows reporters to close the bugs they reported.
$g_file_upload_method = DISK;
$g_absolute_path_default_upload_folder = '/home/viziontrack/files/';
$g_limit_reporters='ON'; #reporters can see only issues they reported
$g_default_bug_view_status = VS_PRIVATE; # sets default bug report status to Private
$g_notify_flags['new']['threshold_min'] = MANAGER; # Notify only managers of new issues.
$g_notify_flags['owner']['reporter'] = OFF;
$g_notify_flags['owner']['threshold_min'] = MANAGER;
$g_notify_flags['owner']['threshold_max'] = MANAGER;
$g_default_notify_flags['bugnotes'] = OFF; #Exclude those who contributed bug notes from getting messages about other changes in the bug
$g_favicon_image='images/favicon.ico';
$g_show_footer_menu='ON';
$g_news_enabled='ON';
$g_disallowed_files='php,php3,phtml,html,class,java,exe,pl';
$g_default_advanced_report='ON';
$g_default_show_changed='4'; #Highlight bugs that have changed during the last N hours
$g_show_timer='ON';
$g_show_avatar='ON';
$g_default_avatar='images/gravatar-none.png';
$g_short_date_format = 'Y-m-d';
$g_normal_date_format = 'Y-m-d H:i';
$g_complete_date_format = 'm-d-Y H:i T';
$g_enable_eta = ON;
$g_enable_projection = ON;
$g_eta_enum_string = '10:none,20:< 1 day,30:2-3 days,40:< 1 week,50:< 1 month,60:> 1 month';
$g_max_file_size = '5120000000';
$g_default_home_page = 'view_all_bug_page.php';
$g_allow_signup = OFF;
$g_view_issues_page_columns = array ( 'selection', 'edit', 'id', 'bugnotes_count', 'category', 'severity', 'status', 'last_updated', 'summary');
#$g_view_issues_page_columns='selection, edit, id, project_id, reporter_id, handler_id, priority, reproducibility, projection, eta, resolution, fixed_in_version, view_state, os, os_build, build (for product build), platform, version, date_submitted, attachment, category, sponsorship_total, severity, status, last_updated, summary, bugnotes_count, description, steps_to_reproduce, additional_information Re: repeating sections on issue detail page (view.php)
If this is the whole config_inc.php you have to addakimeu007 wrote: These is our config_inc.php file (if anything stands out):
Code: Select all
<?phpI think it's just because you provided an extract of it?
Re: repeating sections on issue detail page (view.php)
Oh, no. Sorry, I only posted the portion before my database connection information. The <?php is there.
Re: repeating sections on issue detail page (view.php)
You should post the whole code of the page and use the "Code" button, so the contents are not destroyedakimeu007 wrote: Here is the section of the source relating to the duplicate Relationships section (for reference):
Re: repeating sections on issue detail page (view.php)
Here it is. Thanks for the help thus far:
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" href="http://SomeWebSiteAddress.com/css/default.css" />
<script type="text/javascript" language="JavaScript"><!--
if(document.layers) {document.write("<style>td{padding:0px;}<\/style>")}
// --></script>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Pragma-directive" content="no-cache" />
<meta http-equiv="Cache-Directive" content="no-cache" />
<meta http-equiv="Expires" content="Tue, 21 Sep 2010 15:30:19 GMT" />
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon" />
<link rel="search" type="application/opensearchdescription+xml" title="MantisBT: Text Search" href="http://SomeWebSiteAddress.com/browser_search_plugin.php?type=text" /> <link rel="search" type="application/opensearchdescription+xml" title="MantisBT: Issue Id" href="http://SomeWebSiteAddress.com/browser_search_plugin.php?type=id" /> <title>0003475: ability to reassign work - SomeWebSiteAddress.com</title>
<script type="text/javascript" src="/javascript/min/common.js"></script>
<script language="javascript">var loading_lang = "Loading...";</script><script type="text/javascript" src="/javascript/min/ajax.js"></script>
</head>
<body>
<div class="center"><span class="pagetitle">SomeWebSiteAddress.com - <i>incident management system</i></span></div>
<div align="left"><a href="http://SomeWebSiteAddress.com"><img border="0" alt="Mantis Bug Tracker" src="/images/logo.png" /></a></div><table class="hide"><tr><td class="login-info-left">Logged in as: <span class="italic">alex</span> <span class="small">(Alex Ivascu - manager)</span></td><td class="login-info-middle"><span class="italic">09-21-2010 08:30 PDT</span></td><td class="login-info-right"><form method="post" name="form_set_project" action="/set_project.php">Project: <select name="project_id" class="small" onchange="document.forms.form_set_project.submit();"><option value="0">All Projects</option>
<option value="18" selected="selected" >CMvizion</option>
<option value="2">OtherProduct</option>
<option value="17">OtherProduct.com</option>
<option value="16">OtherProduct.com</option>
</select> <input type="submit" class="button-small" value="Switch" /></form><a href="http://SomeWebSiteAddress.com/issues_rss.php?username=alex&key=549d5be518381c5ec61e50c3f0c7e352&project_id=18"><img src="/images/rss.png" alt="RSS" style="border-style: none; margin: 5px; vertical-align: middle;" /></a></td></tr></table><table class="width100" cellspacing="0"><tr><td class="menu"><a href="/main_page.php">Main</a> | <a href="/my_view_page.php">My View</a> | <a href="/view_all_bug_page.php">View Issues</a> | <a href="/bug_report_page.php">Report Issue (Ask a Question)</a> | <a href="/changelog_page.php">Change Log</a> | <a href="/roadmap_page.php">Roadmap</a> | <a href="/summary_page.php">Summary</a> | <a href="/manage_overview_page.php">Manage</a> | <a href="/account_page.php">My Account</a> | <a href="/billing_page.php">Billing</a> | <a href="/logout_page.php">Logout</a></td><td class="menu right nowrap"><form method="post" action="/jump_to_bug.php"><input type="text" name="bug_id" size="10" class="small" value="Issue #" onfocus="if (this.value == 'Issue #') this.value = ''" onblur="if (this.value == '') this.value = 'Issue #'" /> <input type="submit" class="button-small" value="Jump" /> </form></td></tr></table><div align="right"><small>Recently Visited: <a href="/view.php?id=3475" title="[assigned] ability to reassign work">0003475</a>, <a href="/view.php?id=3749" title="[assigned] Meeting Module Attendee List">0003749</a>, <a href="/view.php?id=3358" title="[resolved] Can't Add New User - URGENT" class="resolved">0003358</a>, <a href="/view.php?id=3726" title="[assigned] Submittal Module Change">0003726</a>, <a href="/view.php?id=3752" title="[resolved] Meeting Module" class="resolved">0003752</a></small></div><br /><table class="width100" cellspacing="1"><tr><td class="form-title" colspan="3">View Issue Details <span class="small"><span class="bracket-link">[ <a href="#bugnotes">Jump to Notes</a> ]</span> <span class="bracket-link">[ <a href="bug_reminder_page.php?bug_id=3475">Send a reminder</a> ]</span> </span></td><td class="center"><span class="small"><span class="bracket-link">[ <a href="bug_view_page.php?bug_id=3718"><<</a> ]</span> <span class="bracket-link">[ <a href="bug_view_page.php?bug_id=3702">>></a> ]</span> </span></td><td class="right" colspan="2"><span class="small"><span class="bracket-link">[ <a href="view.php?id=3475&history=1#history">Issue History</a> ]</span> </span><span class="small"><span class="bracket-link">[ <a href="print_bug_page.php?bug_id=3475">Print</a> ]</span> </span></td></tr><tr><td class="category" width="15%">ID</td><td class="category" width="20%">Project</td><td class="category" width="15%">Category</td><td class="category" width="15%">View Status</td><td class="category" width="15%">Date Submitted</td><td class="category" width="20%">Last Update</td></tr><tr class="row-1"><td>0003475</td><td>CMvizion</td><td>Other</td><td>private</td><td>2010-03-11 12:02</td><td>2010-08-29 12:20</td></tr><tr class="spacer"><td colspan="6"></td></tr><tr class="row-2"><td class="category">Reporter</td><td>alex</td><td colspan="4"> </td></tr><tr class="row-1"><td class="category">Assigned To</td><td></td><td colspan="4"> </td></tr><tr class="row-2"><td class="category">Priority</td><td>normal</td><td class="category">Severity</td><td>feature</td><td class="category">Reproducibility</td><td>always</td></tr><tr class="row-1"><td class="category">Status</td><td bgcolor="#c2dfff">assigned</td><td class="category">Resolution</td><td>open</td><td colspan="2"> </td></tr><tr class="row-2"><td class="category">Product Version</td><td>2.4.0 SP1</td><td colspan="4"> </td></tr><tr class="row-1"><td class="category">Target Version</td><td>3.0.0</td><td class="category">Fixed in Version</td><td></td><td colspan="2"> </td></tr><tr class="spacer"><td colspan="6"></td></tr><tr class="row-2"><td class="category">Summary</td><td colspan="5">0003475: ability to reassign work</td></tr><tr class="row-1"><td class="category">Description</td><td colspan="5">An administrator should be able to reassign work from one user to another.</td></tr><tr class="spacer"><td colspan="6"></td></tr><tr class="row-2"><td class="category"><a name="attachments" id="attachments" />Attached Files</td><td colspan="5"></td></tr><tr align="center"><td align="center" colspan="6"><table><tr class="vcenter"><td class="center"><form method="post" action="bug_update_page.php">
<input type="hidden" name="bug_update_page_token" value="20100921204231e8b4efcc6668c9a208f8ae395ca9306de4"/> <input type="hidden" name="bug_id" value="3475" />
<input type="submit" class="button" value="Edit" />
</form>
</td><td class="center"><form method="post" action="bug_assign.php"><input type="hidden" name="bug_assign_token" value="2010092155897c25c72d08d123aa3fb6047449435477c313"/><input type="submit" class="button" value="Assign To:" /> <select name="handler_id"><option value="4" selected="selected" >[Myself]</option><option value="4" >[Reporter]</option><option value="1" >administrator</option><option value="4" >alex</option><option value="3" >axi</option><option value="44" >DeveloperX</option></select><input type="hidden" name="bug_id" value="3475" />
</form>
</td><td class="center"><form method="post" action="bug_change_status_page.php"><input type="submit" class="button" value="Change Status To:" /> <select name="new_status"><option value="10" selected="selected" >new</option><option value="20" >feedback</option><option value="30" >acknowledged</option><option value="40" >confirmed</option><option value="80" >resolved</option><option value="90" >closed</option></select><input type="hidden" name="id" value="3475" />
</form>
</td><td class=center"><form method="post" action="bug_monitor_add.php">
<input type="hidden" name="bug_monitor_add_token" value="201009213e81e37405e978748286c0514b6bef38730800b0"/> <input type="hidden" name="bug_id" value="3475" />
<input type="submit" class="button" value="Monitor" />
</form>
</td><td class="center"><form method="post" action="bug_stick.php">
<input type="hidden" name="bug_stick_token" value="20100921dbe8caa1f981c19fca15d06fe2f049cba4b4c19c"/> <input type="hidden" name="bug_id" value="3475" />
<input type="hidden" name="action" value="stick" />
<input type="submit" class="button" value="Stick" />
</form>
</td><td class="center"><form method="post" action="bug_report_page.php">
<input type="hidden" name="bug_report_page_token" value="201009215c555ec3124e2f77530fe53b5d25e9104147b07f"/> <input type="hidden" name="m_id" value="3475" />
<input type="submit" class="button" value="Clone" />
</form>
</td><td class="center"><form method="post" action="bug_actiongroup_page.php">
<input type="hidden" name="bug_actiongroup_page_token" value="20100921a36c76b03e0ccaae72c00188911bdf22a5980084"/> <input type="hidden" name="bug_arr[]" value="3475" />
<input type="hidden" name="action" value="MOVE" />
<input type="submit" class="button" value="Move" />
</form>
</td><td class="center"><form method="post" action="bug_actiongroup_page.php">
<input type="hidden" name="bug_actiongroup_page_token" value="201009216b5bf7505ba77ea67cf7058fda24fac26a99d219"/> <input type="hidden" name="bug_arr[]" value="3475" />
<input type="hidden" name="action" value="DELETE" />
<input type="submit" class="button" value="Delete" />
</form>
</td></tr></table></td></tr></table><br/>
<div id="relationships_open"><table class="width100" cellspacing="1">
<tr class="row-2" valign="top">
<td width="15%" class="form-title" colspan="2">
<a href="" onclick="ToggleDiv( 'relationships' ); return false;"
><img border="0" src="images/minus.png" alt="-" /></a> Relationships </td>
</tr>
<tr class="row-1">
<td class="category">New relationship</td>
<td>Current issue <form method="post" action="bug_relationship_add.php">
<input type="hidden" name="bug_relationship_add_token" value="201009212fa81d5b17e20079cd8c67c257721e6e593e3cb1"/> <input type="hidden" name="src_bug_id" value="3475" size="4" />
<select name="rel_type">
<option value="2">parent of</option>
<option value="3">child of</option>
<option value="0">duplicate of</option>
<option value="4">has duplicate</option>
<option value="1">related to</option>
</select>
<input type="text" name="dest_bug_id" value="" />
<input type="submit" name="add_relationship" class="button" value="Add" />
</form>
</td></tr>
<tr>
<td colspan="2"></td>
</tr>
</table>
</div><div id="relationships_closed" class="hidden"><table class="width100" cellspacing="1">
<tr>
<td class="form-title">
<a href="" onclick="ToggleDiv( 'relationships' ); return false;"
><img border="0" src="images/plus.png" alt="+" /></a> Relationships </td>
</tr>
</table>
</div><br />
<div id="upload_form_open"><form method="post" enctype="multipart/form-data" action="bug_file_add.php">
<input type="hidden" name="bug_file_add_token" value="20100921fb3ba2d3d93698bb34ea18f18e949b49378b33fe"/>
<table class="width100" cellspacing="1">
<tr>
<td class="form-title" colspan="2">
<a href="" onclick="ToggleDiv( 'upload_form' ); return false;"
><img border="0" src="images/minus.png" alt="-" /></a> Upload File </td>
</tr>
<tr class="row-1">
<td class="category" width="15%">
Select File<br />
<span class="small">(Maximum size: 5,120,000k)</span> </td>
<td width="85%">
<input type="hidden" name="bug_id" value="3475" />
<input type="hidden" name="max_file_size" value="5120000000" />
<input name="file" type="file" size="40" />
<input type="submit" class="button" value="Upload File" />
</td>
</tr>
</table>
</form>
</div><div id="upload_form_closed" class="hidden"><table class="width100" cellspacing="1">
<tr>
<td class="form-title" colspan="2">
<a href="" onclick="ToggleDiv( 'upload_form' ); return false;"
><img border="0" src="images/plus.png" alt="+" /></a> Upload File </td>
</tr>
</table>
</div><a name="monitors" id="monitors" /><br /><div id="monitoring_open"><table class="width100" cellspacing="1">
<tr>
<td class="form-title" colspan="2">
<a href="" onclick="ToggleDiv( 'monitoring' ); return false;"
><img border="0" src="images/minus.png" alt="-" /></a> Users monitoring this issue </td>
</tr>
<tr class="row-1">
<td class="category" width="15%">
User List </td>
<td>
There are no users monitoring this issue.<br /><br />Username <form method="get" action="bug_monitor_add.php">
<input type="hidden" name="bug_monitor_add_token" value="2010092159a4ee790d36af14235ea96048693796aa315acd"/> <input type="hidden" name="bug_id" value="3475" />
<input type="text" name="username" />
<input type="submit" class="button" value="Add" />
</form>
</td>
</tr>
</table>
</div><div id="monitoring_closed" class="hidden"><table class="width100" cellspacing="1">
<tr>
<td class="form-title" colspan="2"><a href="" onclick="ToggleDiv( 'monitoring' ); return false;"
><img border="0" src="images/plus.png" alt="+" /></a> Users monitoring this issue </td>
</tr>
</table>
</div>
<a name="addbugnote"></a> <br />
<div id="bugnote_add_open" class="hidden"><form name="bugnoteadd" method="post" action="bugnote_add.php">
<input type="hidden" name="bugnote_add_token" value="2010092106f046b6e4a471af6d594809a5cd153de9f17c2c"/><input type="hidden" name="bug_id" value="3475" />
<table class="width100" cellspacing="1">
<tr>
<td class="form-title" colspan="2">
<a href="" onclick="ToggleDiv( 'bugnote_add' ); return false;"
><img border="0" src="images/minus.png" alt="-" /></a> Add Note </td>
</tr>
<tr class="row-2">
<td class="category" width="25%">
Note </td>
<td width="75%">
<textarea name="bugnote_text" cols="80" rows="10"></textarea>
</td>
</tr>
<tr class="row-1">
<td class="category">
View Status </td>
<td>
<input type="checkbox" name="private" />
private </td>
</tr>
<tr class="row-1">
<td class="category">
Time tracking (HH:MM)
</td>
<td>
<input type="text" name="time_tracking" size="5" value="00:00" />
</td>
</tr>
<tr>
<td class="center" colspan="2">
<input type="submit" class="button" value="Add Note" onclick="this.disabled=1;document.bugnoteadd.submit();" />
</td>
</tr>
</table>
</form>
</div><div id="bugnote_add_closed"><table class="width100" cellspacing="1">
<tr>
<td class="form-title" colspan="2">
<a href="" onclick="ToggleDiv( 'bugnote_add' ); return false;"
><img border="0" src="images/plus.png" alt="+" /></a> Add Note </td>
</tr>
</table>
</div>
<a name="bugnotes" id="bugnotes" /><br />
<div id="bugnotes_open"><table class="width100" cellspacing="1">
<tr>
<td class="form-title" colspan="2">
<a href="" onclick="ToggleDiv( 'bugnotes' ); return false;"
><img border="0" src="images/minus.png" alt="-" /></a> Notes </td>
</tr>
<tr>
<td class="center" colspan="2">
There are no notes attached to this issue. </td>
</tr>
</table>
</div><div id="bugnotes_closed" class="hidden">
<table class="width100" cellspacing="1">
<tr>
<td class="form-title" colspan="2">
<a href="" onclick="ToggleDiv( 'bugnotes' ); return false;"
><img border="0" src="images/plus.png" alt="+" /></a> Notes </td>
</tr>
</table>
</div>
<a name="bugnotestats" id="bugnotestats" /><br />
<div id="bugnotestats_open" class="hidden"><form method="post" action="view.php">
<input type="hidden" name="id" value="3475" />
<table border=0 class="width100" cellspacing="0">
<tr>
<td class="form-title" colspan="4">
<a href="" onclick="ToggleDiv( 'bugnotestats' ); return false;"
><img border="0" src="images/minus.png" alt="-" /></a> Time tracking </td>
</tr>
<tr class="row-2">
<td class="category" width="25%">
<table cellspacing="0" cellpadding="0">
<!-- Start date -->
<tr>
<td>
Start Date:
</td>
<td nowrap="nowrap">
<select name="start_year"><option value="2010" selected="selected">2010</option><option value="2009">2009</option><option value="2008">2008</option><option value="2007">2007</option><option value="2006">2006</option><option value="2005">2005</option><option value="2004">2004</option><option value="2003">2003</option><option value="2002">2002</option><option value="2001">2001</option><option value="2000">2000</option></select>
<select name="start_month"><option value="1">January</option><option value="2">February</option><option value="3" selected="selected">March</option><option value="4">April</option><option value="5">May</option><option value="6">June</option><option value="7">July</option><option value="8">August</option><option value="9">September</option><option value="10">October</option><option value="11">November</option><option value="12">December</option></select>
<select name="start_day"><option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option><option value="7">7</option><option value="8">8</option><option value="9">9</option><option value="10">10</option><option value="11" selected="selected">11</option><option value="12">12</option><option value="13">13</option><option value="14">14</option><option value="15">15</option><option value="16">16</option><option value="17">17</option><option value="18">18</option><option value="19">19</option><option value="20">20</option><option value="21">21</option><option value="22">22</option><option value="23">23</option><option value="24">24</option><option value="25">25</option><option value="26">26</option><option value="27">27</option><option value="28">28</option><option value="29">29</option><option value="30">30</option><option value="31">31</option></select>
</td>
</tr>
<!-- End date -->
<tr>
<td>
End Date:
</td>
<td>
<select name="end_year"><option value="2010" selected="selected">2010</option><option value="2009">2009</option><option value="2008">2008</option><option value="2007">2007</option><option value="2006">2006</option><option value="2005">2005</option><option value="2004">2004</option><option value="2003">2003</option><option value="2002">2002</option><option value="2001">2001</option><option value="2000">2000</option></select>
<select name="end_month"><option value="1">January</option><option value="2">February</option><option value="3">March</option><option value="4">April</option><option value="5">May</option><option value="6">June</option><option value="7">July</option><option value="8">August</option><option value="9" selected="selected">September</option><option value="10">October</option><option value="11">November</option><option value="12">December</option></select>
<select name="end_day"><option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option><option value="7">7</option><option value="8">8</option><option value="9">9</option><option value="10">10</option><option value="11">11</option><option value="12">12</option><option value="13">13</option><option value="14">14</option><option value="15">15</option><option value="16">16</option><option value="17">17</option><option value="18">18</option><option value="19">19</option><option value="20">20</option><option value="21" selected="selected">21</option><option value="22">22</option><option value="23">23</option><option value="24">24</option><option value="25">25</option><option value="26">26</option><option value="27">27</option><option value="28">28</option><option value="29">29</option><option value="30">30</option><option value="31">31</option></select>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="center" colspan="2">
<input type="submit" class="button" name="get_bugnote_stats_button" value="Get Time Tracking Information" />
</td>
</tr>
</table>
</form>
</div><div id="bugnotestats_closed"><table class="width100" cellspacing="0">
<tr>
<td class="form-title" colspan="4">
<a href="" onclick="ToggleDiv( 'bugnotestats' ); return false;"
><img border="0" src="images/plus.png" alt="+" /></a> Time tracking </td>
</tr>
</table>
</div>
<a name="history" id="history" /><br />
<div id="history_open"><table class="width100" cellspacing="0">
<tr>
<td class="form-title" colspan="4">
<a href="" onclick="ToggleDiv( 'history' ); return false;"
><img border="0" src="images/minus.png" alt="-" /></a> Issue History </td>
</tr>
<tr class="row-category-history">
<td class="small-caption">
Date Modified </td>
<td class="small-caption">
Username </td>
<td class="small-caption">
Field </td>
<td class="small-caption">
Change </td>
</tr>
<tr class="row-2">
<td class="small-caption">
2010-03-11 12:02 </td>
<td class="small-caption">
<a href="http://SomeWebSiteAddress.com/view_user_page.php?id=4">alex</a> </td>
<td class="small-caption">
New Issue </td>
<td class="small-caption">
</td>
</tr>
<tr class="row-1">
<td class="small-caption">
2010-03-11 12:02 </td>
<td class="small-caption">
<a href="http://SomeWebSiteAddress.com/view_user_page.php?id=4">alex</a> </td>
<td class="small-caption">
Status </td>
<td class="small-caption">
new => assigned </td>
</tr>
<tr class="row-2">
<td class="small-caption">
2010-03-11 12:02 </td>
<td class="small-caption">
<a href="http://SomeWebSiteAddress.com/view_user_page.php?id=4">alex</a> </td>
<td class="small-caption">
Assigned To </td>
<td class="small-caption">
=> axi </td>
</tr>
<tr class="row-1">
<td class="small-caption">
2010-08-29 12:20 </td>
<td class="small-caption">
<a href="http://SomeWebSiteAddress.com/view_user_page.php?id=1">administrator</a> </td>
<td class="small-caption">
Assigned To </td>
<td class="small-caption">
axi => </td>
</tr>
</table>
</div><div id="history_closed" class="hidden"><table class="width100" cellspacing="0">
<tr>
<td class="form-title" colspan="4">
<a href="" onclick="ToggleDiv( 'history' ); return false;"
><img border="0" src="images/plus.png" alt="+" /></a> Issue History </td>
</tr>
</table>
</div><br /><table class="width100" cellspacing="0"><tr><td class="menu"><a href="/main_page.php">Main</a> | <a href="/my_view_page.php">My View</a> | <a href="/view_all_bug_page.php">View Issues</a> | <a href="/bug_report_page.php">Report Issue (Ask a Question)</a> | <a href="/changelog_page.php">Change Log</a> | <a href="/roadmap_page.php">Roadmap</a> | <a href="/summary_page.php">Summary</a> | <a href="/manage_overview_page.php">Manage</a> | <a href="/account_page.php">My Account</a> | <a href="/billing_page.php">Billing</a> | <a href="/logout_page.php">Logout</a></td><td class="menu right nowrap"><form method="post" action="/jump_to_bug.php"><input type="text" name="bug_id" size="10" class="small" value="Issue #" onfocus="if (this.value == 'Issue #') this.value = ''" onblur="if (this.value == '') this.value = 'Issue #'" /> <input type="submit" class="button-small" value="Jump" /> </form></td></tr></table> <br />
<hr size="1" />
<table border="0" width="100%" cellspacing="0" cellpadding="0"><tr valign="top"><td> <address>Copyright © 2000 - 2010 MantisBT Group</address>
<address><a href="mailto:support@CompanyName.com">support@CompanyName.com</a></address>
</td><td>
<div align="right"><a href="http://www.mantisbt.org" title="Free Web Based Bug Tracker"><img src="/images/mantis_logo_button.gif" width="88" height="35" alt="Powered by Mantis Bugtracker" border="0" /></a></div>
</td></tr></table>
</body>
</html> Re: repeating sections on issue detail page (view.php)
First of all another investigation: Did you have a look at your webserver logfiles?
Any warnings, errors, missing files ...?
Until now I had not much time to have a look at the posted HTML code.
It seems that you changed files of standard delivery. (at least messages)
I think further investigations should take place with original source code without any modifications.
You should also try with a minimized config_inc.php with nothing more in it than:
Maybe the problem is related to one of the options you enabled (eta, timer, ...)
TBH I don't think it helps, because I tried your settings in my test installation, which worked still fine.
But it's worth a try and at least helps to reduce the generated HTML code. (which you can post again)
Any warnings, errors, missing files ...?
Until now I had not much time to have a look at the posted HTML code.
It seems that you changed files of standard delivery. (at least messages)
I think further investigations should take place with original source code without any modifications.
You should also try with a minimized config_inc.php with nothing more in it than:
Code: Select all
$g_hostname = 'xxx';
$g_db_type = 'xxx';
$g_database_name = 'xxx';
$g_db_username = 'xxx';
$g_db_password = 'xxx';
TBH I don't think it helps, because I tried your settings in my test installation, which worked still fine.
But it's worth a try and at least helps to reduce the generated HTML code. (which you can post again)
Re: repeating sections on issue detail page (view.php)
Tried a bare bones version of config_inc.php and it made no difference.
Then, I looked through the apache log and found these type of errors:
[root@server6]# grep -i "domainname.com" /var/log/httpd/error_log
[Sun Sep 19 09:06:37 2010] [error] PHP Notice: Use of undefined constant reporter_id - assumed 'reporter_id' in /home/domainname/config_inc.php on line 66, referer: http://domainname.com/login_page.php
[Sun Sep 19 13:30:03 2010] [error] [client 76.170.54.75] PHP Notice: Use of undefined constant reporter_id - assumed 'reporter_id' in /home/domainname/config_inc.php on line 68, referer: http://domainname.com/view_all_bug_page.php
These two lines were:
$g_roadmap_view_threshold = DEVELOPER;
$g_view_changelog_threshold = MANAGER;
I commented them out, and the error log looks clean now. However, the issue persists.
What do you mean by this statement: It seems that you changed files of standard delivery. (at least messages)
Which message looked different? I don't think I modified much in the strings_english.txt. Please advise.
Thanks atrol.
Then, I looked through the apache log and found these type of errors:
[root@server6]# grep -i "domainname.com" /var/log/httpd/error_log
[Sun Sep 19 09:06:37 2010] [error] PHP Notice: Use of undefined constant reporter_id - assumed 'reporter_id' in /home/domainname/config_inc.php on line 66, referer: http://domainname.com/login_page.php
[Sun Sep 19 13:30:03 2010] [error] [client 76.170.54.75] PHP Notice: Use of undefined constant reporter_id - assumed 'reporter_id' in /home/domainname/config_inc.php on line 68, referer: http://domainname.com/view_all_bug_page.php
These two lines were:
$g_roadmap_view_threshold = DEVELOPER;
$g_view_changelog_threshold = MANAGER;
I commented them out, and the error log looks clean now. However, the issue persists.
What do you mean by this statement: It seems that you changed files of standard delivery. (at least messages)
Which message looked different? I don't think I modified much in the strings_english.txt. Please advise.
Thanks atrol.
Re: repeating sections on issue detail page (view.php)
Try with original version of language file, or just try whether the behaviour changes if you choose another language where you didn't modify anything.
I just want to be sure, that the problem is not caused by any customization.
Best would be, that you setup a fresh installation on same server.
I just want to be sure, that the problem is not caused by any customization.
Best would be, that you setup a fresh installation on same server.
Re: repeating sections on issue detail page (view.php)
Changing the lang file didn't do anything for me. I will have to schedule a time to set it up in a different directory this weekend. Thanks very much.
Re: repeating sections on issue detail page (view.php)
The problem was........ THAT I REPLACED default.css with my custom one (from the previous version). Once I changed it to the version that came with 1.2.3, worked like a charm. Go figure. What the heck was I thinking! All well now. Thanks for taking the time to put up with me 
Re: repeating sections on issue detail page (view.php)
Thanks for providing feedback. Great to hear it works now.
Maybe in version 1.3 we will have a system to check which files are changed by users. This will help to find such problems a lot quicker.
Maybe in version 1.3 we will have a system to check which files are changed by users. This will help to find such problems a lot quicker.