Buy Now
Sign in

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

SRD , June 19 2013
S
SRD

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

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

ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much

S
SRD

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

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

ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much

S
SRD

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.