Forum

Ask, reply and learn. Join the community of Akaunting.

New Discussion

Changed name via GUI and cant log in

Erez Zabusky   ( User )

Commented 6 years ago

Hi All,


 


via URL logged in with my admin email and password, then via GUI clicked on user and added my name and saved, then logged out. now cant log in again??


 


Your help is greatly appreciated.


Thanks.

Erez Zabusky   ( User )

Commented 6 years ago

Tried #Fix 386 no luck


 

Erez Zabusky   ( User )

Commented 6 years ago

Tried reinstall however now error


SQLSTATE[23000]: Integrity constraint violation: 1022 Can't write; duplicate key in table '#sql-ca9c_15' (SQL: alter table `lkl_user_roles` add constraint `user_roles_role_id_foreign` foreign key (`role_id`) references `lkl_roles` (`id`) on delete cascade on update cascade)

Erez Zabusky   ( User )

Commented 6 years ago

fresh load new database (as trial)... all ok however add new user as admin, can't login with new user email address... is this a known bug?

Erez Zabusky   ( User )

Commented 6 years ago

SOLVED thanks to post by Moh Tan (as below) however now begs the question how to import an existing database ??


Open:



  • `resources/views/auth/users/create.blade.php`

  • `resources/views/auth/users/edit.blade.php`


Search for:



  • read-companies-companies


Replace to:



  • read-common-companies

Please login or register to leave a response.

Showing 1 to 5 of 5 discussions