Announcement

Collapse
No announcement yet.

RC2 update install

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

  • RC2 update install

    I followed the instructions in UPGRADE file: copied the files in folder /usr/local/oreon, run the php file and wanted to go to oreon web interface to finish the upgrade. I got this:
    Warning: main(../functions.php): failed to open stream: No such file or directory in /usr/local/oreon/www/install/upgrade.php on line 20

    Warning: main(): Failed opening '../functions.php' for inclusion (include_path='.:/usr/share/pear') in /usr/local/oreon/www/install/upgrade.php on line 20

    Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /usr/local/oreon/www/install/upgrade.php:20) in /usr/local/oreon/www/class/Session.class.php on line 29

    Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /usr/local/oreon/www/install/upgrade.php:20) in /usr/local/oreon/www/class/Session.class.php on line 29

    Fatal error: Call to undefined function: aff_header() in /usr/local/oreon/www/install/upgrade.php on line 40


    I tried clean install too, but the same error.

  • #2
    C'est un problème dans le chemin de functions.php
    Il faut éditer upgrade.php et remplacer
    include_once ("../functions.php");
    par
    include_once ("step_upgrade/functions.php");

    Pour moi ça a marché
    Translation

    Edit upgrade.php and replace
    include_once ("../functions.php");
    by
    include_once ("step_upgrade/functions.php");
    Romain Le Merlus
    Centreon Forge
    MERETHIS

    Comment


    • #3
      I believe the solution is posted in French Forum (I catch 50% of the topics in French, jejeje).

      I think it's about functions.php path. It's not in /usr/local/oreon/www/functions.php, it's at /usr/local/oreon/www/install/step_upgrade/functions.php

      You may change upgrade.php line

      include_once ("../functions.php");


      for

      include_once ("../step_upgrade/functions.php");

      Hope it helps
      [Linux 2.4.20-28.7 - RedHat 7.2]
      [Linux 2.6.16.21-0.25 - OpenSuSE 10.1]
      [Apache 1.3.x, PHP 5.x, MySQL 5.x]
      [Apache 2.2.x, PHP 5.x, MySQL 5.x]
      [Nagios 1.4.1+Nagmin -Production-, Nagios 2.5+Oreon 1.3.1-1 -PreProduction-, Nagios 2.5+Oreon 1.3.1-1 -Testing-]

      Comment


      • #4
        Ok rom, you're faster ... LOL
        [Linux 2.4.20-28.7 - RedHat 7.2]
        [Linux 2.6.16.21-0.25 - OpenSuSE 10.1]
        [Apache 1.3.x, PHP 5.x, MySQL 5.x]
        [Apache 2.2.x, PHP 5.x, MySQL 5.x]
        [Nagios 1.4.1+Nagmin -Production-, Nagios 2.5+Oreon 1.3.1-1 -PreProduction-, Nagios 2.5+Oreon 1.3.1-1 -Testing-]

        Comment


        • #5
          sorry, a 1.3-RC2-1 is just available to correct this problem.
          Julien Mathis
          Centreon Project Leader
          www.merethis.com |

          Comment


          • #6
            Sync datetime

            Check your server's datetime and you machine's datetime.

            Cookie's live time is 3600 secends.
            If great 3600secends, system can not set cookies.

            Comment

            Working...
            X