Problem upgrading from to

I followed the instructions to upgrade from to as described in

When I run

php tools/upgrade.php check

I get the following error:

PHP Fatal error: Uncaught PDOException: could not find driver in /var/www/vhosts/********/lib/pkp/lib/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:38

Plus several other errors. But’s lets focus on this one for the time being

I found my had been hacked with malicious code. I deleted it. I’ll look for more malicious code now that I know.

Hi @Webmaster_Lua_Edicio,

Ensure that your files_dir (as configured in is not directly web-accessible. That’s the most common way OJS installations are hacked. (There are warnings about this on the installation form, in the configuration file, and in various installation documentation.)

Alec Smecher
Public Knowledge Project Team

Hi @asmecher
Thanks for taking the time to respond.
I made sure my files directory is not web-accesible in the installation.
I double checked it again just in case.

1 Like

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