graphs_view.php broken in dual pane tree view
Moderators: Developers, Moderators
graphs_view.php broken in dual pane tree view
I have recently upgraded from 0.8.5a to 0.8.5c on the windows platform. I have discovered that the dual pane tree view does not seem to function properly. Usually there is no response from the server (No errors or data, just a blank page that is trying to load, but it never does). If I change to single pane, all works fine and great. I have applied all of the prepatches, however, I cannot apply all of the current patches (Since I am on a windows machine, no wget, no patch) Anyone have any suggestions?
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
What web browser are you using?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
graphs_view.php broken in dual pane tree view
The error occurs in Internet Explorer 6.0 (with no debug info), and Mozilla Firefox 1.0. The error message in Mozilla is that a redirection limit was exceeded for the requested URL or something like that.
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Um,
Can you dump your database and email it to me?
This is a new one on me.
Thanks,
Can you dump your database and email it to me?
This is a new one on me.
Thanks,
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
I got you email, I will try to look at it today.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Problem solved for me
The error was in a php timeout. There were never any error messages in the application log or displayed to the browser.
Thank you to Rony for figuring this one out for me.
Props homie
Thank you to Rony for figuring this one out for me.
Props homie
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
So, I gather it's working?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
-
- Posts: 4
- Joined: Wed Feb 16, 2005 10:46 am
Same issue
I have encountered the exact same issue. Could you point me toward which timeout setting to change (I assume in php.ini) and what value worked for you? Thanks!!!
Charlie
Charlie
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
On installations with a lot of hosts, and on slower servers, you want to increase the following php.ini settings:
max_execution_time = 60
memory_limit = 16M
Don't set them to high, that can cause other issues.
max_execution_time = 60
memory_limit = 16M
Don't set them to high, that can cause other issues.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
It is still awful slow
I don't think that the timeout was the only thing wrong. It works sparatically at best with the longer timeouts. I did some further research. I put a network sniffer on my requesting laptop, and found that there is a redirection loop. I think that with a fast server, the clent and server get confused as to where in the loop they are. Does this ring a bell. It is not the end of the world, but dual pane looks better. Any thoughts anyone.
Again:
MS Server 2003
php 4.3.10
MySQL is known good (version escapes me)
Any help appreciated
Anyone know exactly how the tree is built, and why all the server side redirects?
Again:
MS Server 2003
php 4.3.10
MySQL is known good (version escapes me)
Any help appreciated
Anyone know exactly how the tree is built, and why all the server side redirects?
I found the infinite loop
The loop is caused in top_graph_header.php.
if ((read_graph_config_option("default_tree_view_mode") == "2") && ($_REQUEST["action"] == "tree") && (!isset($_SESSION["sess_has_viewed_graphs"]))) {
$_SESSION["sess_has_viewed_graphs"] = true;
$first_branch = find_first_folder_url();
if (!empty($first_branch)) {
header("Location: $first_branch");
//print "not empty" .$first_branch;
}
I tried a couple of things, but this is where the redirection loop occurs. Anyone got any suggestions?
if ((read_graph_config_option("default_tree_view_mode") == "2") && ($_REQUEST["action"] == "tree") && (!isset($_SESSION["sess_has_viewed_graphs"]))) {
$_SESSION["sess_has_viewed_graphs"] = true;
$first_branch = find_first_folder_url();
if (!empty($first_branch)) {
header("Location: $first_branch");
//print "not empty" .$first_branch;
}
I tried a couple of things, but this is where the redirection loop occurs. Anyone got any suggestions?
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
The way this whole thing works is being re-evaluated...
I have no ideas at this time, I have only started looking at the issue.
I have no ideas at this time, I have only started looking at the issue.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
more tidbits of information
I have found that the page is functional by commenting out the redirection, the drawback is that it does not put the calendar controls and the default display on the right hand pane. However, if you click on any of the links it works just fine. The intermittance of this problem has made it very hard to diagnose. Thanks for all of everyone's help.
Who is online
Users browsing this forum: No registered users and 0 guests