When I open my Hostinger cPanel (hPanel), I see two files:
public_html
Do not copy here
The public_html folder contains numerous files and subfolders, including:
tools
templates
styles
schema
registry
public
local
madeAdmin
config.inc.php
ojs (folder)
The ojs folder contains subfolders like:
usageStats
site
scheduledTasksLogs
journals (folder)
contexts
The journal folder contains subfolders with serial numbers, each containing published articles, etc etc. For the OJS 3.4 to OJS 3.5.0.0 upgrade, I need guidance on:
Where to extract the OJS 3.5.0.0 package?
Which files from the old installation should I move to the new OJS 3.5.0.0 folder?
Some people have mentioned that my file pathways might be incorrect. If that’s the case, how can I fix them?
If your files_dir setting inside config.inc.php points to the ojs folder inside public_html, then you’re probably at risk of getting hacked. As noted in the configuration file (and elsewhere), the files_dirmust point to somewhere outside the web root in order for your installation to be secure.
Regards,
Alec Smecher
Public Knowledge Project Team
@asmecher i have been trying to understand the steps involved in upgrading from ojs 3.4 to 3.5.
everything seems confusing to me when i tried to follow the guidelines in the link. I kindly need assistance with the upgrade.
Leave config.inc.php where it is – it’s the directory configured in the files_dir setting that needs to move outside public_html, not the config.inc.php file.
Regards,
Alec Smecher
Public Knowledge Project Team
After a smooth update to OJS 3.5.0-1 using the Softalicious software on the cpanel we got the error message “Composer detected…” so we reverted to the backup and everything was fine again. A second attempt to upgrade was done after ensuring the PhP version was now 8.4 and then using the downloaded distributed .tar.gz file but the error message returns. How do go past this please?