Multiple issues during upgrade from 3.3.0.10 to 3.4.0-9

Hello,

i am experiencing issues while trying to upgrade to version 3.4.0-9

we are now transferring our wsites to another VDS so i figured i might as well update our OJS site while transferring it.

so i copied our OJS on a new server and changed it’s base_url in order to make sure that it copied successfully. And it did, so it seemed like everything is ready to be updated without touching the main site.

So i began, as it is described in the official guide https://docs.pkp.sfu.ca/dev/upgrade-guide/en/

i had multiple problems which i solved:

i hadn’t setup any scheduled tasks so my logs wasn’t cleaned regularly, fixed that

it required that the address in config file was of the old site so i changed it back

i had no name and address of main contact of one of the journals

anyway, now i have a new error message during the upgrade process and i cant google any precise solutions

here’s the error:

PHP Fatal error: Uncaught AssertionError: assert(isset($baseUrlParts[‘host’]) && !isset($baseUrlParts[‘fragment’])) in /var/www/www-root/data/www/address here/lib/pkp/classes/core/PKPRouter.php:440

and here’s the screenshot:

really hope you can help me

maybe it has something to do with the changed base_url or something. If it is, where can i check the url besides config.php?

i’ve also seen a suggestion of changing the locale to en before upgrading, is it worth trying?

Thank you in advance!!!

Hi @priangle,

It’s hard to know what’s happening from afar, but I do think this is related to the base_url configuration. Perhaps there is a syntax error, either in the setting or in the configuration file around it? If you can’t spot anything and would like a second set of eyes, feel free to PM me those lines of your configuration file.

Watch for “smart quotes” or other special characters that might’ve crept into the URL accidentally.

Thanks,
Alec Smecher
Public Knowledge Project Team

Hay un error en la configuración del servidor o del archivo config.inc.php de OJS/PKP.

Ese error fatal de PHP que estás viendo —un AssertionError no detectado— indica que el código esperaba que la URL base tuviera un host definido y no tuviera fragmento, pero esa condición no se cumplió

This topic was automatically closed after 10 days. New replies are no longer allowed.