By admin on Sun, 11/17/2024 - 16:27
As a Drupal developer or site administrator, you might encounter this error message when migrating a Drupal site to a new server.
Got error 'PHP message: Error: Class "Drupal\\mysql\\Driver\\Database\\mysql\\Connection" not found in public_html/core/lib/Drupal/Core/Database/Database.php
So, how can you resolve this? In this blog post, we will explore how to fix it.
By admin on Sun, 11/17/2024 - 14:22
Unknown collation error is a very common problem when working with MySQL databases of a Drupal site. This happens when we try to migrate or restore a Drupal site on a new server. Importing a .sql file often throw this error message.
This is the most common error message that our clients have reported.
By admin on Sat, 01/26/2013 - 00:08
Your drupal powered website may show error message like PDO not found.
The error message may be something like this:
Fatal error: Class 'PDO' not found in /home/username/public_html/includes/database/database.inc on line 184
Solution
- Create a file php.ini in public_html folder
- Add following code:
extension=pdo.so
extension=pdo_mysql.so
- Save php.ini file
Done!!!
By admin on Fri, 01/25/2013 - 23:51
Your Drupal powered website may start showing following error message:
Warning: ini_set() has been disabled for security reasons
Cause of error message
Your hosting provider has disabled PHP function ini_set() on server.
This is generally done to increase server security. Some server security expert highly recommend to disable ini_set() on server
Solution
Solution one:
Contact your hosting provider and ask them to enable ini_set() on the server.
Solution two:
By admin on Mon, 12/17/2012 - 03:45
You may see these types of error message in your Drupal installation.