I am trying to test OJS 3.4. When I wanted to do it I faced this problem: Warning : require(./lib/pkp/includes/bootstrap.inc.php): Failed to open stream: No such file or directory in C:\xampp\htdocs\public_html\index.php on line 65
Fatal error : Uncaught Error: Failed opening required ‘./lib/pkp/includes/bootstrap.inc.php’ (include_path=‘C:\xampp\php\PEAR’) in C:\xampp\htdocs\public_html\index.php:65 Stack trace: #0 {main} thrown in C:\xampp\htdocs\public_html\index.php on line 65
Did you download the package from Github as a .zip? If so, it’ll be missing the submodules and composer packages it requires to run. Download it instead from the https://pkp.sfu.ca website.
If you’re using a git checkout, don’t forget to follow the additional steps described in the README.md document.
Regards,
Alec Smecher
Public Knowledge Project Team
Is it possible that you’ve mixed some old files in with your 3.4.0 files? It seems to me like the index.php script might be from an older version of OJS.
After those, it worked yet I faced this error: * A database error has occurred: Storage engine that doesn’t support foreign key constraints detected in one or more tables: , , , . Change to InnoDB before running the upgrade.
Maybe this does not apply in this case but in my experience, you will always get errors unless you upgrade from the most recent previous version only.
This has been the case for me since 3.0.
A database error has occurred: There are unprocessed log files from more than 1 day ago in the directory C:\home\journalo\ojsdata/usageStats/usageEventLogs/. This happens when the scheduled task to process usage stats logs is not being run daily. All logs in this directory older than 20230621 must be processed or removed before the upgrade can continue.
A database error has occurred: Storage engine that doesn’t support foreign key constraints detected in one or more tables: pln_deposits, pln_deposit_objects, publons_reviews, publons_reviews_settings. Change to InnoDB before running the upgrade.