Hi there,
I have this error message showing up whenever I try to load a webpage that calls the database via PDO: "Fatal error: Class 'PDO' not found in /home/osusigna/public_html/[...] on line[...]". The same error appears in my error_log file.
This is the code that establishes the connection to the database:
It's been working just fine about an hour ago and I didn't make any changes. The same code is also working fine on another hosting service. Is there some maintenance I am not aware of?
Regards,
Xavier
edit: I'm on Vox.
I have this error message showing up whenever I try to load a webpage that calls the database via PDO: "Fatal error: Class 'PDO' not found in /home/osusigna/public_html/[...] on line[...]". The same error appears in my error_log file.
This is the code that establishes the connection to the database:
PHP:
try {
$bdd = new PDO('mysql:host=localhost;dbname='.$dbName, $dbUser, $dbPassword);
}
catch(Exception $e) {
die('Error: '.$e->getMessage());
}
It's been working just fine about an hour ago and I didn't make any changes. The same code is also working fine on another hosting service. Is there some maintenance I am not aware of?
Regards,
Xavier
edit: I'm on Vox.
Last edited: