While installing drupal theme, I encountered an error saying " We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone " . It also suggested me to change the demo_profile.profile file in the Drupal installation folder.
Error Cause : No timezone available in server system( it can be your personal PC on which Drupal site is hosted ).
Solution :
NOTE : This solution is for Drupal installation on a Linux platform.
If you enjoyed this post, make sure you subscribe to my RSS feed! Comments are encouraged
Error Cause : No timezone available in server system( it can be your personal PC on which Drupal site is hosted ).
Solution :
- Open /etc/php5/apache2/php.ini in a text editor like gedit.
- Search for the line " date.timezone ". # Mostly it will be in commented state
- Change it to " date.timezone =
Your Zone" For ex: date.timezone = Asia/Kolkata - If you are unsure about what to put in place of time zone, goto this link. Search for the region and copy paste the relevant.
- If you are on a hosting server, please ask your administrator to do this for you.
NOTE : This solution is for Drupal installation on a Linux platform.
If you enjoyed this post, make sure you subscribe to my RSS feed! Comments are encouraged
No comments:
Write comments