Category: OJS Open Journal Systems
Solution Fatal error: Uncaught Error: Call to undefined method SubmissionFileDAO::getAllFileStages OJS 3.3.0.8
Solution Fatal error: Uncaught Error: Call to undefined method SubmissionFileDAO::getAllFileStages OJS 3.3.0.8 after upgrade to thar version of OJS.
Thank you for asking, all my plugins are updated…
Fatal error: Uncaught Error: Call to undefined method SubmissionFileDAO::getAllFileStages() in /www/htdocs/journal/controllers/wizard/fileUpload/FileUploadWizardHandler.inc.php:35 Stack trace:
#0 /www/htdocs/journal/lib/pkp/classes/core/PKPRouter.inc.php(387): FileUploadWizardHandler->authorize(Object(Request), Array, Array)
#1 /www/htdocs/journal/lib/pkp/classes/core/PKPComponentRouter.inc.php(257): PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(Request), Array)
#2 /www/htdocs/journal/lib/pkp/classes/core/Dispatcher.inc.php(144): PKPComponentRouter->route(Object(Request))
#3 /www/htdocs/journal/lib/pkp/classes/core/PKPApplication.inc.php(362): Dispatcher->dispatch(Object(Request))
#4 /www/htdocs/journal/index.php(68): PKPApplication->execute()
#5 {main} thrown in /www/htdocs/journal/controllers/wizard/fileUpload/FileUploadWizardHandler.inc.php on line 35
In our case: This issue was coming because the previous version of OJS was copied in conflict with the new version – Backup the old code 3.1.1 (to not merge both version)
Start with a fresh version of OJS 3.3.0.8, use the update option
OSJ updating procedure, example from from 3.2.1.1 to 3.3.0.8
Open System Journal updating procedure, example from from 3.2.1.1 to 3.3.0.8
The most important is backuping up your old code and datase before doing anything just in case if need to downupgrading (going back).
1- Replace the old code of the OJS with new code – keep the old config.inc.php (for the parameters)
2- Change on “installed” from “On” to “Off” on config.inc.php
3- Browse to your journal, for ukgoodbye.co.uk/ojs and the OJS should show the installation page
4- OJS update procedure
To update your current OSJ you should see, “if you are upgrading an existing installation of OJS, click here to proced.”
This procedure was used to update the OJS version 3.2.1.1 to OJS 3.3.0.8
OJS 3.3.0.8, Failed Ajax request or invalid JSON returned uploading
Solution OJS 3.3.0.8, Failed Ajax request or invalid JSON returned, when an user try to upload a galley either by QuickSubmit or publication.
PHP Fatal error: Uncaught Error: Call to undefined method SubmissionFileDAO::getAllFileStages() in \\controllers\\wizard\\fileUpload\\FileUploadWizardHandler.inc.php:35\nStack trace:\n#0 \\lib\\pkp\\classes\\core\\PKPRouter.inc.php(387): FileUploadWizardHandler->authorize(Object(Request), Array, Array)
\n#1 \\lib\\pkp\\classes\\core\\PKPComponentRouter.inc.php(257): PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(Request), Array)
\n#2 \\lib\\pkp\\classes\\core\\Dispatcher.inc.php(144): PKPComponentRouter->route(Object(Request))\n#3 \\lib\\pkp\\classes\\core\\PKPApplication.inc.php(362): Dispatcher->dispatch(Object(Request))
\n#4 \\index.php(68): PKPApplication->execute()
\n#5 {main}
\n thrown in \\controllers\\wizard\\fileUpload\\FileUploadWizardHandler.inc.php on line 35, referer: http://localhost/netxtraosj/index.php/jcrm/management/importexport/plugin/QuickSubmitPlugin
Login Sessions Timing Out on OJS Current version: 3.3.0.8 (October 12, 2021 – 08:41 PM)
It is that hte login Sessions Timing Out on OJS 3.3.0.8 probably a matter of adjusting your PHP configuration, e.g. the gc_maxlifetime setting. If you’re behind a proxy, you may also want to try disabling session_check_ip in config.inc.php.
Some sessions variables:
Number of days to save login cookie for if user selects to remember
(set to 0 to force expiration at end of current session)
session_lifetime = 30
This check will invalidate a session if the user’s IP address changes.
Enabling this option provides some amount of additional security, but may
cause problems for users behind a proxy farm (e.g., AOL).
session_check_ip = Off
Specially if your version of the OJS is hosted Amazon that may use a load balancer in Amazon Web Services.
Solution:
The last option by changing on the config.inc.php, the session_check_ip off that solved for us.
OJS 3, An unexpected error has occurred. Please reload the page and try again.
OJS 3, An unexpected error has occurred. Please reload the page and try again.
The version of OJS is: Current version: 3.2.1.1 (July 30, 2020 – 08:24 AM)
Source code from Firefox:
Uncaught TypeError: b is undefined
modalOpen /js/pkp.min.js?v=3.2.1.1:316
ajaxErrorCallback /js/build.js?v=3.2.1.1:8
error /js/build.js?v=3.2.1.1:8
jQuery 4
pkp.min.js:316:6
Cookie “OJSSID” has been rejected because it is already expired. _submissions
Uncaught TypeError: b is undefined
modalOpen /js/pkp.min.js?v=3.2.1.1:315
pkp.min.js:315:449
modalOpen /js/pkp.min.js?v=3.2.1.1:315
Uncaught TypeError: b is undefined
modalOpen /js/pkp.min.js?v=3.2.1.1:315
pkp.min.js:315:501
modalOpen /js/pkp.min.js?v=3.2.1.1:315
Solution: – Follow e-smartsolution(forum.pkp.sfu.ca)
You will need to update you version this file: classes/controlledVocab/ControlledVocabDAO.inc.php
Attempt to fetch an existing controlled vocabulary.
https://github.com/pkp/pkp-lib/commit/b1932908f81749cf2698cb8b5a1744304b197ff9#diff-cc7517e160010deb2e13039a0757e3a6
OJS is Open Journal Systems
OJS is Open Journal Systems,
PKP(Public Knowledge Project) is a multi-university initiative developing (free) open source software and conducting research to improve the quality and reach of scholarly publishing.
How to setup your own journal with PKP? – hosted version recommended
Step 1 – Download the OJS by PK on their official website – They accept donation that could be useful to encourage them to keep maintaining and developping such as free well-know piece of software.
If you want to install OJS on your server or local machine for testing and learning propose. Open Journal Systems can be used on a web server that is serving other functions, and requires very little in the way of system requirements.
On the date of 11 of September 2020, the current version of OJS is the version 3:
System Requirements to install OJS 3
To run the latest release of OJS 3.x, your web server will need:
PHP 7.2 or later with MySQL, MariaDB, or PostgreSQL support
A database server: MySQL/MariaDB 4.1 or later OR PostgreSQL 9.1.5 or later
UNIX-like OS recommended (such as Linux, FreeBSD, Solaris, Mac OS X, etc.)
Download now Current Production Release (June 26, 2020) of OJS 3