Announcement

Collapse
No announcement yet.

Problème interface admin

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

  • Problème interface admin

    Bonjour à vous!

    Premièrement, BRAVO...

    Deuxièmement, je viens de terminer l'installation de oreon avec nagios automatiquement...

    J'ai configuré le server mysql avec la BD etc...le user admin c'est bel et bien crée dans la BD...

    Exemple, si je tente de me logger avec mon user crée et le bon mot de passe rien ne se passe...aucune erreur ou log...

    Mais si j'entre un mauvais user/pass et bien la j'ai un erreur disant que le user est inexistant!

    Si je change mes infos dans oreon.conf.php, et bien j'ai un erreur MYSQL standard disant que le user ne peux pas accéder a la BD etc...

    Alors, avec tout ca, je peux dire que ma configuration est bonne mais lorsque je click sur "submit" rien ne se passe...c'est comme si le bouton n'appelait rien!...

    J'ai installation la version 1.0 et je roule sur un Fedora Core 2...

    Je n'y comprends absolument rien!

    Merci de m'éclairer!

  • #2
    PHP 4.3.4 (cgi) (built: Apr 7 2004 09:43:47)
    Copyright (c) 1997-2003 The PHP Group

    Voici ma version PHP et voici ce que j'ai dans mes logs...

    [client 127.0.0.1] PHP Notice: Use of undefined constant admin - assumed 'admin' in /var/www/html/mainfile.php on line 373
    [client 127.0.0.1] PHP Notice: Use of undefined constant bkey - assumed 'bkey' in /var/www/html/mainfile.php on line 375
    [client 127.0.0.1] PHP Notice: Use of undefined constant userbox - assumed 'userbox' in /var/www/html/mainfile.php on line 375
    [client 127.0.0.1] PHP Notice: Use of undefined constant bkey - assumed 'bkey' in /var/www/html/mainfile.php on line 377
    [client 127.0.0.1] PHP Notice: Undefined index: 1 in /var/www/html/mainfile.php on line 593
    [client 127.0.0.1] PHP Notice: Undefined offset: 2 in /var/www/html/mainfile.php on line 596
    [client 127.0.0.1] PHP Notice: Undefined offset: 1 in /var/www/html/blocks/block-Who_is_Online.php on line 27
    [client 127.0.0.1] PHP Notice: Undefined variable: who_online in /var/www/html/blocks/block-Who_is_Online.php on line 40
    [client 127.0.0.1] PHP Notice: Undefined index: 2 in /var/www/html/mainfile.php on line 214
    [client 127.0.0.1] PHP Notice: Undefined index: 2 in /var/www/html/mainfile.php on line 214
    [client 127.0.0.1] PHP Notice: Use of undefined constant bkey - assumed 'bkey' in /var/www/html/mainfile.php on line 373
    [client 127.0.0.1] PHP Notice: Use of undefined constant admin - assumed 'admin' in /var/www/html/mainfile.php on line 373
    [client 127.0.0.1] PHP Notice: Use of undefined constant bkey - assumed 'bkey' in /var/www/html/mainfile.php on line 375
    [client 127.0.0.1] PHP Notice: Use of undefined constant userbox - assumed 'userbox' in /var/www/html/mainfile.php on line 375
    [client 127.0.0.1] PHP Notice: Undefined index: 2 in /var/www/html/mainfile.php on line 214
    [client 127.0.0.1] PHP Notice: Use of undefined constant bkey - assumed 'bkey' in /var/www/html/mainfile.php on line 373
    [client 127.0.0.1] PHP Notice: Use of undefined constant admin - assumed 'admin' in /var/www/html/mainfile.php on line 373
    [client 127.0.0.1] PHP Notice: Use of undefined constant bkey - assumed 'bkey' in /var/www/html/mainfile.php on line 375
    [client 127.0.0.1] PHP Notice: Use of undefined constant userbox - assumed 'userbox' in /var/www/html/mainfile.php on line 375
    [client 127.0.0.1] PHP Notice: Use of undefined constant bkey - assumed 'bkey' in /var/www/html/mainfile.php on line 377
    [client 127.0.0.1] PHP Notice: Undefined variable: content in /var/www/html/blocks/block-Symantec.php on line 20
    [client 127.0.0.1] PHP Notice: Use of undefined constant bkey - assumed 'bkey' in /var/www/html/mainfile.php on line 373
    [client 127.0.0.1] PHP Notice: Use of undefined constant admin - assumed 'admin' in /var/www/html/mainfile.php on line 373
    [client 127.0.0.1] PHP Notice: Use of undefined constant bkey - assumed 'bkey' in /var/www/html/mainfile.php on line 375
    [client 127.0.0.1] PHP Notice: Use of undefined constant userbox - assumed 'userbox' in /var/www/html/mainfile.php on line 375
    [client 127.0.0.1] PHP Notice: Use of undefined constant bkey - assumed 'bkey' in /var/www/html/mainfile.php on line 377
    [client 127.0.0.1] PHP Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to $
    [client 127.0.0.1] PHP Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to $
    [client 127.0.0.1] PHP Notice: Undefined variable: content in /var/www/html/blocks/block-Symantec2.php on line 80
    [client 127.0.0.1] PHP Notice: Use of undefined constant _PAGEGENERATION - assumed '_PAGEGENERATION' in /var/www/html/footer.php o$
    [client 127.0.0.1] PHP Notice: Use of undefined constant _SECONDS - assumed '_SECONDS' in /var/www/html/footer.php on line 29

    Ce n'est que les quelques dernières lignes!

    Comment


    • #3
      Ca c'était les logs de ces erreurs à lui-même...maintenant celles que j'Ai quand j'essai de me logger!

      [client 142.243.134.100] PHP Warning: session_start(): open(/var/lib/php/session/sess_1c53d212c0d51c5e67ffa6da69d2e6c8, O_RDWR) fa$
      [client 142.243.134.100] PHP Warning: Unknown(): open(/var/lib/php/session/sess_1c53d212c0d51c5e67ffa6da69d2e6c8, O_RDWR) failed: $
      [client 142.243.134.100] PHP Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of s$
      [client 142.243.134.100] PHP Warning: session_start(): open(/var/lib/php/session/sess_1c53d212c0d51c5e67ffa6da69d2e6c8, O_RDWR) fa$
      [client 142.243.134.100] PHP Fatal error: Call to a member function on a non-object in /usr/local/oreon/header.php on line 63, ref$
      [client 142.243.134.100] PHP Warning: Unknown(): open(/var/lib/php/session/sess_1c53d212c0d51c5e67ffa6da69d2e6c8, O_RDWR) failed: $
      [client 142.243.134.100] PHP Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of s$
      [client 142.243.134.100] PHP Warning: session_start(): open(/var/lib/php/session/sess_1c53d212c0d51c5e67ffa6da69d2e6c8, O_RDWR) fa$
      [client 142.243.134.100] PHP Warning: Unknown(): open(/var/lib/php/session/sess_1c53d212c0d51c5e67ffa6da69d2e6c8, O_RDWR) failed: $
      [client 142.243.134.100] PHP Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of s$
      [client 142.243.134.100] PHP Warning: session_start(): open(/var/lib/php/session/sess_1c53d212c0d51c5e67ffa6da69d2e6c8, O_RDWR) fa$
      [client 142.243.134.100] PHP Warning: Unknown(): open(/var/lib/php/session/sess_1c53d212c0d51c5e67ffa6da69d2e6c8, O_RDWR) failed: $
      [client 142.243.134.100] PHP Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of s$

      Comment


      • #4
        assure toi d avoir le support des sessions avec php !
        Intel(R) Xeon(TM) CPU 3.4GHz - MemTotal : 1034476 kB
        Centreon 2.4.1 - Nagios 3.2.1 - Nagios Plugins 1.4.15 - Manubulon Plugins tuné
        Fedora Core 5 - 2.6.20-1.2320

        Comment


        • #5
          Je crois bien avoir ce support car j'Ai installer phpnuke sur ce poste...et phpnuke utilise les sessions!

          Mais comment puis-je en être certain?

          Comment


          • #6
            session
            Session Support enabled


            ------------------

            gd
            GD Support enabled
            GD Version bundled (2.0.15 compatible)
            FreeType Support enabled
            FreeType Linkage with freetype
            GIF Read Support enabled
            JPG Support enabled
            PNG Support enabled
            WBMP Support enabled
            XBM Support enabled


            Voici ce que phpinfo() me donne!

            Comment


            • #7
              a vrai dire je ne sais pas, désolé :wink:

              mais ta reflexion me semble juste !
              si t heberge des services web qui utilisent les sessions et fonctionnent alors le pb ne doit pas venir de là.
              Intel(R) Xeon(TM) CPU 3.4GHz - MemTotal : 1034476 kB
              Centreon 2.4.1 - Nagios 3.2.1 - Nagios Plugins 1.4.15 - Manubulon Plugins tuné
              Fedora Core 5 - 2.6.20-1.2320

              Comment


              • #8
                et vous avez aussi le package php-mysql et mysql_auth ?

                Comment

                Working...
                X