The directory specified for uploaded files does not exist or is not writable

Hello,
I am trying to install OJS 3.0.2 but I keep getting “The directory specified for uploaded files does not exist or is not writable.” error.

My OS is Windows. I have succeeded in installing OJS before. How can I solve this?
And just out of curiosity, since it’s a local path, why does it have to be a “/” instead of a “”?
Thank you very much in advance.

Hi @geekm1983,

For the most part, PHP is able to accept / for directory separators in a bid to standardize code on platforms that use it.

I can’t comment specifically on Windows file permissions, but generally, OJS needs to be able to create, delete, and otherwise manage files in that directory. I would suggest trying a test script such as the one described in the PHP manual for the is_writable function to test whether you have permissions set correctly outside of OJS.

Regards,
Alec Smecher
Public Knowledge Project Team

1 Like