Site off-line The site is currently not available due to technical problems. Please try again later. Thank you for your understanding. (SOLVED!)

delme

This error became a problem after many desperate attempts to get imagecache working I saw a post that said there were problems with my version of PHP. I was running PHP 5.2.8.

I downloaded the latest stable version of PHP (as of 28/09/09) which is PHP 5.2.11.

It says during  the installation that it is not recommended that all features available should be installed by default – this will cause problems! I’m running on 2003 Server (IIS 6.0) using FastCGI. After re-booting my server a few times and adding more bits to my PHP install I saw this error message:

Site off-line

The site is currently not available due to technical problems. Please try again later. Thank you for your understanding.

If you are the maintainer of this site, please check your database settings in the settings.php file and ensure that your hosting provider’s database server is running. For more help, see the handbook, or contact your hosting provider.

Ok, the solution really is there. It’s in settings.php it’s on line 92 the following code:
If your host doesn’t have mysqli installed, you can it change to use mysql. (MySQLi stands for MySQL Improved.)

Open settings.php change $db_url from mysql to mysqli (settings usually in /sites/default-folder in your drupal installation).

BEFORE:
$db_url = ‘mysqli://user:password@hostname/table’;

AFTER
$db_url = ‘mysql://user:password@hostname/table’;
This means that you can either install MySQLi with your PHP install OR you can simply make the changes to your settings.php file as detailed above. If this works for you please let me know in the comments area.
Reference from Experts Exchange

Related posts:

  1. WordPress Contact Form 7 & WP-Mail-SMTP problem solved
  2. wp-content\plugins\fuzzy-seo-booster\seoqueries.php on line 507
  3. WordPress – PHP Warning: Invalid argument supplied for foreach() in php … on line 86
  4. Beginning Drupal
  5. Adding PayPal to a WordPress site
  6. Drupal Gmail Module – Solved.
  7. Windows 7 file copy and Internet slow – solved


4 Comments

  1. Comments  Kris   |  Saturday, 05 February 2011 at 5:13 pm

    That’s work perfectly.
    It happen to me before but it was beacause a conflict with panal view.
    I solved tha but suddlenly it happen again. I do that and all is fixed!
    Thanks a lot

  2. Comments  Richy   |  Friday, 25 February 2011 at 4:46 am

    This does not work. My default settings are just the same like this :

    $db_url = ‘mysql://user:password@hostname/table’;

    I get the same error.

  3. Comments  vamsi   |  Thursday, 21 April 2011 at 8:19 am

    thanks a lot..it working fine..

  4. Comments  Arun R   |  Tuesday, 26 April 2011 at 1:31 pm

    Hello , The same issue exists with Drupal 6 on XAMPP. The default settings is

    $db_url = ‘mysql://user:password@hostname/table’;

    kindly suggest.

    Arun

Leave a Reply