orangehrm / orangehrm

OrangeHRM is a comprehensive Human Resource Management (HRM) System that captures all the essential functionalities required for any enterprise.
GNU General Public License v3.0
817 stars 560 forks source link

Unable to add staff. Error : Unauthorised #1845

Open ifrit21 opened 4 months ago

ifrit21 commented 4 months ago

OrangeHRM version

5.6.1

Environment details

Describe the bug

've recently set up a new installation of OrangeHRM on Hostinger for testing purposes. Upon attempting to add a new employee and save the information, an error message pops up stating 'Unauthorized'.

To reproduce

Its a Fresh installation.

Expected behavior

No response

Relevant log output

No response

devishke-orange commented 4 months ago

Hi @ifrit21 ,

The distribution provided by Hostinger is not managed by us.

We have contacted Hostinger regarding this issue. I will let you know once a solution is available. If you are in urgent need of a system, please consider our "Starter on the Cloud" option or our AWS AMI.

OrangeHRM Starter Cloud: https://www.orangehrm.com/en/open-source/open-source-on-demand/ AWS AMI: https://aws.amazon.com/marketplace/pp/prodview-umpqfltctklee

hiroluna commented 3 months ago

i also encounter the same error: Unauthorized when adding New employee or New User.

fresh install OrangeHRM 5.6.1 provided by Godaddy.

mukundshah commented 1 month ago

I am too facing this issue and i'm using the official docker image.

mukundshah commented 1 month ago

Update: I was manually adding Conf.php, so as a result upgrade migrations never ran and resulted in missing permissions. I fixed by disabling this behavior and ran the upgrade and restoring back to manually injecting the config in docker image

amci29 commented 2 weeks ago

OrangeHRM version

5.6.1

Environment details

  • OrangeHRM source:
  • Platform:
  • PHP version:
  • Database and version:
  • Web server:
  • Browser:

Describe the bug

've recently set up a new installation of OrangeHRM on Hostinger for testing purposes. Upon attempting to add a new employee and save the information, an error message pops up stating 'Unauthorized'.

To reproduce

Its a Fresh installation.

Expected behavior

No response

Relevant log output

No response

i have the same error and setup. have you resolved this issue?

rohenrenesh commented 2 weeks ago

facing same issue. any update or fix for this ? @devishke-orange