Problem with upgrading to OJS 3.3.0.3

(it is not my production site)
I´ve made:

cd /usr/share/ojs/tools
php -d memory_limit=800M upgrade.php upgrade

And, It works!
Thanks

Hi, @cerceau where to edit/add what you’ve made?

Please help with location, such /public_html/… etc

Thanks, best regards

1 Like

Till now, when i tried to upgrade, this message shows:

Fatal error : Uncaught Error: Call to a member function getConnection() on null in /home/u9461685/public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Capsule/Manager.php:74 Stack trace: #0 /home/u9461685/public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Capsule/Manager.php(200): Illuminate\Database\Capsule\Manager::connection() #1 /home/u9461685/public_html/lib/pkp/classes/db/DAO.inc.php(65): Illuminate\Database\Capsule\Manager::__callStatic(‘raw’, Array) #2 /home/u9461685/public_html/lib/pkp/classes/context/ContextDAO.inc.php(63): DAO->retrieve(‘SELECT * FROM j…’, Array) #3 /home/u9461685/public_html/lib/pkp/classes/core/PKPRouter.inc.php(252): ContextDAO->getByPath(‘ijiis’) #4 /home/u9461685/public_html/lib/pkp/classes/core/PKPRequest.inc.php(760): PKPRouter->getContext(Object(Request), 1) #5 /home/u9461685/public_html/classes/core/Request.inc.php(64): PKPRequest->_delegateToRouter(‘getContext’, 1) #6 /home/u9461685/public_html/lib/pkp/classes/template/PKPTemplateManager.inc. in /home/u9461685/public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Capsule/Manager.php on line 74

How to solve it? Thanks for the help

Hi, I am trying to upgrade from ojs 3.2 to ojs 3.3, however I am getting error below. Appreciate some help

Fatal error : Uncaught Error: Call to a member function getVersionString() on bool in /var/www/html/ojs/cache/t_compile/13376d7934b5f251160733e5e3c8b2ff6a1e1f24^8e26d4d5b957a6848a96c58ac27d2fddb2c40f9a_0.app.installinstall.tpl.php:125 Stack trace: #0 /var/www/html/ojs/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_16628595776040663bf016a7_29694503->callBlock() #1 /var/www/html/ojs/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock() #2 /var/www/html/ojs/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(186): Smarty_Internal_Runtime_Inheritance->process() #3 /var/www/html/ojs/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process() #4 /var/www/html/ojs/cache/t_compile/13376d7934b5f251160733e5e3c8b2ff6a1e1f24^164bd5a4f3891532cf93e9d19911fe9cb3308efd in /var/www/html/ojs/cache/t_compile/13376d7934b5f251160733e5e3c8b2ff6a1e1f24^8e26d4d5b957a6848a96c58ac27d2fddb2c40f9a_0.app.installinstall.tpl.php on line 125

I have the same problem also.
I upgrade the OJS and it appears: A database error has occurred: SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘url’ in ‘field list’ (SQL: select url, navigation_menu_item_id from navigation_menu_items where context_id = 1)

I’m using softaculous appp.

So can anyone teach me step-by-step to solve this problems?
Thanks in advance.

PROBLEM SOLVED
Fresh installation in cPanel by Softacullous 3.3.0.4
What concerns to the database, I have followed migrated 3.2.1.4 to 3.3.0.4

  1. In old database I have changed the tables and content collation from utf8_unicode_ci to utf8_general_ci
  2. ALTER TABLE submission_files ENGINE = InnoDB;
  3. using terminal: php -d memory_limit=800M ./tools/upgrade.php upgrade

Thank you for help and support.

1 Like