Adam
Adam

Reputation: 73

Fatal error after Magento upgrade: "Class 'Magento_Db_Adapter_Pdo_Mysql' not found..."

I just updated my Magento installation from 1.7 to the latest version via FTP, but now when I try to access the website or the backend I get the following error:

Fatal error: Class 'Magento_Db_Adapter_Pdo_Mysql' not found in /home/xxxxx/public_html/includes/src/__default.php on line 29298

Any ideas what is wrong?

Upvotes: 0

Views: 1770

Answers (2)

medina
medina

Reputation: 8169

I've fixed it by giving the right permissions for the Mysql.php file

chmod 775 lib/Magento/Db/Adapter/Pdo/Mysql.php

I hope it helps someone else.

Upvotes: 1

Shyam Ranpara
Shyam Ranpara

Reputation: 624

always check after remove [magento]/var folder to remove cache.

I think some core files not updated so it is giving error.

first install magento latest version then copy your modules and theme in that folders.

also check your php version should be >= 5.3.0 and give 777 permission to your magento folder.

Upvotes: 1

Related Questions