Welcome, Guest
Username: Password: Remember me

TOPIC: Password issue after migratie 1.92 to 2.0

Password issue after migratie 1.92 to 2.0 1 year 2 weeks ago #100389

  • tammo
  • tammo's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 36
  • Thank you received: 3
  • Karma: 1
I defined a new (local) install of version 2.0 (130929) and loaded a database from version 1.92 (120920). After loading localhost.myurl/admin the database got upgraded but login is impossible with any of the accounts.

When I use the right password, the system return with a login page, when I use a wrong password the system tells me the password is wrong (obviously).

I have used the password reset method as described in another issue, but to no avail.
www.limesurvey.org/en/forum/installation...admin-password#91707

What setting do I need to change to get this new installation working?

Any help greatly appreciated.

Tammo ter Hark
Tools for Research
The administrator has disabled public write access.

Password issue after migratie 1.92 to 2.0 1 year 2 weeks ago #100395

  • Ben_V
  • Ben_V's Avatar
  • OFFLINE
  • Platinum Lime
  • Posts: 1112
  • Thank you received: 250
  • Karma: 78
Hello,
you may have a look here
Benoît

goo.gl/Bw5iM => Recherche GG dans le forum français (remplacer "exemple" dans la barre de recherche)
goo.gl/WX8PH => GG search for english forum (Replace "example" in the search bar)
goo.gl/IxiGu => Búsqueda en el foro en español (Cambiar "ejemplo" en la barra de...
The administrator has disabled public write access.

Password issue after migratie 1.92 to 2.0 1 year 2 weeks ago #100396

  • tammo
  • tammo's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 36
  • Thank you received: 3
  • Karma: 1
Hi Benoit,

thank you very much. I did try your suggested solution (before I wrote the forum topic), I even refer to it in my topic.

There are two issues with your solution:
  1. all my users are gone
  2. it did not work, same issue as before: when I try password "password" the login page reappears, when I try another password, I receive an error message saying the password is wrong

Isn't here a way of emptiing the main password and setting it again?
Last Edit: 1 year 2 weeks ago by tammo.
The administrator has disabled public write access.

Password issue after migratie 1.92 to 2.0 1 year 2 weeks ago #100405

  • Ben_V
  • Ben_V's Avatar
  • OFFLINE
  • Platinum Lime
  • Posts: 1112
  • Thank you received: 250
  • Karma: 78
oups!!!

found this

hope it helps!
Benoît

goo.gl/Bw5iM => Recherche GG dans le forum français (remplacer "exemple" dans la barre de recherche)
goo.gl/WX8PH => GG search for english forum (Replace "example" in the search bar)
goo.gl/IxiGu => Búsqueda en el foro en español (Cambiar "ejemplo" en la barra de...
The administrator has disabled public write access.

Password issue after migratie 1.92 to 2.0 1 year 2 weeks ago #100408

  • tammo
  • tammo's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 36
  • Thank you received: 3
  • Karma: 1
Hi Benoit,

thank you for the time you invest in this.

You refer to a solution that is focussed on a previous version.

I think you refer to code that has been transformed into:

elseif ($sStoredPassword !== hash('sha256', $this->password))
{
$this->errorCode = self::ERROR_PASSWORD_INVALID;
}

However, when I comment this part of the code (lines 59-63 in my version) the issue remains, only with every password I receive a new login screen where all fields to use are blank again.

In the topic you mention a reference was made to the PHP-version that is used. I use this on XAMPP with version PHP 5.4.19 and MYSQL 5.5.32.

I use Limesurvey build 130923
The administrator has disabled public write access.

Password issue after migratie 1.92 to 2.0 1 year 2 weeks ago #100409

  • tammo
  • tammo's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 36
  • Thank you received: 3
  • Karma: 1
This is strange, after uncommenting the code I had just commented, it seemd to work. I am in now!

I really do not know what triggered this, maybe your karma...

Greetings from Haarlem, The Netherlands
The administrator has disabled public write access.

Password issue after migratie 1.92 to 2.0 1 year 2 weeks ago #100411

  • Ben_V
  • Ben_V's Avatar
  • OFFLINE
  • Platinum Lime
  • Posts: 1112
  • Thank you received: 250
  • Karma: 78
Good news..
Sometimes LS is like my old volvo 340: strangely broken but never died ;)
Benoît

goo.gl/Bw5iM => Recherche GG dans le forum français (remplacer "exemple" dans la barre de recherche)
goo.gl/WX8PH => GG search for english forum (Replace "example" in the search bar)
goo.gl/IxiGu => Búsqueda en el foro en español (Cambiar "ejemplo" en la barra de...
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.119 seconds
Donation Image