Orange HRM wont load browser error 500

Discuss Technical Queries about OrangeHRM
Post Reply
ccars008
Posts:3
Joined:Thu Aug 29, 2019 8:49 am
Orange HRM wont load browser error 500

Post by ccars008 » Thu Aug 29, 2019 8:55 am

Hi, We have a Synology NAS box and Since updating to the latest version I am now not able to load Orange HRM.

I've worked through a few error in the logs but now I am stuck at this error:

PHP Fatal error: Class 'LeaveEvents' not found in /volume1/web/orangehrm/symfony/plugins/orangehrmLeavePlugin/config/orangehrmLeavePluginConfiguration.class.php on line 34

Seem to have nightmares every time we update the app. Any help appreciated.

damithk
Posts:7
Joined:Thu Aug 29, 2019 1:58 pm

Re: Orange HRM wont load browser error 500

Post by damithk » Fri Aug 30, 2019 7:47 am

Hi ccars008,
Seems like this is an autoloading issue.
please try to clear symfony cache by running following command from symfony directory.

Code: Select all

php symfony cache:clear
If this doesn't work remove symfony/cache directory manually and try.

tombills
Posts:1
Joined:Fri Sep 20, 2019 10:24 am

Re: Orange HRM wont load browser error 500

Post by tombills » Fri Sep 20, 2019 10:54 am

I have been facing this error, however, upon reinstalling the application there is an unknown error in it, which doesn't let me install the application either does it let me do anything. I hope there is a solution to this issue.

damithk
Posts:7
Joined:Thu Aug 29, 2019 1:58 pm

Re: Orange HRM wont load browser error 500

Post by damithk » Fri Sep 20, 2019 12:10 pm

Hi tombills,
can you please provide more details on the issue you are facing?
did you get the code from github or downloaded it from the official release?
In case you get the code from github, you will need to install composer packages.
to do so you can run following command from symfony/lib directory.

Code: Select all

composer install
and run following commands from symfony directory

Code: Select all

php symfony cc
php symfony doctrine:build-model
php symfony orangehrm:publish-assets
You may look into errors in symfony/log/orangehrm.log if there are any.

Post Reply