Page 1 of 1

Orange HRM wont load browser error 500

Posted: Thu Aug 29, 2019 8:55 am
by ccars008
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.

Re: Orange HRM wont load browser error 500

Posted: Fri Aug 30, 2019 7:47 am
by damithk
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.

Re: Orange HRM wont load browser error 500

Posted: Fri Sep 20, 2019 10:54 am
by tombills
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.

Re: Orange HRM wont load browser error 500

Posted: Fri Sep 20, 2019 12:10 pm
by damithk
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.