Hello,
Is there a version of OCS that is compatible with php 7.1.8? I am trying to install version 2.3.6 from the OCS home page but, I am getting the error:
PHP Fatal error: Cannot use ‘String’ as class name as it is reserved in …/lib/pkp/classes/core/String.inc.php on line 57
thank you
Hi @Jeremy_Jones ,
See this thread:
Hi,
After we upgraded our PHP to 7.2, we are not able to access OCS anymore. This is the error we get:
Deprecated : Methods with the same name as their class will not be constructors in a future version of PHP; Application has a deprecated constructor in /srv/www/vhosts/media-management.eu/httpdocs/ocs/classes/core/Application.inc.php on line 30
Deprecated : Methods with the same name as their class will not be constructors in a future version of PHP; PKPApplication has a deprecated constr…
Regards,
Alec Smecher
Public Knowledge Project Team
I did see that thread. Can you post a link to the github file, I could not find it and downgrading php is not an option at this point. I only found ocs_ocs_dev_2_3. I thought I was using the latest version, 2.3.6 linked at https://pkp.sfu.ca/ocs/ocs_download/ .
Hi @Jeremy_Jones ,
You’ll need to use git to grab the ocs-stable-2_3_6
branch.
Regards,
Alec Smecher
Public Knowledge Project Team