graph_view - and no path to JavaScript files - unsolved

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
User avatar
Frodoger
Cacti User
Posts: 94
Joined: Wed Jun 30, 2004 9:28 am
Location: Germany, Frankfurt am Main
Contact:

graph_view - and no path to JavaScript files - unsolved

Post by Frodoger »

Hello,

like post (http://forums.cacti.net/viewtopic.php?t ... h_view.php)

i have the same problem.

i saved the code for the side as html text, and copy it to an other cacti install here. But it is also empty. :-(

Is there any other answer?

I have an cacti 0.8.6j edition blank install from scratch.

Plz help me
Frodoger
Last edited by Frodoger on Fri Jun 08, 2007 5:55 am, edited 2 times in total.
User avatar
Frodoger
Cacti User
Posts: 94
Joined: Wed Jun 30, 2004 9:28 am
Location: Germany, Frankfurt am Main
Contact:

Post by Frodoger »

Is it possible that the problems come from the missing .js links in the file?

What must i do to get them linked in the file?
I have all .js files in the correct path.

System
Linux: 4.0 Etch
PHP: 4.4.4-8+etch3
Apache: 2
MySQL: 4.1.19
Cacti: 0.8.6j (manual installation)


The following code is my graph_view.php:
(i used the tree contents from an other thread here (http://forums.cacti.net/viewtopic.php?t=19953))

Code: Select all

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0035)http://172.xxx.xxx.xxx/cacti/cacti.htm -->
<!-- saved from url=(0091)http://172.xxx.xxx.xxx/cacti/graph_view.php?action=tree&tree_id=5&leaf_id=203&select_first=true --><HTML><HEAD><TITLE>cacti</TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META http-equiv=refresh content=300><LINK href="cacti-Dateien/main.css" 
rel=stylesheet>
<SCRIPT src="" type=text/javascript></SCRIPT>

<SCRIPT src="" type=text/javascript></SCRIPT>

<SCRIPT src="" type=text/javascript></SCRIPT>

<SCRIPT src="" type=text/javascript></SCRIPT>

<SCRIPT src="" type=text/javascript></SCRIPT>

<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY leftMargin=0 topMargin=0 marginwidth="0" marginheight="0">
<TABLE height="100%" cellSpacing=0 cellPadding=0 width="100%">
  <TBODY>
  <TR class=noprint bgColor=#a9a9a9 height=37>
    <TD vAlign=bottom noWrap colSpan=2>
      <TABLE cellSpacing=0 cellPadding=0 width="100%">
        <TBODY>
        <TR>
          <TD noWrap>&nbsp;<A href="http://172.22.1.26/cacti/index.php"><IMG 
            alt=Console src="" align=absMiddle border=0></A><A 
            href="http://172.22.1.26/cacti/graph_view.php"><IMG alt=Graphs 
            src="" align=absMiddle border=0></A>&nbsp; </TD>
          <TD><IMG src="" align=absMiddle> </TD>
          <TD noWrap align=right>&nbsp;&nbsp;<A 
            href="http://172.22.1.26/cacti/graph_view.php?action=tree"><IMG 
            title="Tree View" alt="Tree View" src="" align=absMiddle 
            border=0></A><A 
            href="http://172.22.1.26/cacti/graph_view.php?action=list"><IMG 
            title="List View" alt="List View" src="" align=absMiddle 
            border=0></A><A 
            href="http://172.22.1.26/cacti/graph_view.php?action=preview"><IMG 
            title="Preview View" alt="Preview View" src="" align=absMiddle 
            border=0></A>&nbsp;<BR></TD></TR></TBODY></TABLE></TD></TR>
  <TR class=noprint bgColor=#183c8f height=2 colspan="2">
    <TD colSpan=2><IMG height=2 src="" width=170 border=0><BR></TD></TR>
  <TR class=noprint bgColor=#e9e9e9 height=5>
    <TD colSpan=2>
      <TABLE width="100%">
        <TBODY>
        <TR>
          <TD><A href="http://172.22.1.26/cacti/graph_view.php">Graphs</A> 
            -> Tree Mode </TD>
          <TD align=right>Logged in as <STRONG>hschuetze</STRONG> (<A 
            href="http://172.22.1.26/cacti/logout.php">Logout</A>)&nbsp; 
        </TD></TR></TBODY></TABLE></TD></TR>
  <TR class=noprint>
    <TD 
    style="BORDER-RIGHT: #aaaaaa 1px solid; BACKGROUND-IMAGE: url(images/shadow_gray.gif); BACKGROUND-REPEAT: repeat-x" 
    bgColor=#efefef height=8><IMG height=2 src="" width=200 border=0><BR></TD>
    <TD 
    style="BACKGROUND-IMAGE: url(images/shadow.gif); BACKGROUND-REPEAT: repeat-x" 
    bgColor=#ffffff height=8></TD></TR>
  <TR>
    <TD class=noprint 
    style="BORDER-RIGHT: #aaaaaa 1px solid; PADDING-RIGHT: 5px; PADDING-LEFT: 5px; PADDING-BOTTOM: 5px; PADDING-TOP: 5px" 
    vAlign=top width=200 bgColor=#efefef>
      <TABLE cellSpacing=0 cellPadding=0 border=0>
        <TBODY>
        <TR>
          <TD><FONT size=-2><A 
            style="FONT-SIZE: 7pt; COLOR: silver; TEXT-DECORATION: none" 
            href="http://www.treemenu.net/" 
        target=_blank></A></FONT></TD></TR></TBODY></TABLE>
      <SCRIPT type=text/javascript>

   <!--
   USETEXTLINKS = 1
   STARTALLOPEN = 0
   USEFRAMES = 0
   USEICONS = 0
   WRAPTEXT = 1
   PERSERVESTATE = 1
   HIGHLIGHT = 1
   foldersTree = gFld("", "")
ou0 = insFld(foldersTree, gFld("Default", "graph_view.php?action=tree&tree_id=1"))
ou1 = insFld(ou0, gFld("XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=104"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=105"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=106"))
ou1 = insFld(ou0, gFld("XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=101"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=102"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=103"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=107"))
ou1 = insFld(ou0, gFld("XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=173"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=174"))
ou1 = insFld(ou0, gFld("XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=120"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=167"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=121"))
ou1 = insFld(ou0, gFld("XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=122"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=123"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=125"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=124"))
ou1 = insFld(ou0, gFld("XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=51"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=91"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=52"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=108"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=53"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=92"))
ou1 = insFld(ou0, gFld("XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=151"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=152"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=187"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=184"))
ou1 = insFld(ou0, gFld("XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=109"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=179"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=178"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=177"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=111"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=110"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=112"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=113"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=115"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=117"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=114"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=116"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=118"))
ou1 = insFld(ou0, gFld("XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=57"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=62"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=60"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=83"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=80"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=66"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=69"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=76"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=72"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=186"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=73"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=86"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=74"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=78"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=84"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=68"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=81"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=64"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=70"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=59"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=170"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=67"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=79"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=71"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=65"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=75"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=77"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=88"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=85"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=82"))
ou1 = insFld(ou0, gFld("XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=93"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=94"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=95"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=96"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=97"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=119"))
ou1 = insFld(ou0, gFld("XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=191"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=192"))
ou1 = insFld(ou0, gFld("Fecourt", "graph_view.php?action=tree&tree_id=1&leaf_id=98"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=99"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=100"))
ou1 = insFld(ou0, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=7"))
ou1 = insFld(ou0, gFld("XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=126"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=129"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=127"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=130"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=128"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=168"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=169"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=135"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=138"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=131"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=132"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=139"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=141"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=144"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=175"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=150"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=145"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=146"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=136"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=137"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=133"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=134"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=142"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=140"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=143"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=176"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=147"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=149"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=148"))
ou1 = insFld(ou0, gFld("XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=17"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=56"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=55"))
ou1 = insFld(ou0, gFld("XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=188"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=189"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=190"))
ou1 = insFld(ou0, gFld("XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=180"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=181"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=182"))
ou2 = insFld(ou1, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=183"))
ou1 = insFld(ou0, gFld("XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=153"))
ou2 = insFld(ou1, gFld("XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=156"))
ou2 = insFld(ou1, gFld("XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=154"))
ou2 = insFld(ou1, gFld("XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=164"))
ou2 = insFld(ou1, gFld("XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=162"))
ou2 = insFld(ou1, gFld("XXX", "graph_view.php?action=tree&tree_id=1&leaf_id=160"))
ou0 = insFld(foldersTree, gFld("XXX", "graph_view.php?action=tree&tree_id=2"))
ou1 = insFld(ou0, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=2&leaf_id=193"))
ou1 = insFld(ou0, gFld("<strong>Host:</strong> XXX", "graph_view.php?action=tree&tree_id=2&leaf_id=194"))
   foldersTree.treeID = "t2";
   //-->
   </script> 

      <SCRIPT type=text/javascript>initializeDocument();</SCRIPT>

      <SCRIPT type=text/javascript>
			var obj;
			obj = findObj(1);

			if (!obj.isOpen) {
				clickOnNode(1);
			}

			clickOnLink(2,'','main');
			</SCRIPT>
    </TD>
    <TD vAlign=top>
      <TABLE cellPadding=3 width="98%" align=center>
        <TBODY></TBODY></TABLE>
      <TABLE 
      style="BORDER-RIGHT: #bbbbbb 1px solid; BORDER-TOP: #bbbbbb 1px solid; BORDER-LEFT: #bbbbbb 1px solid; BORDER-BOTTOM: #bbbbbb 1px solid; BACKGROUND-COLOR: #f5f5f5" 
      cellPadding=3 width="98%" align=center>
        <SCRIPT type=text/javascript>
	// Initialize the calendar
	calendar=null;

	// This function displays the calendar associated to the input field 'id'
	function showCalendar(id) {
		var el = document.getElementById(id);
		if (calendar != null) {
			// we already have some calendar created
			calendar.hide();  // so we hide it first.
		} else {
			// first-time call, create the calendar.
			var cal = new Calendar(true, null, selected, closeHandler);
			cal.weekNumbers = false;  // Do not display the week number
			cal.showsTime = true;     // Display the time
			cal.time24 = true;        // Hours have a 24 hours format
			cal.showsOtherMonths = false;    // Just the current month is displayed
			calendar = cal;                  // remember it in the global var
			cal.setRange(1900, 2070);        // min/max year allowed.
			cal.create();
		}

		calendar.setDateFormat('%Y-%m-%d %H:%M');    // set the specified date format
		calendar.parseDate(el.value);                // try to parse the text in field
		calendar.sel = el;                           // inform it what input field we use

		// Display the calendar below the input field
		calendar.showAtElement(el, "Br");        // show the calendar

		return false;
	}

	// This function update the date in the input field when selected
	function selected(cal, date) {
		cal.sel.value = date;      // just update the date in the input field.
	}

	// This function gets called when the end-user clicks on the 'Close' button.
	// It just hides the calendar without destroying it.
	function closeHandler(cal) {
		cal.hide();                        // hide the calendar
		calendar = null;
	}
</SCRIPT>

        <SCRIPT type=text/javascript>
<!--

	function applyTimespanFilterChange(objForm) {
		strURL = '?predefined_timespan=' + objForm.predefined_timespan.value;
		document.location = strURL;
	}

-->
</SCRIPT>

        <TBODY>
        <TR class=noprint bgColor=#e5e5e5>
          <FORM name=form_timespan_selector method=post>
          <TD class=noprint>
            <TABLE cellSpacing=0 cellPadding=0 width="100%">
              <TBODY>
              <TR>
                <TD class=textHeader noWrap>Presets:&nbsp; <SELECT 
                  onchange=applyTimespanFilterChange(document.form_timespan_selector) 
                  name=predefined_timespan> <OPTION value=1>Last Half 
                    Hour</OPTION> <OPTION value=2>Last Hour</OPTION> <OPTION 
                    value=3>Last 2 Hours</OPTION> <OPTION value=4>Last 4 
                    Hours</OPTION> <OPTION value=5>Last 6 Hours</OPTION> <OPTION 
                    value=6>Last 12 Hours</OPTION> <OPTION value=7 selected>Last 
                    Day</OPTION> <OPTION value=8>Last 2 Days</OPTION> <OPTION 
                    value=9>Last 3 Days</OPTION> <OPTION value=10>Last 4 
                    Days</OPTION> <OPTION value=11>Last Week</OPTION> <OPTION 
                    value=12>Last 2 Weeks</OPTION> <OPTION value=13>Last 
                    Month</OPTION> <OPTION value=14>Last 2 Months</OPTION> 
                    <OPTION value=15>Last 3 Months</OPTION> <OPTION 
                    value=16>Last 4 Months</OPTION> <OPTION value=17>Last 6 
                    Months</OPTION> <OPTION value=18>Last Year</OPTION> <OPTION 
                    value=19>Last 2 Years</OPTION></SELECT> 
                  <STRONG>&nbsp;From:&nbsp;</STRONG> <INPUT id=date1 size=14 
                  value="2007-06-05 13:01" name=date1> &nbsp;<INPUT 
                  onclick="return showCalendar('date1');" type=image 
                  alt="Start date selector" src="" align=absMiddle 
                  border=0>&nbsp; <STRONG>To:&nbsp;</STRONG> <INPUT id=date2 
                  size=14 value="2007-06-06 13:01" name=date2> &nbsp;<INPUT 
                  onclick="return showCalendar('date2');" type=image 
                  alt="End date selector" src="" align=absMiddle border=0> 
                  &nbsp;&nbsp;<INPUT type=image alt="Refresh selected time span" 
                  src="" align=absMiddle value=refresh border=0 
                  name=button_refresh> <INPUT type=image 
                  alt="Return to the default time span" src="" align=absMiddle 
                  border=0 name=button_clear> 
        </TD></TR></TBODY></TABLE></TD></FORM></TR></TBODY></TABLE><BR>
      <TABLE 
      style="BORDER-RIGHT: #bbbbbb 1px solid; BORDER-TOP: #bbbbbb 1px solid; BORDER-LEFT: #bbbbbb 1px solid; BORDER-BOTTOM: #bbbbbb 1px solid; BACKGROUND-COLOR: #f5f5f5" 
      cellPadding=3 width="98%" align=center>
        <TBODY>
        <TR bgColor=#6d88ad>
          <TD class=textHeaderDark width=390 colSpan=3><STRONG>Tree:</STRONG> 
            Spezialansichten-> <STRONG>Leaf:</STRONG> SQL 
      Server</TD></TR></TBODY></TABLE><BR><BR><BR></TD></TR></TBODY></TABLE></BODY></HTML>
[/code]
User avatar
Frodoger
Cacti User
Posts: 94
Joined: Wed Jun 30, 2004 9:28 am
Location: Germany, Frankfurt am Main
Contact:

Post by Frodoger »

is there no solution?? or way to bind the .js files in the graph_view.php ????



PLZ HELP !!!!


greetings
Frodoger
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Would it be an option to copy a fresh (and fully patched) cacti code over your current installation? I've never heard of an issue like this one
Reinhard
User avatar
Frodoger
Cacti User
Posts: 94
Joined: Wed Jun 30, 2004 9:28 am
Location: Germany, Frankfurt am Main
Contact:

Post by Frodoger »

- i have made an new fresh install of cacti
- i changed the path fields in poller_item table to the new path, because i reuse my old database

and the .js files would be linked in the file.

thanx.

Frodoger
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests