I installed OJS from Softaculous. Everything is working fine except I’m getting this message at the bottom of the website and I don’t know how to remove it.
There are no readable files in this directory tree. Are safe mode or open_basedir active?
It looks like it may be a case of the software (OJS) trying and failing to access files outside of your site’s document root (htdocs), and the server won’t let it access files above that directory. Please take a look at this thread about OJS from someone who had the same error. (“public_html” is equivalent to “htdocs”).
Please guide me which directories to move from where to where step by step in order to fix this. What I got from the thread you mentioned is that moving either the westminster or ojsdata to htdocs would fix this.
The “ojsdata” is the folder that’s not accessible for your website.
You’ll need to migrate that to your website’s directory. That’s probablywestminstersciencesociety.com/htdocs/, but you should check the Domains page in the client area to know for sure.
I migrated the “ojsdata” directory to westminstersciencesociety.com/htdocs/ but the issue is still present at the website. Also the location you mentioned is in fact
the website’s directory.
Just to be clear: migrating the data is not just moving the folder, but also updating the configuration of your website to use the new location. Could you please confirm you also updated the configuration?
Also I recommend to do what was shared in the topic that @EdwardHamHam linked to, which is to protect the folder from direct access using .htaccess rules.
To do that, you can create a file with the name .htaccess, and the contents simply being Require all denied.
Yes, because that’s excatly what you did just now.
What we are telling you is that you create an .htaccess file in your ojsdata folder and put that line. Not just grab whatever .htaccess you come across and add that line.