This fix has had a knock-on effect of breaking uploads elsewhere. Users now can't upload images as headers
in the journals but receive an error message as the server is now trying to write to /public in the root filesystem. Apache Logs show
[Mon Oct 28 15:42:39 2013] [error] [client 220.127.116.11] ojs2 has produced an error\n Message: WARNING: move_uploaded_file(): Unable to move '/tmp/phpEk9g7a' to '/public/journals/2/homeHeaderTitleImage_en_US.jpg'\n In file: /var/www/lib/pkp/classes/file/FileManager.inc.php\n At line: 111\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.3.3-7+squeeze15\n Apache Version: Apache/2.2.16 (Debian)\n DB Driver: mysql\n DB server version: 5.1.66-0+squeeze1, referer: http://ojs-test.st-andrews.ac.uk/index. ... aveSetup/5
I've linked /public to /var/www/public which has resolved this but I'm guessing this isn't how it should work. I'd think if there was an incompatibility between
how tincyMCE generated URLs and how Filemanager generated paths others would be seeing it.
Any other suggestions as to what is amiss with our setup?