Announcement

Collapse
No announcement yet.

Javascript Error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Javascript Error

    Sorry... I don't speak French.

    I installed Oreon, however after I log in I get a black screen with the following javascript error:

    Line: 45
    Char: 2
    Error: Object Required
    Code: 0
    URL: domain:8080/oreon/oreon.php

    html:
    <?xml version="1.0" encoding="iso-8859-1"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
    <title>Supervision Tool - Powered By Oreon</title>
    <link rel="shortcut icon" href="./img/iconOreon.ico"/>
    <link rel="stylesheet" type="text/css" href="./include/common/javascript/autocompletion.css" />
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
    <link href="./Themes/Basic/style.css" rel="stylesheet" type="text/css"/>
    <link href="./Themes/Basic/menu.css" rel="stylesheet" type="text/css"/>
    <link href="./Themes/Basic/configuration_form.css" rel="stylesheet" type="text/css"/>
    <link href="./Themes/Basic/Color/pink_css.php" rel="stylesheet" type="text/css"/>
    <script language='javascript' src='./include/common/javascript/ajaxStatusCounter.js'></script>
    <script type='text/javascript'>
    window.onload = function () {
    setTimeout('reloadStatusCounter(15000,"2i2bussrjoa 9i9outhmh712cs0")', 1000);
    };
    </script>
    </head>
    <body>

    Running IE 7.

    In Firefox I simply get a blank page.

    Any ideas?

  • #2
    ...remembering the error console in Firefox:

    Error: _form has no properties

    function reloadStatusCounter(_relaod_time,_sid){


    _form=document.getElementById('AjaxBankBasic');
    _version=_form.version.value; <-- here
    _fileStatus=_form.fileStatus.value;
    _fileOreonConf=_form.fileOreonConf.value;

    var xhrC = getXhrC();
    // On defini ce qu'on va faire quand on aura la reponse
    xhrC.onreadystatechange = function()

    Comment


    • #3
      yes but you should put this in bugtracker We can't aknownledge bugs in forum...
      Julien Mathis
      Centreon Project Leader
      www.merethis.com |

      Comment


      • #4
        Any fix?

        Has anyone found a fix for this problem? I also get the _form has no properties error.

        Comment


        • #5
          Update: This is likely caused by a path problem. You need to run some updates on your SQL database to fix paths and then this will work. See the Centreon wiki for distro-specific fixes.

          Comment

          Working...
          X