Can't View Live Data in DW8

I am trying to view MS Access database records in a jsp page
using Dreamweaver 8.0.2 (as part of the Cafe Townsend tutorial)
In the Databases panel I can see the database objects. The
test to database connection successfuly returns database records.
However, when I click on LIVE DATA VIEW icon, a red exclamation
mark(!) appears next to the Recordset(rs_Comment) #prior version#
line of the Server Behaviors tab.
When I select this line and double-click a message box
saying: "This server behavior was created with a prior version of
UltraDev. It will be replaced with the current version when you
click OK in the server behavior dialog box." appears. I hit OK in
the box, and hit OK in the Recordset dialog box that also appears.
The exclamation marked line disappears from the Server Behavior
tabbed pane, but the problem remains unsolved.
I uninstalled and reinstalled DW8, but the problem persists.
Any help would be appreciated.

"RogerLH" <[email protected]> wrote in
message
news:fgnke1$qqi$[email protected]..
> I am trying to view MS Access database records in a jsp
page using
> Dreamweaver
> 8.0.2 (as part of the Cafe Townsend tutorial)
>
> In the Databases panel I can see the database objects.
The test to
> database
> connection successfuly returns database records.
However, when I click on
> LIVE
> DATA VIEW icon, a red exclamation mark(!) appears next
to the
> Recordset(rs_Comment) #prior version# line of the Server
Behaviors tab.
>
> When I select this line and double-click a message box
saying: "This
> server
> behavior was created with a prior version of UltraDev.
It will be replaced
> with
> the current version when you click OK in the server
behavior dialog box."
> appears. I hit OK in the box, and hit OK in the
Recordset dialog box that
> also
> appears. The exclamation marked line disappears from the
Server Behavior
> tabbed
> pane, but the problem remains unsolved.
>
> I uninstalled and reinstalled DW8, but the problem
persists.
>
> Any help would be appreciated.
Does the code get changed in any way, or does the code stay
exactly the same
and is dreamweaver somehow not recognizing it anymore?
Joris

