Error HTTP 500 when upgrade OJS 3.0 to 3.1.1.4 (driver: mysqli)

Dear OJS Team and Community,

I have a problem when upgrading OJS 3.0 to OJS 3.1.1.4 occurs HTTP ERROR 500.

I use server with PHP version 7.2

on config.inc.php, the driver is mysqli.

Can anyone help me?

Thank you

Hi @Aprik,

In case of error 500 you should look for more info in the webserver logs.

Regards, Primož

hi @primozs

Thanks for the answer.
I found a lot of messages in the server log, some of them:

[Sat Jan 18 02:19:22.143046 2020] [fcgid:warn] [pid 7941:tid 140271719233280] [client 10.10.10.33:48992] mod_fcgid: stderr: PHP Warning: Declaration of InstallHandler::validate($request) should be compatible with PKPHandler::validate($requiredContexts = NULL, $request = NULL) in /var/www/vhosts/[my domain]/httpdocs/lib/pkp/pages/install/InstallHandler.inc.php on line 0

[Sat Jan 18 02:19:22.143112 2020] [fcgid:warn] [pid 7941:tid 140271719233280] [client 10.10.10.33:48992] mod_fcgid: stderr: PHP Warning: Declaration of InstallForm::execute() should be compatible with Form::execute(…$functionArgs) in /var/www/vhosts/[my domain]/httpdocs/lib/pkp/classes/install/form/InstallForm.inc.php on line 20

[Sat Jan 18 02:19:22.143120 2020] [fcgid:warn] [pid 7941:tid 140271719233280] [client 10.10.10.33:48992] mod_fcgid: stderr: PHP Warning: Declaration of UpgradeForm::execute() should be compatible with Form::execute(…$functionArgs) in /var/www/vhosts/[my domain]/httpdocs/lib/pkp/classes/install/form/UpgradeForm.inc.php on line 0

[Sat Jan 18 02:19:23.678369 2020] [fcgid:warn] [pid 6431:tid 140271769589504] [client 10.10.10.33:48996] mod_fcgid: stderr: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/[my domain]/httpdocs/cache/t_compile/e8ea13aa559bf8604ca823015b397a28d8666486^28682bb3d6b6e750ebd3d458abc8f92b4da9ea9f_0.app.headerusernav.tpl.php on line 136, referer: [my domain]/index.php/index/install

[Sat Jan 18 02:19:25.525762 2020] [fcgid:warn] [pid 6401:tid 140271769589504] [client 10.10.10.33:48998] mod_fcgid: stderr: PHP Warning: Declaration of InstallHandler::validate($request) should be compatible with PKPHandler::validate($requiredContexts = NULL, $request = NULL) in /var/www/vhosts/[my domain]/httpdocs/lib/pkp/pages/install/InstallHandler.inc.php on line 0, referer: [my domain]/index.php/index/install

[Sat Jan 18 02:19:25.525814 2020] [fcgid:warn] [pid 6401:tid 140271769589504] [client 10.10.10.33:48998] mod_fcgid: stderr: PHP Warning: Declaration of InstallForm::execute() should be compatible with Form::execute(…$functionArgs) in /var/www/vhosts/[my domain]/httpdocs/lib/pkp/classes/install/form/InstallForm.inc.php on line 20, referer: [my domain]/index.php/index/install

[Sat Jan 18 02:19:48.887536 2020] [fcgid:warn] [pid 7941:tid 140271702447872] [client 10.10.10.33:49004] mod_fcgid: stderr: Unable to move “files_uir/journals/6//articles/1//submission/proof/1-1-3-2-10-20170415.pdf” to “files_uir/journals/6//articles/1//submission/proof/1-61-3-2-10-20170415.pdf”., referer: [my domain]/index.php/index/install/upgrade

[Sat Jan 18 02:19:48.992031 2020] [fcgid:warn] [pid 7941:tid 140271702447872] [client 10.10.10.33:49004] mod_fcgid: stderr: PHP Warning: rename(files_uir/journals/6//articles/34//submission/proof/34-1-111-1-10-20170307.pdf,files_uir/journals/6//articles/34//submission/proof/34-61-111-1-10-20170307.pdf): No such file or directory in /var/www/vhosts/[my domain]/httpdocs/classes/install/Upgrade.inc.php on line 2486, referer: [my domain]/index.php/index/install/upgrade

Maybe you can help me.

Regards,
Aprik

Hi @Aprik,

the last two messages can point to a problem with the access to the files and directories.

Messages before that are just warnings and not important.

Regards, Primož

hi @primozs,

okay i will focus on the last two messages. But I already have a files folder, and i even have given rwx rwx rwx access. So what should I do?

Regards,
Aprik