Fatal error in upgrading to OMP 1.2.0

Hi,

When I try to update OMP 1.1.1.1 to 1.2.0, when I execute the command “php tools/upgrade.php upgrade” I get the following error message:

PHP Fatal error: Call to undefined method PKPUsageEventPlugin::PKPUsageEventPlugin() in /home/sp-dgroup/a1/www.um.es/vh/libros.um.es/omp_v1.1/plugins/generic/usageEvent/UsageEventPlugin.inc.php on line 23

It can be fixed?

Thanks,
Cheers,
Vicente

Hi @vlilloh,

Hmm, I wonder if this is specific to certain versions of PHP.

Try applying this patch in your lib/pkp subdirectory:

Regards,
Alec Smecher
Public Knowledge Project Team

Hi @asmecher,

Thank you very much. With that I could fix it.

But now, I have another issue. The ‘manageCatalog’ page is always loading:

Moreover, the uploading of pdfs doesn’t work (the file size is 2M):

Could this issues be fixed?

Thanks,
Cheers,
Vicente

Hi @vlilloh,

Could you post this in a new topic, since it looks like a different issue? Also, check your PHP error log to see if there is anything specific there.

Regards,
Alec Smecher
Public Knowledge Project Team

Many thanks @asmecher, I already did it.

Cheers,
Vicente