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

Hi

I am trying to use OSJ for Scholar Journal which is a free journal for young phD students and scholars. When I try to install the latest version of OJS, I am getting the error “The directory specified for uploaded files does not exist or is not writable
My server is a dedicated server with Linux Centos 6 and Cpanel/WHM. My website is scholar-journal.com and the ojs directory is below public_html and the files directory is just below the level of public_html. I put the file path as /ojs/files for the file directory at http://scholar-journal.com/ojs/files. I have given chmod 777 for the files directory.

Is this a software bug or am I doing something wrong. (I am 100% sure that the file permissions have been set correctly)
Regards

Ugur GUVEN

OK the problem has been solved. For similar future problems the path has to be the absolute path and not the relative path of the directory

I found the problem … how to fix it?