We have been running OCS on a CentOS 5 server for a few years. Due to CentOS being past end-of-life, we need to put OCS on an up-to-date server.
We made an attempt to do this using a server running version 6. Something about this setup causes a “‘HookRegistry’ not found” error when merely trying to login.
It appears that the OCS code has not been updated since 2014. Ideally, we would like to put this on a Redhat 7 server, but if version 6 is what it takes, then so be it.
The bottom line: how do we move OCS to a later OS distribution and have it work without errors???
That is not question of operating system itself. It is question of php. As far as I know it is possible to install 5.6.X and 7.X versions of php.
Which one you have on your system?
This may be related to the APC opcode cache, as mentioned in a few old threads; if you’re running that, try disabling it (at least temporarily) to see if it resolves the problem.
OCS has not been replaced by OJS and OMP, but it hasn’t been maintained actively for a while. See this blog post (and note that the timeline proposed there is quite out of date).
Regards,
Alec Smecher
Public Knowledge Project Team