Hello,
I am trying to upgrade OJS 2.4.7-1 to 3.2.1-4 now via FTP (filezilla). I already tried upgrading to 3.3.0-6 before but it failed and later on I found out that you have to upgrade to 3.2.X before upgrading to the latest version.
So now I have the 3.2.1-4, I edited the config file to match the old ojs and went to the OJS site and it looked like this:
It was also like that when i tried upgrading to 3.3.0-6. I proceeded to upgrade since the content is still showing, however when i tried to upgrade there was an error that says “The form was not submitted properly”.
The PHP error log:
PHP Fatal error: Uncaught Exception: DB Error: Connection timed out Query: SELECT * FROM journals WHERE path = ? in /srv/jurnal/ojs-3.3.0-6/lib/pkp/classes/db/DAO.inc.php:703\nStack trace:\n#0 /srv/jurnal/ojs-3.3.0-6/lib/pkp/classes/db/DAO.inc.php(103): DAO->handleError()\n#1 /srv/jurnal/ojs-3.3.0-6/lib/pkp/classes/context/ContextDAO.inc.php(64): DAO->retrieve()\n#2 /srv/jurnal/ojs-3.3.0-6/lib/pkp/classes/core/PKPRouter.inc.php(252): ContextDAO->getByPath()\n#3 /srv/jurnal/ojs-3.3.0-6/lib/pkp/classes/core/PKPRequest.inc.php(760): PKPRouter->getContext()\n#4 /srv/jurnal/ojs-3.3.0-6/classes/core/Request.inc.php(64): PKPRequest->_delegateToRouter()\n#5 /srv/jurnal/ojs-3.3.0-6/lib/pkp/classes/plugins/LazyLoadPlugin.inc.php(102): Request->getContext()\n#6 /srv/jurnal/ojs-3.3.0-6/lib/pkp/classes/plugins/LazyLoadPlugin.inc.php(63): LazyLoadPlugin->getCurrentContextId()\n#7 /srv/jurnal/ojs-3.3.0-6/plugins/generic/dublinCoreMeta/DublinCoreMetaPlugin.inc.php(24): LazyLoadPlugin->getEnabled()\n#8 /srv/jurnal/ojs-3.3.0-6/lib/pkp/classes/plugins/Pl in /srv/jurnal/ojs-3.3.0-6/lib/pkp/classes/db/DAO.inc.php on line 703
Note:
- I renamed the OJS folder to ojs-3.3.0-6 but it’s actually 3.2.1-4. I do this because when I don’t, the upgrading page won’t load and it would say forbidden.
What should I do to solve this problem? Any help would be appreciated.
Thank you.