Jump to content
thirty bees forum

can´t login to backoffice after update


Sonni

Recommended Posts

Hi together,

 

I tried to update tb today, I think I had 1.4 bleeding edge. An error was shown.

Unfortunately, I did not copy the error message. When I clicked on database I was logged out and can´t login anymore. Now it comes every time the error message email or password does not exist.

I have restored the database and also the files, unfortunately without success. I can not log in.

I have also tried this:

https://forum.thirtybees.com/topic/6081-locked-out/#comment-46072

it just does not work.

Can someone help me?

 

image.png.b50d50b79156bb53ba2430037ab66625.png

Thanks a lot!

Sonni

Edited by Sonni
Link to comment
Share on other sites

Luckily I don't test in a production environment, but the exact same thing happens to me. If Datakick needs a test environment, where to check the bug, I can provide access without problem.

I think the bug is due to the change in the way the new versions store passwords.

The failure when upgrading is as follows:

error.thumb.png.d2fb302be6526e45489f45ad89c00a1d.png

And the log after trying to log into the admin panel with the correct username and password:

PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /home/test/public_html/classes/Tab.php on line 664

PHP Warning:  Undefined array key "signature" in /home/test/public_html/classes/Employee.php on line 557

Edited by Kynes
image readability
  • Thanks 1
Link to comment
Share on other sites

I just checked that copying the classes/Employee.php file from the previous installation solves the problem. If you have a copy of that file, at least it will allow you to enter the store, try with the file included in the download for installing thirty bees 1.4.

Link to comment
Share on other sites

Here's a helper php script force-login.php

Upload it to your admin directory, and then open it in your browser, ie

https://your.domain.com/admin-dir/force-login.php

This should log you in without need for password.

Then go to core updater. In settings, enable Developer mode. Then click on Developer icon in upper right corner. In the developer tool, execute "Execute processes"

That should complete the failed migration, and you should be able to log-in again.

Don't forget to remove the force-login.php script again

force-login.php

PS: if you tried the suggestion from https://forum.thirtybees.com/topic/6081-locked-out/#comment-46072 thread, then don't forget that your password is already changed to changeme1234

 

Link to comment
Share on other sites

10 hours ago, Kynes said:

I just checked that copying the classes/Employee.php file from the previous installation solves the problem. If you have a copy of that file, at least it will allow you to enter the store, try with the file included in the download for installing thirty bees 1.4.

it worked, thanks a lot!!

Link to comment
Share on other sites

9 hours ago, datakick said:

Here's a helper php script force-login.php

Upload it to your admin directory, and then open it in your browser, ie

https://your.domain.com/admin-dir/force-login.php

This should log you in without need for password.

Then go to core updater. In settings, enable Developer mode. Then click on Developer icon in upper right corner. In the developer tool, execute "Execute processes"

That should complete the failed migration, and you should be able to log-in again.

Don't forget to remove the force-login.php script again

force-login.php 766 B · 0 downloads

PS: if you tried the suggestion from https://forum.thirtybees.com/topic/6081-locked-out/#comment-46072 thread, then don't forget that your password is already changed to changeme1234

 

tried it, maybe I didn´t take the right file to upload it, but it didn´t work. The faster way for me is the tip from Kynes 🙂

still thanks!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...