Updating Drupal modules may not always go so smoothly. Sometimes you need to disable some modules first before updating a particular module. Drupal Date module is one of the examples. I tried to update Date module from date-6.x-2.9.tar.gz to date-6.x-2.10.tar.gz.
First I backup the original 'date' folder to date_16april2014 and then 'tar xvzf date-6.x-2.10.tar.gz and I reload this Drupal Site. You know what it gave me a blank page. it is scary, isn't it? I promptly removed 'date' folder and hoped my Drupal site came to live again. No, it wasn't.
I checked the Apache error log file and found that the following message.
PHP Fatal error: require_once(): Failed opening required './/date_api_sql.inc' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/drupal/sites/all/modules/calendar/includes/calendar_plugin_style.inc on line 125
I knew the problem was related to Drupal Calendar module. I disabled the Calendar module by directly modifying a table called 'system' in the database and the Drupal site became live again. The lesson I learnt:
1. backup the whole site first before updating core and modules.
2. check the Apache log files in case irregularities happened.