? Success

User tests: Successful: Unsuccessful:

avatar mbabker
mbabker
25 Feb 2015

There are some reports in the forum about users getting a "class 'PDO' not found" error post upgrade. This appears to be due to calling a PDO class method which may not be present if PDO isn't supported, so this adds a class_exists check before that call.

avatar mbabker mbabker - open - 25 Feb 2015
avatar joomla-cms-bot joomla-cms-bot - change - 25 Feb 2015
Labels Added: ?
avatar zero-24 zero-24 - change - 25 Feb 2015
Easy No Yes
avatar zero-24 zero-24 - change - 26 Feb 2015
Category Libraries
avatar stresskills
stresskills - comment - 26 Feb 2015

Thank you! fixed it for me. Any idea why this happened. I don't know much about PDO.

avatar mbabker
mbabker - comment - 26 Feb 2015

Thank you! fixed it for me. Any idea why this happened. I don't know much about PDO.

We added support for PDO based connections for MySQL. But, it's an extension that isn't always compiled with PHP. We simply forgot to add a check for it before trying to run code from the class, and it's something that slipped by while testing (apparently all testing was in environments that have the extension).

avatar ikark
ikark - comment - 26 Feb 2015

Worked for me too. Thanks

avatar stresskills
stresskills - comment - 26 Feb 2015

We added support for PDO based connections for MySQL. But, it's an extension that isn't always compiled with PHP. We simply forgot to add a check for it before trying to run code from the class, and it's something that slipped by while testing (apparently all testing was in environments that have the extension).

Thank you for your response. I will add PDO to my server. I know my friend has been telling me the benefits. I guess time to look into it. Have a great day!

avatar wilsonge
wilsonge - comment - 26 Feb 2015

Multiple good tests. Merged

avatar wilsonge wilsonge - change - 26 Feb 2015
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2015-02-26 19:38:08
avatar wilsonge wilsonge - close - 26 Feb 2015
avatar wilsonge wilsonge - reference | - 26 Feb 15
avatar wilsonge wilsonge - merge - 26 Feb 2015
avatar wilsonge wilsonge - close - 26 Feb 2015
avatar mbabker mbabker - head_ref_deleted - 26 Feb 2015
avatar 8ofproject
8ofproject - comment - 20 Mar 2015

Works like a charm. Thanks.

Add a Comment

Login with GitHub to post a comment