in the file config.inc.php I had set files_dir to an absolute path one level above where I had installed ojs:
files_dir = /home/admin/ojs/ojs-files
I had some other error (file too big…) and read a post that this entry should not start with a slash, meaning it would be relative to the base of the install(?).
[This however seems the opposite of the advice to not have it on any www accessible path?]
So I changed it to be just “ojs-files” and made a local directory in the installation root for that and copied the files from the original version one directory level up.
This failed, and the main entry page now displays but without any formatting, as if some css files are not found. and any link from the front page gives a 404 error nicely formatted by OJS (header, colors, …), for example the index link gives this:
The requested resource
/ojs-files/index
was not found on this server.
I then changed the files_dir back to the original full pathname, but it still gives this same error result - it should have gone back to the previous behaviour, so I have goofed up something!
Any ideas or hints?
OJS-3.4.0-5
Debian Linux
Apache2