Fatal Error - Cannot redeclare

Dear Community

I am trying to evaluate OJS, however I encounter the following error when trying to install OJS

Fatal error: Cannot redeclare smarty_modifier_escape() (previously declared in /Users/leonv/Sites/OJS/lib/pkp/lib/vendor/smarty/smarty/libs/plugins/modifier.escape.php:22) in /Users/leonv/Sites/ojs/lib/pkp/lib/vendor/smarty/smarty/libs/plugins/modifier.escape.php on line 89

May I kindlt ask for assistance?

Kind Regards,

Do you really intend to have to copies of OJS, one in a folder “ojs” and one in a folder “OJS”? Or are these symlinks to one another?

Hi

Thanks for the reply. I simply downloaded the tar.gz from https://pkp.sfu.ca/ojs/ojs_download/. Extract the archive, renamed the extracted folder to OJS and moved it where I served my test sites from.

In reading your post for the second time, I realized that case sensitivity is the issue. So, I renamed the folder from OJS to ojs and it works.

The installation went without any issues after renaming the folder.

Thank you.