Similar Messages

  • Can't View Live Data in DW8 Tutorial

    I am trying to view MS Access database records in a jsp page
    using Dreamweaver 8.0.2 (as part of the Cafe Townsend tutorial)
    In the Databases panel I can see the database objects. The
    test to database connection successfuly returns database records.
    However, when I click on LIVE DATA VIEW icon, a red exclamation
    mark(!) appears next to the Recordset(rs_Comment) #prior version#
    line of the Server Behaviors tab.
    When I select this line and double-click a message box
    saying: "This server behavior was created with a prior version of
    UltraDev. It will be replaced with the current version when you
    click OK in the server behavior dialog box." appears. I hit OK in
    the box, and hit OK in the Recordset dialog box that also appears.
    The exclamation marked line disappears from the Server Behavior
    tabbed pane, but the problem remains unsolved.
    I uninstalled and reinstalled DW8, but the problem persists.
    Any help would be appreciated.

    quote:
    Originally posted by:
    RogerLH
    I am trying to view MS Access database records in a jsp page
    using Dreamweaver 8.0.2 (as part of the Cafe Townsend tutorial)
    In the Databases panel I can see the database objects. The
    test to database connection successfuly returns database records.
    However, when I click on LIVE DATA VIEW icon, a red exclamation
    mark(!) appears next to the Recordset(rs_Comment) #prior version#
    line of the Server Behaviors tab.
    When I select this line and double-click a message box
    saying: "This server behavior was created with a prior version of
    UltraDev. It will be replaced with the current version when you
    click OK in the server behavior dialog box." appears. I hit OK in
    the box, and hit OK in the Recordset dialog box that also appears.
    The exclamation marked line disappears from the Server Behavior
    tabbed pane, but the problem remains unsolved.
    I installed and reinstalled DW8, but the problem persists.
    Any help would be appreciated.
    I'm new to the Forum and DW I need some help saving a file
    and then opening back up in the interface lol

  • Can't view my data on my table in EM

    Can anyone tell me why I am getting the error below after executing my control file and also why I can't view that data which was loaded.
    SQL*Loader: Release 10.2.0.1.0 - Production on Thu Jul 12 16:28:57 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Control File: workattribute2.ctl
    Data File: workattribute.dat
    Bad File: workattribute.bad
    Discard File: none specified
    (Allow all discards)
    Number to load: ALL
    Number to skip: 0
    Errors allowed: 50
    Bind array: 64 rows, maximum of 256000 bytes
    Continuation: none specified
    Path used: Conventional
    Table WORKATTRIBUTE, loaded from every logical record.
    Insert option in effect for this table: APPEND
    Column Name Position Len Term Encl Datatype
    RESUMEID FIRST * CHARACTER
    Terminator string : 'x'09''
    WORKID NEXT * CHARACTER
    Terminator string : 'x'09''
    ID NEXT * CHARACTER
    Terminator string : 'x'09''
    TYPE NEXT * CHARACTER
    Terminator string : 'x'09''
    Record 1: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 2: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 3: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 4: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 5: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 6: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 7: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 8: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 9: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 10: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 11: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 12: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 13: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 14: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 15: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 16: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 17: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 18: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 19: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 20: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 21: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 22: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 23: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 24: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 25: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 26: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 27: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 28: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 29: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 30: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 31: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 32: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 33: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 34: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 35: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 36: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 37: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 38: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 39: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 40: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 41: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 42: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 43: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 44: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 45: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 46: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 47: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 48: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 49: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 50: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 51: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    MAXIMUM ERROR COUNT EXCEEDED - Above statistics reflect partial run.
    Table WORKATTRIBUTE:
    0 Rows successfully loaded.
    51 Rows not loaded due to data errors.
    0 Rows not loaded because all WHEN clauses were failed.
    0 Rows not loaded because all fields were null.
    Space allocated for bind array: 66048 bytes(64 rows)
    Read buffer bytes: 1048576
    Total logical records skipped: 0
    Total logical records read: 51
    Total logical records rejected: 51
    Total logical records discarded: 0
    Run began on Thu Jul 12 16:28:57 2007
    Run ended on Thu Jul 12 16:29:05 2007
    Elapsed time was: 00:00:08.09
    CPU time was: 00:00:00.12
    thank you in advance

    Hi User572297,
    This is the wrong forum for a SQL Loader Q, not a bad thing, you just won't get as many responses.
    That said, it seems either your terminator string is not present, incorrect or you are simply trying to load to many characters into a column that is too small. For ex: trying to load 50 characters into a Varchar2(40). You get this error for every row, hence you can not see any of the data, becuase none of the rows loaded. See below:
    0 Rows successfully loaded.
    51 Rows not loaded due to data errors.
    What would help is to know the datatype and size of the RESUMEID column AND to see the first lines of your workattribute.dat file.

  • Can't view changed data in journal data

    Hi,
    I have implemented JKM Oracle 10g Consistent Logminer on Oracle 10g with the following option.
    - Asynchronous_mode : yes
    - Auto_configuration : yes
    1. Change Data Capture -> Add to CDC, 2.Subscriber->subscribe (sunopsis),
    3. Start Journal
    The journal has been started correctly wothout errors. The journalized table has always the symbol "green clock". All is gook working.
    And then i inserted 1 record in source table, but i can't view changed data in journal data. I can't understand why journal data was generated.
    There are no errors.
    Help me !!!

    Did your designer was on the good context ?
    Look the list box at the top right of the Designer interface.
    You must have the same as the one where you define your journalization.

  • How can i view the data from Access DB in oracle

    pls tell me that how can i view the data of MS ACCESS DATABASE in ORACLE.i was use ODBC of ACCESS DATABASE AND THEN CREATE DATABASE LINK IN ORACLE BUT NOT YET SUCCEEDED.PLS TELL ME THE PROCEDURE.
    regard's

    hi,
    u nedd to use Oracle Hetrogeneous Services,,
    full details of the procedure u may fing on metalink
    Regards

  • How can we view the data asociated with Request ID

    Hi All,
    I have data loaded in an ODS there are multiple files loaded in this ODS. Now i want to view data for a perticuler request OR i want to know how can we know the data associated with a perticular request.
    Please help me out.
    Thanks & Regards
    Amit Kumar

    Copy the request number (not request ID) from the ODS manage screen, Goto RSRQ give the request number and execute. it shows the monitor screen- now goto PSA from the top and check the data. But this possible only if you are loading data to PSA also along with ODS.
    Otherwise, Goto Display Data of ODS from the right click on it -- in the selection screen give the Request ID that you want to check the data. Then it displays only that request data.
    Hope this helps.
    Veerendra.
    Edited by: denduluri veerendra kumar on Dec 1, 2009 12:40 PM
    Edited by: denduluri veerendra kumar on Dec 1, 2009 12:43 PM

  • [SOLVED] Can't view Monitorix data

    I installed Monitorix on my home server and want it to work together with an Apache HTTP server. I think I configured it correctly, and I can reach Monitorix's home page, but when I click on 'OK' to view the data, instead what I get is what I assume to be a perl script:
    #!/usr/bin/env perl
    # Monitorix - A lightweight system monitoring tool.
    # Copyright (C) 2005-2015 by Jordi Sanfeliu <[email protected]>
    # This program is free software; you can redistribute it and/or modify
    # it under the terms of the GNU General Public License as published by
    # the Free Software Foundation; either version 2 of the License, or
    # (at your option) any later version.
    # This program is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    # GNU General Public License for more details.
    # You should have received a copy of the GNU General Public License along
    # with this program; if not, write to the Free Software Foundation, Inc.,
    # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
    use strict;
    use warnings;
    use FindBin qw($Bin);
    use lib $Bin . "/lib", "/usr/lib/monitorix";
    use Monitorix;
    use CGI qw(:standard);
    use Config::General;
    use POSIX;
    use RRDs;
    my %config;
    my %cgi;
    my %colors;
    my %tf;
    my @version12;
    my @version12_small;
    sub multihost {
    my ($config, $colors, $cgi) = @_;
    my $n;
    my $n2;
    my @host;
    my @url;
    my @foot_url;
    my $multihost = $config->{multihost};
    if($cgi->{val} =~ m/group(\d*)/) {
    my @remotegroup_desc;
    # all groups
    if($cgi->{val} eq "group") {
    my @remotegroup_list = split(',', $multihost->{remotegroup_list});
    for($n = 0; $n < scalar(@remotegroup_list); $n++) {
    scalar(my @tmp = split(',', $multihost->{remotegroup_desc}->{$n}));
    for($n2 = 0; $n2 < scalar(@tmp); $n2++) {
    push(@remotegroup_desc, trim($tmp[$n2]));
    # specific group
    if($cgi->{val} =~ m/group(\d+)/) {
    my $gnum = int($1);
    @remotegroup_desc = split(',', $multihost->{remotegroup_desc}->{$gnum});
    my @remotehost_list = split(',', $multihost->{remotehost_list});
    for($n = 0; $n < scalar(@remotegroup_desc); $n++) {
    my $h = trim($remotegroup_desc[$n]);
    for($n2 = 0; $n2 < scalar(@remotehost_list); $n2++) {
    my $h2 = trim($remotehost_list[$n2]);
    if($h eq $h2) {
    push(@host, $h);
    push(@url, (split(',', $multihost->{remotehost_desc}->{$n2}))[0] . (split(',', $multihost->{remotehost_desc}->{$n2}))[2]);
    push(@foot_url, (split(',', $multihost->{remotehost_desc}->{$n2}))[0] . (split(',', $multihost->{remotehost_desc}->{$n2}))[1]);
    } else {
    my @remotehost_list = split(',', $multihost->{remotehost_list});
    for($n = 0; $n < scalar(@remotehost_list); $n++) {
    push(@host, trim($remotehost_list[$n]));
    push(@url, (split(',', $multihost->{remotehost_desc}->{$n}))[0] . (split(',', $multihost->{remotehost_desc}->{$n}))[2]);
    push(@foot_url, (split(',', $multihost->{remotehost_desc}->{$n}))[0] . (split(',', $multihost->{remotehost_desc}->{$n}))[1]);
    $multihost->{graphs_per_row} = 1 unless $multihost->{graphs_per_row} > 1;
    my $graph = ($cgi->{graph} eq "all" || $cgi->{graph} =~ m/group\[0-9]*/) ? "_system1" : $cgi->{graph};
    if($cgi->{val} eq "all" || $cgi->{val} =~ m/group[0-9]*/) {
    for($n = 0; $n < scalar(@host); $n += $multihost->{graphs_per_row}) {
    print "<table cellspacing='5' cellpadding='0' width='1' bgcolor='$colors->{graph_bg_color}' border='1'>\n";
    print " <tr>\n";
    for($n2 = 0; $n2 < $multihost->{graphs_per_row}; $n2++) {
    if($n < scalar(@host)) {
    print " <td bgcolor='$colors->{title_bg_color}'>\n";
    print " <font face='Verdana, sans-serif' color='$colors->{fg_color}'>\n";
    print " <b>&nbsp;&nbsp;" . $host[$n] . "</b>\n";
    print " </font>\n";
    print " </td>\n";
    $n++;
    print " </tr>\n";
    print " <tr>\n";
    for($n2 = 0, $n = $n - $multihost->{graphs_per_row}; $n2 < $multihost->{graphs_per_row}; $n2++) {
    if($n < scalar(@host)) {
    print " <td bgcolor='$colors->{title_bg_color}' style='vertical-align: top; height: 10%; width: 10%;'>\n";
    print " <iframe src='" . $url[$n] . "/monitorix.cgi?mode=localhost&when=$cgi->{when}&graph=$graph&color=$cgi->{color}&silent=imagetag' height=201 width=397 frameborder=0 marginwidth=0 marginheight=0 scrolling=no></iframe>\n";
    print " </td>\n";
    $n++;
    print " </tr>\n";
    print " <tr>\n";
    for($n2 = 0, $n = $n - $multihost->{graphs_per_row}; $n2 < $multihost->{graphs_per_row}; $n2++) {
    if($n < scalar(@host)) {
    if(lc($multihost->{footer_url}) eq "y") {
    print " <td bgcolor='$colors->{title_bg_color}'>\n";
    print " <font face='Verdana, sans-serif' color='$colors->{title_fg_color}'>\n";
    print " <font size='-1'>\n";
    print " <b>&nbsp;&nbsp;<a href='" . $foot_url[$n] . "' style='color: " . $colors->{title_fg_color} . ";'>$foot_url[$n]</a></b>\n";
    print " </font></font>\n";
    print " </td>\n";
    $n++;
    $n = $n - $multihost->{graphs_per_row};
    print " </tr>\n";
    print "</table>\n";
    print "<br>\n";
    } else {
    print " <table cellspacing='5' cellpadding='0' width='1' bgcolor='$colors->{graph_bg_color}' border='1'>\n";
    print " <tr>\n";
    print " <td bgcolor='$colors->{title_bg_color}'>\n";
    print " <font face='Verdana, sans-serif' color='$colors->{fg_color}'>\n";
    print " <b>&nbsp;&nbsp;" . $host[$cgi->{val}] . "</b>\n";
    print " </font>\n";
    print " </td>\n";
    print " </tr>\n";
    print " <tr>\n";
    print " <td bgcolor='$colors->{title_bg_color}' style='vertical-align: top; height: 10%; width: 10%;'>\n";
    print " <iframe src='" . (split(',', $multihost->{remotehost_desc}->{$cgi->{val}}))[0] . (split(',', $multihost->{remotehost_desc}->{$cgi->{val}}))[2] . "/monitorix.cgi?mode=localhost&when=$cgi->{when}&graph=$graph&color=$cgi->{color}&silent=imagetagbig' height=249 width=545 frameborder=0 marginwidth=0 marginheight=0 scrolling=no></iframe>\n";
    print " </td>\n";
    print " </tr>\n";
    print " <tr>\n";
    if(lc($multihost->{footer_url}) eq "y") {
    print " <td bgcolor='$colors->{title_bg_color}'>\n";
    print " <font face='Verdana, sans-serif' color='$colors->{title_fg_color}'>\n";
    print " <font size='-1'>\n";
    print " <b>&nbsp;&nbsp;<a href='" . $foot_url[$cgi->{val}] . "' style='color: " . $colors->{title_fg_color} . ";'>$foot_url[$cgi->{val}]</a></b>\n";
    print " </font></font>\n";
    print " </td>\n";
    print " </tr>\n";
    print " </table>\n";
    print " <br>\n";
    sub graph_header {
    my ($title, $colspan) = @_;
    print("\n");
    print("<!-- graph table begins -->\n");
    print(" <table cellspacing='5' cellpadding='0' width='1' bgcolor='$colors{graph_bg_color}' border='1'>\n");
    print(" <tr>\n");
    print(" <td bgcolor='$colors{title_bg_color}' colspan='$colspan'>\n");
    print(" <font face='Verdana, sans-serif' color='$colors{title_fg_color}'>\n");
    print(" <b>&nbsp;&nbsp;$title</b>\n");
    print(" </font>\n");
    print(" </td>\n");
    print(" </tr>\n");
    sub graph_footer {
    print(" </table>\n");
    print("<!-- graph table ends -->\n");
    # MAIN
    open(IN, "< monitorix.conf.path");
    my $config_path = <IN>;
    chomp($config_path);
    close(IN);
    if(! -f $config_path) {
    print(<< "EOF");
    Content-Type: text/plain
    <pre>
    FATAL: Monitorix is unable to continue!
    =======================================
    File 'monitorix.conf.path' was not found.
    Please make sure that 'base_dir' option is correctly configured and this
    CGI (monitorix.cgi) is located in the 'base_dir'/cgi/ directory.
    And don't forget to restart Monitorix for the changes to take effect!
    EOF
    die "FATAL: File 'monitorix.conf.path' was not found!";
    # load main configuration file
    my $conf = new Config::General(
    -ConfigFile => $config_path,
    %config = $conf->getall;
    # load additional configuration files
    if($config{include_dir} && opendir(DIR, $config{include_dir})) {
    my @files = grep { !/^[.]/ } readdir(DIR);
    closedir(DIR);
    foreach my $c (sort @files) {
    next unless -f $config{include_dir} . "/$c";
    next unless $c =~ m/\.conf$/;
    my $conf_inc = new Config::General(
    -ConfigFile => $config{include_dir} . "/$c",
    my %config_inc = $conf_inc->getall;
    while(my ($key, $val) = each(%config_inc)) {
    if(ref($val) eq "HASH") {
    # two level options
    while(my ($key2, $val2) = each(%{$val})) {
    if(ref($val2) eq "HASH") {
    # three level options
    while(my ($key3, $val3) = each(%{$val2})) {
    $config{$key}->{$key2}->{$key3} = $val3;
    delete $config_inc{$key}->{$key2}->{$key3};
    next;
    $config{$key}->{$key2} = $val2;
    delete $config_inc{$key}->{$key2};
    next;
    # graph_name option is special
    if($key eq "graph_name") {
    $config{graph_name} .= ", $val";
    delete $config_inc{graph_name};
    next;
    # one level options
    $config{$key} = $val;
    delete $config_inc{$key};
    $config{url} = ($config{url_prefix_proxy} || "");
    if(!$config{url}) {
    $config{url} = ($ENV{HTTPS} || ($config{httpd_builtin}->{https_url} || "n") eq "y") ? "https://" . $ENV{HTTP_HOST} : "http://" . $ENV{HTTP_HOST};
    $config{hostname} = $config{hostname} || $ENV{SERVER_NAME};
    if(!($config{hostname})) { # called from the command line
    $config{hostname} = "127.0.0.1";
    $config{url} = "http://127.0.0.1";
    $config{url} .= $config{base_url};
    our $mode = defined(param('mode')) ? param('mode') : '';
    our $graph = param('graph');
    our $when = param('when');
    our $color = param('color');
    our $val = defined(param('val')) ? param('val') : '';
    our $silent = defined(param('silent')) ? param('silent') : '';
    if($mode ne "localhost") {
    ($mode, $val) = split(/\./, $mode);
    if(lc($config{httpd_builtin}->{enabled}) ne "y") {
    print("Content-Type: text/html\n");
    print("\n");
    # get the current OS and kernel version
    my $release;
    ($config{os}, undef, $release) = uname();
    if(!($release =~ m/^(\d+)\.(\d+)/)) {
    die "FATAL: unable to get the kernel version.";
    $config{kernel} = "$1.$2";
    $colors{graph_colors} = ();
    $colors{warning_color} = "--color=CANVAS#880000";
    # keep backwards compatibility for v3.2.1 and less
    if(ref($config{theme}) ne "HASH") {
    delete($config{theme});
    if(!$config{theme}->{$color}) {
    $color = "white";
    $config{theme}->{$color}->{main_bg} = "FFFFFF";
    $config{theme}->{$color}->{main_fg} = "000000";
    $config{theme}->{$color}->{title_bg} = "777777";
    $config{theme}->{$color}->{title_fg} = "CCCC00";
    $config{theme}->{$color}->{graph_bg} = "CCCCCC";
    $config{theme}->{$color}->{gap} = "000000";
    if($color eq "black") {
    push(@{$colors{graph_colors}}, "--color=CANVAS#" . $config{theme}->{$color}->{canvas});
    push(@{$colors{graph_colors}}, "--color=BACK#" . $config{theme}->{$color}->{back});
    push(@{$colors{graph_colors}}, "--color=FONT#" . $config{theme}->{$color}->{font});
    push(@{$colors{graph_colors}}, "--color=MGRID#" . $config{theme}->{$color}->{mgrid});
    push(@{$colors{graph_colors}}, "--color=GRID#" . $config{theme}->{$color}->{grid});
    push(@{$colors{graph_colors}}, "--color=FRAME#" . $config{theme}->{$color}->{frame});
    push(@{$colors{graph_colors}}, "--color=ARROW#" . $config{theme}->{$color}->{arrow});
    push(@{$colors{graph_colors}}, "--color=SHADEA#" . $config{theme}->{$color}->{shadea});
    push(@{$colors{graph_colors}}, "--color=SHADEB#" . $config{theme}->{$color}->{shadeb});
    push(@{$colors{graph_colors}}, "--color=AXIS#" . $config{theme}->{$color}->{axis})
    if defined($config{theme}->{$color}->{axis});
    $colors{bg_color} = $config{theme}->{$color}->{main_bg};
    $colors{fg_color} = $config{theme}->{$color}->{main_fg};
    $colors{title_bg_color} = $config{theme}->{$color}->{title_bg};
    $colors{title_fg_color} = $config{theme}->{$color}->{title_fg};
    $colors{graph_bg_color} = $config{theme}->{$color}->{graph_bg};
    $colors{gap} = $config{theme}->{$color}->{gap};
    ($tf{twhen}) = ($when =~ m/(hour|day|week|month|year)$/);
    ($tf{nwhen} = $when) =~ s/$tf{twhen}// unless !$tf{twhen};
    $tf{nwhen} = 1 unless $tf{nwhen};
    $tf{twhen} = "day" unless $tf{twhen};
    $tf{when} = $tf{nwhen} . $tf{twhen};
    # toggle this to 1 if you want to maintain old (2.3-) Monitorix with Multihost
    if($config{backwards_compat_old_multihost}) {
    $tf{when} = $tf{twhen};
    our ($res, $tc, $tb, $ts);
    if($tf{twhen} eq "day") {
    ($tf{res}, $tf{tc}, $tf{tb}, $tf{ts}) = (3600, 'h', 24, 1);
    if($tf{twhen} eq "week") {
    ($tf{res}, $tf{tc}, $tf{tb}, $tf{ts}) = (108000, 'd', 7, 1);
    if($tf{twhen} eq "month") {
    ($tf{res}, $tf{tc}, $tf{tb}, $tf{ts}) = (216000, 'd', 30, 1);
    if($tf{twhen} eq "year") {
    ($tf{res}, $tf{tc}, $tf{tb}, $tf{ts}) = (5184000, 'd', 365, 1);
    if($RRDs::VERSION > 1.2) {
    push(@version12, "--slope-mode");
    push(@version12, "--font=LEGEND:7:");
    push(@version12, "--font=TITLE:9:");
    push(@version12, "--font=UNIT:8:");
    if($RRDs::VERSION >= 1.3) {
    push(@version12, "--font=DEFAULT:0:Mono");
    if($tf{twhen} eq "day") {
    push(@version12, "--x-grid=HOUR:1:HOUR:6:HOUR:6:0:%R");
    push(@version12_small, "--font=TITLE:8:");
    push(@version12_small, "--font=UNIT:7:");
    if($RRDs::VERSION >= 1.3) {
    push(@version12_small, "--font=DEFAULT:0:Mono");
    if(!$silent) {
    my $title;
    my $str;
    my $piwik_code = "";
    my ($piwik_url, $piwik_sid, $piwik_img);
    # Piwik tracking code
    if(lc($config{piwik_tracking}->{enabled}) eq "y") {
    $piwik_url = $config{piwik_tracking}->{url} || "";
    $piwik_sid = $config{piwik_tracking}->{sid} || "";
    $piwik_img = $config{piwik_tracking}->{img} || "";
    $piwik_code = <<"EOF";
    <!-- Piwik -->
    <script type="text/javascript">
    var _paq = _paq || [];
    _paq.push(['trackPageView']);
    _paq.push(['enableLinkTracking']);
    (function() {
    var u=(("https:" == document.location.protocol) ? "https" : "http") + "$piwik_url";
    _paq.push(['setTrackerUrl', u+'piwik.php']);
    _paq.push(['setSiteId', $piwik_sid]);
    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript';
    g.defer=true; g.async=true; g.src=u+'piwik.js';
    s.parentNode.insertBefore(g,s);
    </script>
    <noscript>
    <p><img src="$piwik_img" style="border:0;" alt=""/></p>
    </noscript>
    <!-- End Piwik Code -->
    EOF
    print("<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 3.2 Final//EN'>\n");
    print("<html>\n");
    print(" <head>\n");
    print(" <title>$config{title}</title>\n");
    print(" <link rel='shortcut icon' href='" . $config{url} . "/" . $config{favicon} . "'>\n");
    if($config{refresh_rate}) {
    print(" <meta http-equiv='Refresh' content='" . $config{refresh_rate} . "'>\n");
    print(" </head>\n");
    print(" <body bgcolor='" . $colors{bg_color} . "' vlink='#888888' link='#888888'>\n");
    print(" $piwik_code\n");
    print(" <center>\n");
    print(" <table cellspacing='5' cellpadding='0' bgcolor='" . $colors{graph_bg_color} . "' border='1'>\n");
    print(" <tr>\n");
    if(($val ne "all" || $val ne "group") && $mode ne "multihost") {
    print(" <td bgcolor='" . $colors{title_bg_color} . "'>\n");
    print(" <font face='Verdana, sans-serif' color='" . $colors{title_fg_color} . "'>\n");
    print(" <font size='5'><b>&nbsp;&nbsp;Host:&nbsp;</b></font>\n");
    print(" </font>\n");
    print(" </td>\n");
    if($val =~ m/group(\d+)/) {
    my $gnum = $1;
    my $gname = (split(',', $config{multihost}->{remotegroup_list}))[$gnum];
    $gname = trim($gname);
    print(" <td bgcolor='" . $colors{title_bg_color} . "'>\n");
    print(" <font face='Verdana, sans-serif' color='" . $colors{title_fg_color} . "'>\n");
    print(" <font size='5'><b>&nbsp;&nbsp;$gname&nbsp;</b></font>\n");
    print(" </font>\n");
    print(" </td>\n");
    print(" <td bgcolor='" . $colors{bg_color} . "'>\n");
    print(" <font face='Verdana, sans-serif' color='" . $colors{fg_color} . "'>\n");
    if($mode eq "localhost" || $mode eq "traffacct") {
    $title = $config{hostname};
    } elsif($mode eq "multihost") {
    $graph = $graph eq "all" ? "_system1" : $graph;
    my ($g1, $g2) = ($graph =~ /(_\D+).*?(\d)$/);
    if($g1 eq "_port") {
    $title = $config{graphs}->{$g1};
    $g2 = trim((split(',', $config{port}->{list}))[$g2]);
    $title .= " " . $g2;
    $g2 = (split(',', $config{port}->{desc}->{$g2}))[0];
    $title .= " (" . trim($g2) . ")";
    } else {
    $g2 = "" if $g1 eq "_proc"; # '_procn' must be converted to '_proc'
    $title = $config{graphs}->{$g1 . $g2};
    $title =~ s/ /&nbsp;/g;
    print(" <font size='5'><b>&nbsp;&nbsp;$title&nbsp;&nbsp;</b></font>\n");
    print(" </font>\n");
    print(" </td>\n");
    print(" <td bgcolor='" . $colors{title_bg_color} . "'>\n");
    print(" <font face='Verdana, sans-serif' color='" . $colors{title_fg_color} . "'>\n");
    print(" <font size='5'><b>&nbsp;&nbsp;last&nbsp;$tf{twhen}&nbsp;&nbsp;</b></font>\n");
    print(" </font>\n");
    print(" </td>\n");
    print(" </tr>\n");
    print(" </table>\n");
    print(" <font face='Verdana, sans-serif' color='" . $colors{fg_color} . "'>\n");
    print(" <h4><font color='#888888'>" . strftime("%a %b %e %H:%M:%S %Z %Y", localtime) . "</font></h4>\n");
    $cgi{colors} = \%colors;
    $cgi{tf} = \%tf;
    $cgi{version12} = \@version12;
    $cgi{version12_small} = \@version12_small;
    $cgi{graph} = $graph;
    $cgi{when} = $when;
    $cgi{color} = $color;
    $cgi{val} = $val;
    $cgi{silent} = $silent;
    if($mode eq "localhost") {
    foreach (split(',', $config{graph_name})) {
    my $gn = trim($_);
    my $g = "";
    if($graph ne "all") {
    ($g) = ($graph =~ m/^_*($gn)\d*$/);
    next unless $g;
    if(lc($config{graph_enable}->{$gn}) eq "y") {
    my $cgi = $gn . "_cgi";
    eval "use $gn qw(" . $cgi . ")";
    if($@) {
    print(STDERR "WARNING: unable to load module '$gn. $@'\n");
    next;
    if($graph eq "all" || $gn eq $g) {
    no strict "refs";
    &$cgi($gn, \%config, \%cgi);
    } elsif($mode eq "multihost") {
    multihost(\%config, \%colors, \%cgi);
    } elsif($mode eq "traffacct") {
    eval "use $mode qw(traffacct_cgi)";
    if($@) {
    print(STDERR "WARNING: unable to load module '$mode'. $@\n");
    exit;
    traffacct_cgi($mode, \%config, \%cgi);
    if(!$silent) {
    print("\n");
    print(" </font>\n");
    print(" </center>\n");
    print("<!-- footer begins -->\n");
    print(" <p>\n");
    print(" <a href='http://www.monitorix.org'><img src='" . $config{url} . "/" . $config{logo_bottom} . "' border='0'></a>\n");
    print(" <br>\n");
    print(" <font face='Verdana, sans-serif' color='" . $colors{fg_color} . "' size='-2'>\n");
    print("Copyright &copy; 2005-2015 Jordi Sanfeliu\n");
    print(" </font>\n");
    print(" </body>\n");
    print("</html>\n");
    print("<!-- footer ends -->\n");
    0;
    Last edited by joaocandre (2015-03-15 20:45:19)

    karol wrote:Have you read https://wiki.archlinux.org/index.php/Mo … torix_Data ?
    I did, anything I'm missing? I'm sure base_dir is correctly set up in the config file. Other than that, the wiki article doesn't have any information if there's any additional steps to set it up on an Apache server.

  • How can I view The date, time, sender and/or receiver of a text message online?

    I would like to view the date and time sender and receiver of my text messages I read it can be done. I can't find where. If somone one could point me out in the right direction I would appreciate it. Thanks

    Log into your account and to the right of the phone photo you will see usage details in blue then on the next screen pick the phone on the account you want to see the details for and under that you can click to see eveyrthing in detail.  Mary

  • How can I view/copy data from one Time Capsule backup to another computer

    My MBP and MB both back up to Time Capsule. From the MBP I can see it's data on TC via my network but not the backed up data from the MacBook. How can I view and import MB data to my MBP from Time Capsule via AirPort? Thanks!

    Is the backup software Time Machine??
    You can open the TM backup as long as you haven't used profiles to backup. Or encypted it in latest Mountain Lion.
    See Q17 here. http://pondini.org/TM/FAQ.html
    You should read through all the stuff about using TM.. and restore in particular.. 14-18.

  • How can I view live videos supported with adobe flash on my IPad2?

    Need help viewing live videos supported with adobe flash.

    iSwifter, Photon, Skyfire, Puffin - are all browsers that MAY work for you. The iPad does not run Flash and never has. See if one of the browsers will suit your needs.

  • Where can i view the date i purchased my phone?

    Where can i find the date I purchased my phone online?

        Great question rswanson
    You can see your upgrade date and contract date online: http://bit.ly/xB4iTc I'm sorry there isnt a way to see when the device was activated. I would love to help. Please accept my follow request and send me a private message.
    JoeL_VZW
    Follow us on Twitter @VZWSupport

  • Can not view cellular data account any more (email address does not match)

    On iPad, was originally able to go into Settings > Cellular Data > View Account and view the account info. Now cannot. If try using correct email address and password, get message that account or password are incorrect. If try entering just the email address and clicking "forgot password", get "the email address you entered does not match the email address on file for this device".
    But the 3G cellular is still working.
    Don't know if related, but this problem began after the reports of the 100,000 iPads/users hack. Leads me to wonder if I got hacked.... or more likely if the system/database that "View Account" normally accesses is offline or being reworked by AT&T.
    Any suggestions? Best AT&T contact via Internet? By phone #? By local AT&T store? Via Apple? Use iTunes to reset to factory defaults and start over (risk loss of unlimited plan?)?.
    Thanks.

    Thanks for the replies, I just had the same problem yesterday and it was a misspelled e-mail address, BUT, it did take me three calls to AT&T and more than two and a half hours. The first person didn't even know what I was talking about and gave me a number for iPad support which turned out to be Apple's, so... no help. The second person told me they were there only to solve iPhone problems until I read her your posts, then she tried and tried until the call was cut off (this is AT&T after all). But the third person finally understood, even though it took her almost an hour to get to their iPad support department (she told me it was busy all the time) not before trying with their "technical department" also. I just can't believe that Apple sells millions of these things and AT&T can't supply a direct phone number for this department, or doesn't even train their personnel.

  • Can't view Cellular Data network on legally unlocked iPhone 3GS

    I bought an iphone from Singapore and those phones come as unlock. Now that I am in the States, I was hoping to use my corporate AT&T sim card for data surfing and all. While I am able to make calls, it says that I am not registered for cellular data network. I was able to surf the web using the same SIM on this other HTC phone.
    I was hoping to change the APN settings but that appears to be missing. How can I change the settings to that of AT&T?
    Thanks!

    Do you know the data plan rate your employer is paying for your HTC phone or for whatever phone the data plan is for?
    AT&T's enterprise data plan for the iPhone costs $45/mo.
    Sounds like you or your employer will need to contact AT&T customer support.

  • Audio only when using iPad with Safari: can I view live streaming video via Safari?

    I only get audio on streaming broadcasts when I click on the AirPlay Icon in the progress bar? Can anyone help me get the video to display as well?

    Websites have to have content in compatible format AND also need to allow video streaming - if both conditions are not met then Airplay will often give sound only.
    If iPad 2 try turning on full mirroring (Home button twice, swipe all way to right, Airplay and set Mirroring slider to on).
    AC

  • Live View CS4 vs Live Data View CS3

    In DW CS3 I was able to edit php pages in Design View with
    Live Data View turned on. Without it the page did not display
    properly. This made life easy adding content to clients web pages
    (the main stay of maintaining web sites).
    With DW CS4 this functionality appears to have been removed
    or perhaps I just cannot work out how to get it.
    Adding lots of content in code view is a pain - can anyone
    tell me if and why this has changed and has DW become a tool for
    fanciful coding at the cost of being the workhorse it used to
    be?

    aenh agn zfnst wrote:
    > In DW CS3 I was able to edit php pages in Design View
    with Live Data View
    > turned on. Without it the page did not display properly.
    This made life easy
    > adding content to clients web pages (the main stay of
    maintaining web sites).
    >
    > With DW CS4 this functionality appears to have been
    removed or perhaps I just
    > cannot work out how to get it.
    To access Live Data view in CS4, select View > Live Data
    or use the
    keyboard shortcut, Ctrl+Shift+R/Shift+Cmd+R.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

Maybe you are looking for

  • Deploy par file error using NWDS

    Hi I developed a portal service for activity report. After i deploy the service i get an Java Iview Runtime error in portal and our portal is down. I found the error which is a null reference in portal service i wrote.I fixed the problem, but i can't

  • How to create new folders while installing the VI in some other PC

    Hi,      I want to create a folder while installing the VI to some other maching using installer/setup.exe and also i want to copy some excel file to the c: drive of installing PC while installing is their anyway to do this. Please help me in this re

  • ExportDataObject fails: "invalid action object"

    Simple operation: I have a help file attached to the main PDF form. All I want to do is open it once upon opening of the form. I call the below function from the init procedure in the main form, but it fails. What am I doing wrong ? The file name is

  • Idoc Not reaching PI even with 03 status

    Hi everybody There are many posts with similar question, but none of them could help me. I am trying to post an IDOC from one SAP system 3.1 to SAP 6.0 through PI. I added FIDCC1 to to my partner profile in BD64. I am creating a invoice and clearing

  • Storing scanned files Directly in SAP DMS?

    Hi, Is it possible to store the document in SAP DMS directly from the scanner? If i scan a document using a scanner the scanned document should be stored automatically in SAP DMS. Is it possible? Regards, MRK