Forums

Fatal error: Class 'PDO' not found in database.php

SRD 19 Jun, 2013
Hi Folks.

I have recently upgraded Joomla from 1.5.26 to 2.5.

I installed a new version of Chrono Contact, created a form, and a new navigation menu entry.

When I arrive at the page with the form on it, I receive a white page with the following error on it:

Fatal error: Class 'PDO' not found in /home/thebrown/public_html/administrator/components/com_chronocontact/libs/database.php on line 12


How do I fix this?

Thanks and regards,
Steve.
GreyHead 19 Jun, 2013
Hi SRD,

From the download page for ChronoContact:

ChronoContact minimum server requirements are:
PHP 5.3
PDO & PDO MySQL PHP extensions enabled

Most servers today meet the above requirements.


It looks as though your server hasn't got the PDO MySQL extensions installed, and maybe isn't running PHP 5.3?

Either update the server, or switch to use ChronoForms which doesn't need the PDO extensions.

Bob
SRD 24 Jun, 2013
Thanks for the reply Bob.

I've confirmed with the web host that the server is running PHP 5.3 with PDO support enabled.

The error remains.
GreyHead 24 Jun, 2013
Hi SRD,

Sorry, I don't have any other bright ideas, I suggest you contact Max, the developer, through the Contact Us menu above and link to this thread.

Bob
SRD 24 Jun, 2013
Hi Bob.

I found out that even though PDO was installed, it took a local PHP.ini file with the following to get it working:

extension=pdo.so
extension=pdo_sqlite.so
extension=sqlite.so
extension=pdo_mysql.so



Thanks.
This topic is locked and no more replies can be posted.