J3.x

Class 'PDO' niet gevonden

From Joomla! Documentation

Revision as of 04:50, 17 March 2015 by MartijnM (talk | contribs) (Created page with "J3.x:Class 'PDO' niet gevonden")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Other languages:
Deutsch • ‎English • ‎Nederlands • ‎español • ‎français • ‎русский • ‎العربية
Joomla! 
3.4.0

In Joomla 3.4 a new, based on the PDO, database driver for MySQL, was added (rapidly becoming the new de facto driver for MySQL database connections). However an incomplete check for the existence of the PDO driver was implemented for some users who didn't have the driver installed with PHP.

Errors reported

Fatal error: Class 'PDO' not found /libraries/joomla/database/[drive]/pdomysql.php on line 102

Versions affected

Info non-talk.png
General Information

This pertains only to Joomla! version(s):- 3.4.0

What is the cause

PHP doesn't ship in some cases with the PDO driver (it is present in the majority of instances) and there was a missing check for the existence of the PDO Driver.

How to fix

Apply the patch https://github.com/joomla/joomla-cms/pull/6175.patch This will be included in Joomla 3.4.1