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 1 month ago #100389

  • tammo
  • tammo's Avatar
  • OFFLINE
  • Senior Lime
  • Posts: 42
  • 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

Tammo ter Hark
Tools for Research
Haarlem/Amsterdam, The Netherlands

The administrator has disabled public write access.

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

  • Ben_V
  • Ben_V's Avatar
  • NOW ONLINE
  • Platinum Lime
  • Posts: 1154
  • Thank you received: 274
  • Karma: 79
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 1 month ago #100396

  • tammo
  • tammo's Avatar
  • OFFLINE
  • Senior Lime
  • Posts: 42
  • 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?

Tammo ter Hark
Tools for Research
Haarlem/Amsterdam, The Netherlands

Last Edit: 1 year 1 month ago by tammo.
The administrator has disabled public write access.

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

  • Ben_V
  • Ben_V's Avatar
  • NOW ONLINE
  • Platinum Lime
  • Posts: 1154
  • Thank you received: 274
  • Karma: 79
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 1 month ago #100408

  • tammo
  • tammo's Avatar
  • OFFLINE
  • Senior Lime
  • Posts: 42
  • 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

Tammo ter Hark
Tools for Research
Haarlem/Amsterdam, The Netherlands

The administrator has disabled public write access.

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

  • tammo
  • tammo's Avatar
  • OFFLINE
  • Senior Lime
  • Posts: 42
  • 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

Tammo ter Hark
Tools for Research
Haarlem/Amsterdam, The Netherlands

The administrator has disabled public write access.

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

  • Ben_V
  • Ben_V's Avatar
  • NOW ONLINE
  • Platinum Lime
  • Posts: 1154
  • Thank you received: 274
  • Karma: 79
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.114 seconds
Donation Image