Problème dans le module admin login/Problem at log in on admin module< Sujet précédent  Sujet suivant >
Index du Forum -> NUKED-KLAN VERSION > 1.7 -> Généralités
AuteurMessage
Spain.gif RauliTop
Newbie



Messages : 6
Inscrit(e) le: 18/07/2016
Problème dans le module admin login/Problem at log in on admin module

Hi, I will use the two languages because I don't know to talk in French, and you probably can't understand me.

 

[EN / original text]

Currently, I use nuked-klan 1.7.9 with some modifications. There's no problem with my modifications, but one day when I tried to connect to Admin panel, I put my nickname and pass again (obviously) but the panel didn't connect me... and no error like "bad password" or something like that appeared.

I didn't make any modification or something that day, it's really really strange.

Furthermore, captcha system failed too and didn't generate a text on the image... I think probably it's a problem with hash. So, I downloaded hash again and admin module (v1.7.9), I replaced them, but the problem didn't solve.

 

One week later (today), I decide to update to 1.7.15 thinking that would solve the problem. Ok, update with no problem. Again, I go to the admin panel but the same happens, nothing: It doesn't log in and it doesn't throw any error.

 

The login system works perfectly. It does log me with no problems and I'm admin from the site with the permissions. Only fails the log in when I try to login on admin panel.

 

[FR]

Actuellement, j'utilise 1.7.9 nuked-klan avec quelques modifications. Il n'y a pas de problème avec mes modifications, mais un jour quand j'ai essayé de se connecter au panneau d'administration, je mets mon surnom et passe à nouveau (évidemment), mais le panneau ne me branchez pas ... et pas d'erreur comme "mauvais mot de passe" ou quelque chose comme cela.
Je ne fais aucune modification ou quelque chose de ce jour-là, il est vraiment très étrange.
En outre, le système de captcha a échoué aussi et n'a pas généré un texte sur l'image ... Je pense que c'est probablement un problème avec hachage. Donc, je l'ai téléchargé hachage nouveau module admin (v1.7.9), je les ai remplacé, mais le problème persiste.

 

Une semaine plus tard (aujourd'hui), je décide de mettre à jour 1.7.15 pensée qui permettrait de résoudre le problème. Ok, mettre à jour sans problème. Encore une fois, je vais au panneau d'administration, mais arrive la même chose, rien: Il ne se connecte pas et il ne jette pas d'erreur.

 

Le système de connexion fonctionne parfaitement. Il ne se connecte-moi sans aucun problème et je suis admin à partir du site avec les autorisations. échoue Seul le journal lorsque je tente de se connecter sur le panneau d'administration.

 

 

Anyways, thanks for giving me the attention



Edité par RauliTop le 18/07/2016 - 21:23:28
Posté le 18/07/2016 - 21:19:25   Revenir en haut | Permalien
France.gif Akred
Développeur

Messages : 897
Inscrit(e) le: 22/11/2007
RE : Problème dans le module admin login/Problem at log in on admin module

Hello,

Have you tried to reset your password through the link "forgoet password".

With this, you will receive a email to reset this.

 

Thanks



Posté le 26/07/2016 - 23:41:53   Revenir en haut | Permalien
Spain.gif RauliTop
Newbie



Messages : 6
Inscrit(e) le: 18/07/2016
RE : Problème dans le module admin login/Problem at log in on admin module
Citation par Akred :

Hello,

Have you tried to reset your password through the link "forgoet password".

With this, you will receive a email to reset this.

 

Thanks

The problem isn't only for my account, there are other administrators that can't access to the panel.

Anyways, I tried what you said and the same happened. It doesn't appear "Bad nick or password", directly don't work the login.



Posté le 27/07/2016 - 12:45:18   Revenir en haut | Permalien
France.gif Akred
Développeur

Messages : 897
Inscrit(e) le: 22/11/2007
RE : Problème dans le module admin login/Problem at log in on admin module

When you say that it's maybe a hash problem, do you mean that you have change it ?

Because if you change the hash conf.inc.php file, you will not be able to log again.



Posté le 27/07/2016 - 22:17:58   Revenir en haut | Permalien
Spain.gif RauliTop
Newbie



Messages : 6
Inscrit(e) le: 18/07/2016
RE : Problème dans le module admin login/Problem at log in on admin module
Citation par Akred :

When you say that it's maybe a hash problem, do you mean that you have change it ?

Because if you change the hash conf.inc.php file, you will not be able to log again.

No, I didn't change that.

That was my first idea, but after debugging some code I see the problem is on $_SESSION['admin']

 

The modules/Admin/login.php calls $_SESSION['admin'] = true   after login (it's OK, no problem). But then on index.php (NOT modules/Admin/index.php) I found:

else if (($_REQUEST['file'] == 'Admin' || $_REQUEST['page'] == 'admin' || (isset($_REQUEST['nuked_nude']) && $_REQUEST['nuked_nude'] == 'admin'Wink) && $_SESSION['admin'] == 0){
    include('modules/Admin/login.php'Wink;
}

 

It seems that $_SESSION['admin'] it is never in true (I don't know why if modules/Admin/login.php do it...) and it's stucking on that line all the time including modules/Admin/login.php



Posté le 28/07/2016 - 16:07:55   Revenir en haut | Permalien