I just tried to get one of the sample ojs themes and load it into a conference in the setup pages but I get these errors:
Warning: mkdir(public/conferences/5) [function.mkdir]: Permission denied in /path/to/ocs/classes/file/FileManager.inc.php on line 235
Warning: move_uploaded_file(public/conferences/5/conferenceStyleSheet.css) [function.move-uploaded-file]: failed to open stream: No such file or directory in /local102/projects/ocs2/WWW/classes/file/FileManager.inc.php on line 95
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/var/tmp/php5ObWDA' to 'public/conferences/5/conferenceStyleSheet.css' in /path/to/ocs/classes/file/FileManager.inc.php on line 95
After these errors, the page loads, but in red there's another error:
Errors occurred processing this form:
* Invalid conference stylesheet format. Accepted format is .css.
Now this is misguided because the stylesheet I submitted was this one: http://pkp.sfu.ca/files/themes/classicBrown.css
and that looks (from a peek at the code that launches that error) like a catch-all, that might not necessarily reflect the actual error... I may be wrong, but that's what I thought...
Also, I looked in the temp dir and there was nothing, as well as if I went in and created the directory in public/conferences it wanted to make: no directory named "5" exists, and if I create it, set loads of permissions and run it again, I get the same result. Any ideas?