View Full Version : Problème interface admin
unibroue
02-28-2005, 03:17 PM
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!
unibroue
02-28-2005, 03:26 PM
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!
unibroue
02-28-2005, 03:28 PM
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$
DonKiShoot
02-28-2005, 04:35 PM
assure toi d avoir le support des sessions avec php !
unibroue
02-28-2005, 04:47 PM
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?
unibroue
02-28-2005, 04:53 PM
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!
DonKiShoot
02-28-2005, 04:53 PM
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à.
kikidonc
03-01-2005, 12:02 PM
et vous avez aussi le package php-mysql et mysql_auth ?