Fatal error: Class 'PDO' not found

Status
Not open for further replies.

ralphius

New Member
Messages
5
Reaction score
0
Points
1
After the updates this morning my site now says this as it cannot connect to MySQL. My code has not changed in months so I can only assume that when you updated the servers you removed the PHP PDO library?

Could someone from x10Hosting confirm whether this library will be reinstalled or not?

Thanks,
Ralph
 

leafypiggy

Manager of Pens and Office Supplies
Staff member
Messages
3,819
Reaction score
163
Points
63
Hi,

This should be resolved.
 

Dead-i

x10Hosting Support Ninja
Community Support
Messages
6,084
Reaction score
368
Points
83
Hi cameron5,

This should now be resolved for your account too. ;)

Thank you,
 

ycadopts

New Member
Messages
4
Reaction score
0
Points
1
I also have this issue... (I only just realised a few hours ago but never got around to finding the problem) :)
 

Dead-i

x10Hosting Support Ninja
Community Support
Messages
6,084
Reaction score
368
Points
83
Hi ycadopts,

At what page are you having this issue? :)

Thank you,
 

ycadopts

New Member
Messages
4
Reaction score
0
Points
1
It was on the index page (the only one I checked as that is the page the site sends you to). But I have just checked again and now all pages (including the others) are just blank now... :/
 

bdistler

Well-Known Member
Prime Account
Messages
3,534
Reaction score
196
Points
63
test PHP script on xo1 shows.....
NOTE: I see server software is now back to [ Apache ]
Code:
This script is on x10hosting's server ==> xo1 - Absolut <==

Server software is ==> Apache <==

PHP version ==> 5.5.13 <==

PHP server date and time is ==> Wed Oct 15,2014 16:56:07 EDT America/New_York <==

PDO is unavailable
....
 
Last edited:

ou7l4w

Member
Messages
86
Reaction score
0
Points
6
I as well am having the same issue now. I was getting the 500 so I changed the .htacess to .htacess-bk and now I get a PDO problem???

Here is what its telling me to do....
To fix this please installed the pdo_mysql php extension.
If you are using a webhost please email them and get them to
install PDO for PHP with the MySQL extension
 

Dead-i

x10Hosting Support Ninja
Community Support
Messages
6,084
Reaction score
368
Points
83
Hi,

It was on the index page (the only one I checked as that is the page the site sends you to). But I have just checked again and now all pages (including the others) are just blank now... :/
Edit: It seems this issue is being caused by the PHP DOCUMENT_ROOT failing to return the correct value. I'm looking into having this corrected now. :)

I as well am having the same issue now. I was getting the 500 so I changed the .htacess to .htacess-bk and now I get a PDO problem???
test PHP script on xo1 shows.....
Please could you provide me with your cPanel usernames and I'll take a look at this. :)

Thank you,
 

ycadopts

New Member
Messages
4
Reaction score
0
Points
1
Hi,


Edit: It seems this issue is being caused by the PHP DOCUMENT_ROOT failing to return the correct value. I'm looking into having this corrected now. :)

Please could you provide me with your cPanel usernames and I'll take a look at this. :)

Thank you,

If you need mine, i believe it is just ycadopts :) Thank you!
 

48bytes84

New Member
Prime Account
Messages
4
Reaction score
0
Points
1
Hi, I'm having a similar issue as well. My account is located at tam.x10.mx.
Thank you!

Just ran bdistler's PHP script. The output is:

Code:
PHP server date and time is ==> Wed Oct 15,2014 18:35:53 EDT America/New_York <==

PDO is unavailable


Fatal error: Class 'PDO' not found in /home/tamh/public_html/aaatest.php on line 16
 

bdistler

Well-Known Member
Prime Account
Messages
3,534
Reaction score
196
Points
63
This PHP script on x10hosting's free-server [ xo1 ]...
PHP:
<?php
error_reporting(E_ALL);

$timestamp_server = date("D M j,Y H:i:s T e",time());
print "PHP server date and time is ==> " . $timestamp_server . " <==<br>\n<br>\n";

if (!defined('PDO::ATTR_DRIVER_NAME'))
  {
    print "PDO is unavailable<br>\n<br>\n";
  }
  else
    {
      print "PDO is available<br>\n<br>\n";
    }
  
print_r (PDO::getAvailableDrivers());
?>

Throws this error...
Code:
PHP server date and time is ==> Wed Oct 15,2014 18:24:09 EDT America/New_York <==

PDO is unavailable

Fatal error: Class 'PDO' not found...
 

leafypiggy

Manager of Pens and Office Supplies
Staff member
Messages
3,819
Reaction score
163
Points
63
bdistler:

whats your cPanel username?
 

ycadopts

New Member
Messages
4
Reaction score
0
Points
1
Hi, sorry to bother you, but my site has been down for a few days now.. have you made any leeway with finding the problem? (Like, I said, the sites pages are all just blank and white) It's just, I can't work on it if it won't work, so... ^_^''

It's located at: http://ycadopts.x10.mx/
 
Status
Not open for further replies.
Top